Skip to content

Commit

Permalink
test: increase timeout
Browse files Browse the repository at this point in the history
  • Loading branch information
manolo committed Nov 12, 2020
1 parent fb85686 commit 6c16cce
Showing 1 changed file with 8 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -15,16 +15,16 @@
*/
package com.vaadin.flow.component.treegrid.it;

import com.vaadin.flow.component.grid.testbench.GridElement;
import com.vaadin.flow.component.grid.testbench.TreeGridElement;
import com.vaadin.tests.AbstractComponentIT;
import com.vaadin.flow.testutil.TestPath;
import java.util.List;

import org.junit.Assert;
import org.junit.Test;
import org.openqa.selenium.By;
import org.openqa.selenium.WebElement;

import java.util.List;
import com.vaadin.flow.component.grid.testbench.TreeGridElement;
import com.vaadin.flow.testutil.TestPath;
import com.vaadin.tests.AbstractComponentIT;

@TestPath("vaadin-grid/treegrid-details-row")
public class TreeGridDetailsRowIT extends AbstractComponentIT {
Expand Down Expand Up @@ -58,7 +58,7 @@ public void gridChildItemDetailsDisplayedWhenClicked() {
clickElementWithJs(getRow(treegrid, 2).findElement(By.tagName("td")));

waitUntil(driver -> treegrid
.findElements(By.tagName("flow-component-renderer")).size() == 2,1);
.findElements(By.tagName("flow-component-renderer")).size() == 2, 3);

List<WebElement> detailsElement = treegrid
.findElements(By.tagName("flow-component-renderer"));
Expand All @@ -83,7 +83,7 @@ public void gridChildItemDetailsDisplayedAfterCollapseWhenClicked() {
clickElementWithJs(getRow(treegrid, 2).findElement(By.tagName("td")));

waitUntil(driver -> treegrid
.findElements(By.tagName("flow-component-renderer")).size() == 2,1);
.findElements(By.tagName("flow-component-renderer")).size() == 2, 3);

List<WebElement> detailsElement = treegrid
.findElements(By.tagName("flow-component-renderer"));
Expand All @@ -109,7 +109,7 @@ public void gridChildItemDetailsDisplayedAfterCollapse2WhenClicked() {
clickElementWithJs(getRow(treegrid, 2).findElement(By.tagName("td")));

waitUntil(driver -> treegrid
.findElements(By.tagName("flow-component-renderer")).size() == 2,1);
.findElements(By.tagName("flow-component-renderer")).size() == 2, 3);

List<WebElement> detailsElement = treegrid
.findElements(By.tagName("flow-component-renderer"));
Expand Down

0 comments on commit 6c16cce

Please sign in to comment.