Skip to content

Commit fc1d5bd

Browse files
committed
Added a small delay to allow the page elements to re-sort
1 parent 536693f commit fc1d5bd

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/test/java/com/serenitydojo/playwright/toolshop/catalog/pageobjects/SearchComponent.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,5 +33,6 @@ public void sortBy(String sortFilter) {
3333
page.waitForResponse("**/products?sort=**", () -> {
3434
page.getByTestId("sort").selectOption(sortFilter);
3535
});
36+
page.waitForTimeout(250);
3637
}
3738
}

0 commit comments

Comments
 (0)