From c52c65f5dbdebbd9905b4c6226392398e907a9a4 Mon Sep 17 00:00:00 2001 From: "Dario G. Mori" Date: Sun, 5 May 2024 10:31:03 +0200 Subject: [PATCH] test: removed go to dashboard --- webapp/e2e/jest.config.js | 2 +- webapp/e2e/steps/playing_full_game_positive.steps.js | 5 ----- 2 files changed, 1 insertion(+), 6 deletions(-) diff --git a/webapp/e2e/jest.config.js b/webapp/e2e/jest.config.js index 6de0bd2a..94f378ea 100644 --- a/webapp/e2e/jest.config.js +++ b/webapp/e2e/jest.config.js @@ -1,5 +1,5 @@ module.exports = { - testMatch: ["**/playing_full_game_pos*.steps.js"], + testMatch: ["**/playing_full_game_pos*.steps.js","**/about.steps.js","**/login_positive.steps.js"], moduleFileExtensions: ["ts", "tsx", "js", "jsx", "json", "node"], testTimeout: 30000 } \ No newline at end of file diff --git a/webapp/e2e/steps/playing_full_game_positive.steps.js b/webapp/e2e/steps/playing_full_game_positive.steps.js index 06801678..b1d8be40 100644 --- a/webapp/e2e/steps/playing_full_game_positive.steps.js +++ b/webapp/e2e/steps/playing_full_game_positive.steps.js @@ -44,11 +44,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 () => { - await page - .goto("http://localhost:3000/dashboard", { - waitUntil: "networkidle0", - }) - .catch(() => {}); await new Promise(resolve => setTimeout(resolve, 6000)); // Checking user is in main screen