File tree Expand file tree Collapse file tree 2 files changed +5
-3
lines changed
src/test/java/com/serenitydojo/playwright/toolshop/catalog/pageobjects Expand file tree Collapse file tree 2 files changed +5
-3
lines changed Original file line number Diff line number Diff line change 1818 <dependency >
1919 <groupId >com.microsoft.playwright</groupId >
2020 <artifactId >playwright</artifactId >
21- <version >1.48 .0</version >
21+ <version >1.57 .0</version >
2222 <scope >test</scope >
2323 </dependency >
2424 <dependency >
2525 <groupId >org.junit.jupiter</groupId >
2626 <artifactId >junit-jupiter</artifactId >
27- <version >5.11 .1</version >
27+ <version >6.0 .1</version >
2828 <scope >test</scope >
2929 </dependency >
3030 <dependency >
3131 <groupId >org.assertj</groupId >
3232 <artifactId >assertj-core</artifactId >
33- <version >3.26.3 </version >
33+ <version >3.27.6 </version >
3434 </dependency >
3535 <dependency >
3636 <groupId >com.deque.html.axe-core</groupId >
Original file line number Diff line number Diff line change @@ -15,11 +15,13 @@ public void searchBy(String keyword) {
1515 page .getByPlaceholder ("Search" ).fill (keyword );
1616 page .getByRole (AriaRole .BUTTON , new Page .GetByRoleOptions ().setName ("Search" )).click ();
1717 });
18+ page .waitForTimeout (250 );
1819 }
1920
2021 public void clearSearch () {
2122 page .waitForResponse ("**/products**" , () -> {
2223 page .getByTestId ("search-reset" ).click ();
2324 });
25+ page .waitForTimeout (250 );
2426 }
2527}
You can’t perform that action at this time.
0 commit comments