diff --git a/webapp/e2e/steps/register-form.steps.js b/webapp/e2e/steps/register-form.steps.js index c386d99a..04c92ecb 100644 --- a/webapp/e2e/steps/register-form.steps.js +++ b/webapp/e2e/steps/register-form.steps.js @@ -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(); diff --git a/webapp/e2e/test-environment-setup.js b/webapp/e2e/test-environment-setup.js index f838afb8..4120d25c 100644 --- a/webapp/e2e/test-environment-setup.js +++ b/webapp/e2e/test-environment-setup.js @@ -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"); }