Skip to content

Commit

Permalink
test: refactor Details IT to use AbstractComponentIT (#6801)
Browse files Browse the repository at this point in the history
  • Loading branch information
web-padawan authored Nov 8, 2024
1 parent 2ad5ba8 commit df0f360
Showing 1 changed file with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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<DetailsElement> 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());
Expand Down

0 comments on commit df0f360

Please sign in to comment.