Skip to content

Commit

Permalink
test: added https error thing
Browse files Browse the repository at this point in the history
  • Loading branch information
Toto-hitori committed May 5, 2024
1 parent cfecf06 commit 465628f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions webapp/e2e/steps/playing_full_game_positive.steps.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ defineFeature(feature, test => {

beforeAll(async () => {
browser = process.env.GITHUB_ACTIONS
? await puppeteer.launch()
? await puppeteer.launch({ ignoreHTTPSErrors: true})
: await puppeteer.launch({ headless: false, slowMo: 100, ignoreHTTPSErrors: true });
page = await browser.newPage();
//Way of setting up the timeout
Expand Down Expand Up @@ -56,8 +56,8 @@ defineFeature(feature, test => {

});

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

Expand Down

0 comments on commit 465628f

Please sign in to comment.