Skip to content

Commit

Permalink
Merge branch 'e2e-fixes' of https://github.com/Arquisoft/wiq_es1a int…
Browse files Browse the repository at this point in the history
…o e2e-fixes
  • Loading branch information
CANCI0 committed Apr 26, 2024
2 parents 70e0063 + ec5b8a0 commit 3a5122c
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions webapp/e2e/steps/play-battery.steps.js
Original file line number Diff line number Diff line change
Expand Up @@ -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) => {
Expand Down

0 comments on commit 3a5122c

Please sign in to comment.