From df0f3603fe6326b68ddb77d04dbbdc05017bda95 Mon Sep 17 00:00:00 2001 From: Serhii Kulykov Date: Fri, 8 Nov 2024 14:58:02 +0200 Subject: [PATCH] test: refactor Details IT to use AbstractComponentIT (#6801) --- .../vaadin/flow/component/details/tests/BasicIT.java | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/vaadin-details-flow-parent/vaadin-details-flow-integration-tests/src/test/java/com/vaadin/flow/component/details/tests/BasicIT.java b/vaadin-details-flow-parent/vaadin-details-flow-integration-tests/src/test/java/com/vaadin/flow/component/details/tests/BasicIT.java index e9b6c22cb68..6430c3ced5f 100644 --- a/vaadin-details-flow-parent/vaadin-details-flow-integration-tests/src/test/java/com/vaadin/flow/component/details/tests/BasicIT.java +++ b/vaadin-details-flow-parent/vaadin-details-flow-integration-tests/src/test/java/com/vaadin/flow/component/details/tests/BasicIT.java @@ -26,17 +26,17 @@ import com.vaadin.flow.component.details.DetailsVariant; import com.vaadin.flow.component.details.testbench.DetailsElement; -import com.vaadin.tests.AbstractParallelTest; +import com.vaadin.flow.testutil.TestPath; +import com.vaadin.tests.AbstractComponentIT; -public class BasicIT extends AbstractParallelTest { +@TestPath("vaadin-details") +public class BasicIT extends AbstractComponentIT { private List detailsElements; @Before public void init() { - String url = getBaseURL().replace(super.getBaseURL(), - super.getBaseURL() + "/vaadin-details"); - getDriver().get(url); + open(); detailsElements = $(DetailsElement.class).all(); Assert.assertEquals(3, detailsElements.size());