Skip to content

Commit

Permalink
test: update filter_results_page.js
Browse files Browse the repository at this point in the history
  • Loading branch information
Chris Kouvaras committed Apr 2, 2024
1 parent 1c28a11 commit 0dd928d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tests/filter_results_page.js
Original file line number Diff line number Diff line change
Expand Up @@ -199,10 +199,12 @@ class FilterResults {
await this.page.mouse.down(); // click down left mouse button and hold
await this.page.mouse.move(startFromX + offsetFromX, startFromY); // drag to the given offset
await this.page.mouse.up(); // release mouse button
await this.page.waitForTimeout(3000);

await this.page.mouse.move(startToX, startToY);
await this.page.mouse.down();
await this.page.mouse.move(startToX + offsetToX, startToY);
await this.page.waitForTimeout(3000);
await this.page.mouse.up();

// Waiting for the response containing filtered flights by price
Expand Down

0 comments on commit 0dd928d

Please sign in to comment.