Skip to content

Commit

Permalink
Arreglados los tests e2e
Browse files Browse the repository at this point in the history
  • Loading branch information
CANCI0 committed Apr 2, 2024
1 parent 7e456d2 commit 97f0661
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion webapp/e2e/steps/register-form.steps.js
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ defineFeature(feature, (test) => {
});

then("A confirmation message should be shown in the screen", async () => {
//await page.waitForNavigation({ waitUntil: "networkidle0" });
await page.waitForTimeout(1000);
const url = page.url();
expect(url).toContain("/home");
browser.close();
Expand Down
2 changes: 1 addition & 1 deletion webapp/e2e/test-environment-setup.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ async function startServer() {
const mongoUri = mongoserver.getUri();
process.env.MONGODB_URI = mongoUri;
userservice = await require("../../users/userservice/user-service");
statsservice = await require("../../stats/stats-service");
statsservice = await require("../../statsservice/stats-service");
authservice = await require("../../users/authservice/auth-service");
gatewayservice = await require("../../gatewayservice/gateway-service");
}
Expand Down

0 comments on commit 97f0661

Please sign in to comment.