File tree Expand file tree Collapse file tree 2 files changed +3
-1
lines changed
src/test/java/com/serenitydojo/playwright/toolshop/catalog/pageobjects Expand file tree Collapse file tree 2 files changed +3
-1
lines changed Original file line number Diff line number Diff line change 3232 <dependency >
3333 <groupId >com.microsoft.playwright</groupId >
3434 <artifactId >playwright</artifactId >
35- <version >1.48 .0</version >
35+ <version >1.57 .0</version >
3636 <scope >test</scope >
3737 </dependency >
3838 <dependency >
Original file line number Diff line number Diff line change @@ -17,12 +17,14 @@ public void searchBy(String keyword) {
1717 page .getByPlaceholder ("Search" ).fill (keyword );
1818 page .getByRole (AriaRole .BUTTON , new Page .GetByRoleOptions ().setName ("Search" )).click ();
1919 });
20+ page .waitForTimeout (250 );
2021 }
2122
2223 @ Step ("Clear the search criteria" )
2324 public void clearSearch () {
2425 page .waitForResponse ("**/products**" , () -> {
2526 page .getByTestId ("search-reset" ).click ();
2627 });
28+ page .waitForTimeout (250 );
2729 }
2830}
You can’t perform that action at this time.
0 commit comments