Skip to content

Commit

Permalink
test: solved small bug with credentials being declared twice and miss…
Browse files Browse the repository at this point in the history
…ing configuration
  • Loading branch information
GOLASOOO committed May 4, 2024
1 parent 3573df0 commit f96a5de
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions webapp/e2e/steps/playing_full_game_positive.steps.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ defineFeature(feature, test => {
beforeAll(async () => {
browser = process.env.GITHUB_ACTIONS
? await puppeteer.launch()
: await puppeteer.launch({ headless: false, slowMo: 100 });
: await puppeteer.launch({ headless: false, slowMo: 100, ignoreHTTPSErrors: true });
page = await browser.newPage();
//Way of setting up the timeout
setDefaultOptions({ timeout: 10000 })
Expand All @@ -34,9 +34,6 @@ defineFeature(feature, test => {
test("A logged user wants to play an entire game (Kiwi Quest gamemode)", ({given,when,and,then}) => {

given('A logged user in the main menu', async () => {
let email = username + "@email.com"
let password = username + "psw"

// Registering process
await expect(page).toClick("span[class='chakra-link css-1bicqx'");
await expect(page).toFill("input[id='user'", email);
Expand Down

0 comments on commit f96a5de

Please sign in to comment.