From 7e2fc0eb9c3de8420143ee1991b76f5fb521bac3 Mon Sep 17 00:00:00 2001 From: iyanfdezz Date: Fri, 26 Apr 2024 17:40:53 +0200 Subject: [PATCH] Prueba --- webapp/e2e/steps/play-battery.steps.js | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/webapp/e2e/steps/play-battery.steps.js b/webapp/e2e/steps/play-battery.steps.js index 1a4eb533..b81d9886 100644 --- a/webapp/e2e/steps/play-battery.steps.js +++ b/webapp/e2e/steps/play-battery.steps.js @@ -18,16 +18,12 @@ defineFeature(feature, (test) => { await page.goto("http://localhost:3000", { waitUntil: "networkidle0", - }); + }).catch(() => {}); await page.evaluate(() => { localStorage.setItem("username","testuser"); localStorage.setItem("token","abcdefg"); }); - - await page.goto("http://localhost:3000/home/bateria", { - waitUntil: "networkidle0", - }); await page.setRequestInterception(true); page.on('request', (req) => {