From 0a28ace7215fd0d09209ab6a46d0e3bd348401db Mon Sep 17 00:00:00 2001 From: Augusto Date: Tue, 30 Apr 2024 21:02:32 +0200 Subject: [PATCH] Increasing the timeouts --- webapp/e2e/steps/basicButtons-form.steps.js | 2 +- webapp/e2e/steps/dailyQuestionMode-form.steps.js | 2 +- webapp/e2e/steps/gameBasicMode-form.steps.js | 2 +- webapp/e2e/steps/login-form.steps.js | 2 +- webapp/e2e/steps/multiplayerMode-form.steps.js | 4 ++-- webapp/e2e/steps/register-form.steps.js | 2 +- 6 files changed, 7 insertions(+), 7 deletions(-) diff --git a/webapp/e2e/steps/basicButtons-form.steps.js b/webapp/e2e/steps/basicButtons-form.steps.js index 255d65a..7dcd73d 100644 --- a/webapp/e2e/steps/basicButtons-form.steps.js +++ b/webapp/e2e/steps/basicButtons-form.steps.js @@ -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", { diff --git a/webapp/e2e/steps/dailyQuestionMode-form.steps.js b/webapp/e2e/steps/dailyQuestionMode-form.steps.js index dcc5909..818725e 100644 --- a/webapp/e2e/steps/dailyQuestionMode-form.steps.js +++ b/webapp/e2e/steps/dailyQuestionMode-form.steps.js @@ -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", { diff --git a/webapp/e2e/steps/gameBasicMode-form.steps.js b/webapp/e2e/steps/gameBasicMode-form.steps.js index 6f0b609..e535cd7 100644 --- a/webapp/e2e/steps/gameBasicMode-form.steps.js +++ b/webapp/e2e/steps/gameBasicMode-form.steps.js @@ -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", { diff --git a/webapp/e2e/steps/login-form.steps.js b/webapp/e2e/steps/login-form.steps.js index f37a60a..4ddc620 100644 --- a/webapp/e2e/steps/login-form.steps.js +++ b/webapp/e2e/steps/login-form.steps.js @@ -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", { diff --git a/webapp/e2e/steps/multiplayerMode-form.steps.js b/webapp/e2e/steps/multiplayerMode-form.steps.js index 7df0116..306efbd 100644 --- a/webapp/e2e/steps/multiplayerMode-form.steps.js +++ b/webapp/e2e/steps/multiplayerMode-form.steps.js @@ -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", { diff --git a/webapp/e2e/steps/register-form.steps.js b/webapp/e2e/steps/register-form.steps.js index 0c97345..bce5d1e 100644 --- a/webapp/e2e/steps/register-form.steps.js +++ b/webapp/e2e/steps/register-form.steps.js @@ -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", {