Browse Source

TableSortIndicatorTest fix (#12469)

Stabilize the tests by ensuring that the loading indicator is no longer
present when the screenshot comparison is done.
tags/8.15.0
Anna Koskinen 2 years ago
parent
commit
9ccece7247
No account linked to committer's email address

BIN
uitest/reference-screenshots/chrome/TableSortIndicatorTest-ascendingIndicatorIsShown_ANY_Chrome__ascending.png View File


BIN
uitest/reference-screenshots/chrome/TableSortIndicatorTest-descendingIndicatorIsShown_ANY_Chrome__descending.png View File


+ 2
- 0
uitest/src/test/java/com/vaadin/tests/themes/valo/TableSortIndicatorTest.java View File

@@ -21,6 +21,7 @@ public class TableSortIndicatorTest extends MultiBrowserTest {

clickOnCellHeader();

waitUntilLoadingIndicatorNotVisible();
compareScreen("ascending");
}

@@ -32,6 +33,7 @@ public class TableSortIndicatorTest extends MultiBrowserTest {
clickOnCellHeader();
clickOnSortIndicator();

waitUntilLoadingIndicatorNotVisible();
compareScreen("descending");
}


Loading…
Cancel
Save