From 99e6f06eb27c935c3dfb30c22310147b3e7a4174 Mon Sep 17 00:00:00 2001 From: UO283216 <98907723+UO283216@users.noreply.github.com> Date: Tue, 2 May 2023 03:21:46 +0200 Subject: [PATCH] update tests e2e final --- webapp/e2e/steps/add-friend.steps.ts | 2 +- webapp/e2e/steps/menu.steps.ts | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/webapp/e2e/steps/add-friend.steps.ts b/webapp/e2e/steps/add-friend.steps.ts index 64a58ce..1d15ba2 100644 --- a/webapp/e2e/steps/add-friend.steps.ts +++ b/webapp/e2e/steps/add-friend.steps.ts @@ -36,7 +36,7 @@ defineFeature(feature, test => { await page.click('#login') await page.waitForNavigation(); // wait for the redirect - // await page.waitForTimeout(30000); // wait for 25 seconds (load locations??) + await page.waitForTimeout(15000); await expect(page).toClick("button", {text:"Close"}); await page.waitForTimeout(8000); diff --git a/webapp/e2e/steps/menu.steps.ts b/webapp/e2e/steps/menu.steps.ts index 0704b87..6d85939 100644 --- a/webapp/e2e/steps/menu.steps.ts +++ b/webapp/e2e/steps/menu.steps.ts @@ -36,6 +36,7 @@ defineFeature(feature, test => { await page.click('#login') await page.waitForNavigation(); // wait for the redirect + await page.waitForTimeout(15000); await expect(page).toClick("button", {text:"Close"}); await page.waitForTimeout(8000);