diff --git a/vaadin-checkbox-flow-parent/vaadin-checkbox-flow-integration-tests/src/main/java/com/vaadin/flow/component/checkbox/tests/validation/CheckboxBasicValidationPage.java b/vaadin-checkbox-flow-parent/vaadin-checkbox-flow-integration-tests/src/main/java/com/vaadin/flow/component/checkbox/tests/validation/CheckboxBasicValidationPage.java index 9e1dee30ea5..f88a6db4e19 100644 --- a/vaadin-checkbox-flow-parent/vaadin-checkbox-flow-integration-tests/src/main/java/com/vaadin/flow/component/checkbox/tests/validation/CheckboxBasicValidationPage.java +++ b/vaadin-checkbox-flow-parent/vaadin-checkbox-flow-integration-tests/src/main/java/com/vaadin/flow/component/checkbox/tests/validation/CheckboxBasicValidationPage.java @@ -17,7 +17,7 @@ public CheckboxBasicValidationPage() { @Override protected Checkbox createTestField() { - return new Checkbox() { + return new Checkbox("Checkbox") { @Override protected void validate() { super.validate(); diff --git a/vaadin-checkbox-flow-parent/vaadin-checkbox-flow-integration-tests/src/main/java/com/vaadin/flow/component/checkbox/tests/validation/CheckboxBinderValidationPage.java b/vaadin-checkbox-flow-parent/vaadin-checkbox-flow-integration-tests/src/main/java/com/vaadin/flow/component/checkbox/tests/validation/CheckboxBinderValidationPage.java index 96ea76b8bb0..dd70004ee4d 100644 --- a/vaadin-checkbox-flow-parent/vaadin-checkbox-flow-integration-tests/src/main/java/com/vaadin/flow/component/checkbox/tests/validation/CheckboxBinderValidationPage.java +++ b/vaadin-checkbox-flow-parent/vaadin-checkbox-flow-integration-tests/src/main/java/com/vaadin/flow/component/checkbox/tests/validation/CheckboxBinderValidationPage.java @@ -38,6 +38,6 @@ public CheckboxBinderValidationPage() { @Override protected Checkbox createTestField() { - return new Checkbox(); + return new Checkbox("Checkbox"); } }