Skip to content

Commit

Permalink
test: added waiting for components to load
Browse files Browse the repository at this point in the history
  • Loading branch information
Toto-hitori committed May 5, 2024
1 parent e679a7b commit a181858
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions webapp/e2e/steps/playing_full_game_positive.steps.js
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@ defineFeature(feature, test => {
});

when('Clicking the button to start a new game (Kiwi Quest gamemode)', async() => {
await new Promise(resolve => setTimeout(resolve, 6000));
await expect(page).toClick("button[data-testid='Mode-KIWI_QUEST'");
await expect(page).toClick("button[data-testid='Play']");
});
Expand Down

0 comments on commit a181858

Please sign in to comment.