From 2debba381e286df779f19ac398699b1cc7a84571 Mon Sep 17 00:00:00 2001 From: philipp Date: Wed, 21 Aug 2024 16:47:35 +0200 Subject: [PATCH] user proper pw in tests... --- frontend/tests/log.spec.ts | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/frontend/tests/log.spec.ts b/frontend/tests/log.spec.ts index 802de5f..efa53f0 100644 --- a/frontend/tests/log.spec.ts +++ b/frontend/tests/log.spec.ts @@ -111,7 +111,7 @@ test("Cox can start and finish trip", async ({ page }, testInfo) => { await page.getByPlaceholder("Name").click(); await page.getByPlaceholder("Name").fill("main"); await page.getByPlaceholder("Name").press("Tab"); - await page.getByPlaceholder("Passwort").fill("rower"); + await page.getByPlaceholder("Passwort").fill("admin"); await page.getByPlaceholder("Passwort").press("Enter"); await page.goto("/log/show"); @@ -221,7 +221,7 @@ test("Kiosk can start and finish trip", async ({ page }, testInfo) => { await page.getByPlaceholder("Name").click(); await page.getByPlaceholder("Name").fill("main"); await page.getByPlaceholder("Name").press("Tab"); - await page.getByPlaceholder("Passwort").fill("rower"); + await page.getByPlaceholder("Passwort").fill("admin"); await page.getByPlaceholder("Passwort").press("Enter"); await page.goto("/log/show"); @@ -298,7 +298,7 @@ test("Cox can start and finish trip with cox steering only", async ({ page }, te await page.getByPlaceholder("Name").click(); await page.getByPlaceholder("Name").fill("main"); await page.getByPlaceholder("Name").press("Tab"); - await page.getByPlaceholder("Passwort").fill("rower"); + await page.getByPlaceholder("Passwort").fill("admin"); await page.getByPlaceholder("Passwort").press("Enter"); await page.goto("/log/show"); @@ -367,7 +367,7 @@ test("Kiosk can start and finish trip in one stop", async ({ page }, testInfo) = await page.getByPlaceholder("Name").click(); await page.getByPlaceholder("Name").fill("main"); await page.getByPlaceholder("Name").press("Tab"); - await page.getByPlaceholder("Passwort").fill("rower"); + await page.getByPlaceholder("Passwort").fill("admin"); await page.getByPlaceholder("Passwort").press("Enter"); await page.goto("/log/show");