Skip to content

Commit

Permalink
Increasing the timeouts
Browse files Browse the repository at this point in the history
  • Loading branch information
augustocristian committed Apr 30, 2024
1 parent 1e3f5e5 commit 0a28ace
Show file tree
Hide file tree
Showing 6 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion webapp/e2e/steps/basicButtons-form.steps.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ defineFeature(feature, test => {
: await puppeteer.launch({ headless: false, slowMo: 20 });
page = await browser.newPage();
//Way of setting up the timeout
setDefaultOptions({ timeout: 10000 })
setDefaultOptions({ timeout: 40000 })

await page
.goto("http://localhost:3000/addUser", {
Expand Down
2 changes: 1 addition & 1 deletion webapp/e2e/steps/dailyQuestionMode-form.steps.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ defineFeature(feature, test => {
: await puppeteer.launch({ headless: false, slowMo: 20 });
page = await browser.newPage();
//Way of setting up the timeout
setDefaultOptions({ timeout: 10000 })
setDefaultOptions({ timeout: 40000 })

await page
.goto("http://localhost:3000/addUser", {
Expand Down
2 changes: 1 addition & 1 deletion webapp/e2e/steps/gameBasicMode-form.steps.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ defineFeature(feature, test => {
: await puppeteer.launch({ headless: false, slowMo: 20 });
page = await browser.newPage();
//Way of setting up the timeout
setDefaultOptions({ timeout: 10000 })
setDefaultOptions({ timeout: 40000 })

await page
.goto("http://localhost:3000/addUser", {
Expand Down
2 changes: 1 addition & 1 deletion webapp/e2e/steps/login-form.steps.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ defineFeature(feature, test => {
: await puppeteer.launch({ headless: false, slowMo: 50 });
page = await browser.newPage();
//Way of setting up the timeout
setDefaultOptions({ timeout: 10000 })
setDefaultOptions({ timeout: 40000 })

await page
.goto("http://localhost:3000/login", {
Expand Down
4 changes: 2 additions & 2 deletions webapp/e2e/steps/multiplayerMode-form.steps.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,14 +18,14 @@ defineFeature(feature, test => {
: await puppeteer.launch({ headless: false, slowMo: 20 });
pageHost = await browserHost.newPage();
//Way of setting up the timeout
setDefaultOptions({ timeout: 10000 })
setDefaultOptions({ timeout: 40000 })

browserUser = process.env.GITHUB_ACTIONS
? await puppeteer.launch()
: await puppeteer.launch({ headless: false, slowMo: 20 });
pageUser = await browserUser.newPage();
//Way of setting up the timeout
setDefaultOptions({ timeout: 10000 })
setDefaultOptions({ timeout: 40000 })

await pageHost
.goto("http://localhost:3000/addUser", {
Expand Down
2 changes: 1 addition & 1 deletion webapp/e2e/steps/register-form.steps.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ defineFeature(feature, test => {
: await puppeteer.launch({ headless: false, slowMo: 20 });
page = await browser.newPage();
//Way of setting up the timeout
setDefaultOptions({ timeout: 10000 })
setDefaultOptions({ timeout: 40000 })

await page
.goto("http://localhost:3000/login", {
Expand Down

0 comments on commit 0a28ace

Please sign in to comment.