Skip to content

Commit

Permalink
fix: added timeout
Browse files Browse the repository at this point in the history
  • Loading branch information
Toto-hitori committed May 5, 2024
1 parent 5ae916e commit 0386a25
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ defineFeature(feature, test => {
});

and("the user presses the button for seeing the about section (i)", async () => {
await new Promise(resolve => setTimeout(resolve, 5000)); // Waiting for page to fully load
await expect(page).toClick("#aboutButton");
});

Expand Down

0 comments on commit 0386a25

Please sign in to comment.