From bcd421a62fc7e0c2434907d0cb65fa3b663909d5 Mon Sep 17 00:00:00 2001 From: web-padawan Date: Mon, 15 Apr 2024 16:24:04 +0300 Subject: [PATCH] test: add labels to checkboxes in validation test pages --- .../checkbox/tests/validation/CheckboxBasicValidationPage.java | 2 +- .../checkbox/tests/validation/CheckboxBinderValidationPage.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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"); } }