fix seeds (again)
Some checks failed
CI/CD Pipeline / test (push) Failing after 17m48s
CI/CD Pipeline / deploy-staging (push) Has been skipped
CI/CD Pipeline / deploy-main (push) Has been skipped

This commit is contained in:
philipp 2024-08-19 16:29:50 +02:00
parent 5782a36b69
commit 54085f3f13
2 changed files with 8 additions and 9 deletions

View File

@ -109,9 +109,9 @@ test("Cox can start and finish trip", async ({ page }, testInfo) => {
await page.getByRole('link', { name: 'Ausloggen' }).click();
// Login as admin
await page.getByPlaceholder("Name").click();
await page.getByPlaceholder("Name").fill("admin");
await page.getByPlaceholder("Name").fill("Vorstandsmitglied");
await page.getByPlaceholder("Name").press("Tab");
await page.getByPlaceholder("Passwort").fill("admin");
await page.getByPlaceholder("Passwort").fill("rower");
await page.getByPlaceholder("Passwort").press("Enter");
await page.goto("/log/show");
@ -219,9 +219,9 @@ test("Kiosk can start and finish trip", async ({ page }, testInfo) => {
await page.goto("/auth");
// Login as admin
await page.getByPlaceholder("Name").click();
await page.getByPlaceholder("Name").fill("admin");
await page.getByPlaceholder("Name").fill("Vorstandsmitglied");
await page.getByPlaceholder("Name").press("Tab");
await page.getByPlaceholder("Passwort").fill("admin");
await page.getByPlaceholder("Passwort").fill("rower");
await page.getByPlaceholder("Passwort").press("Enter");
await page.goto("/log/show");
@ -296,9 +296,9 @@ test("Cox can start and finish trip with cox steering only", async ({ page }, te
await page.getByRole('link', { name: 'Ausloggen' }).click();
// Login as admin
await page.getByPlaceholder("Name").click();
await page.getByPlaceholder("Name").fill("admin");
await page.getByPlaceholder("Name").fill("Vorstandsmitglied");
await page.getByPlaceholder("Name").press("Tab");
await page.getByPlaceholder("Passwort").fill("admin");
await page.getByPlaceholder("Passwort").fill("rower");
await page.getByPlaceholder("Passwort").press("Enter");
await page.goto("/log/show");
@ -365,9 +365,9 @@ test("Kiosk can start and finish trip in one stop", async ({ page }, testInfo) =
await page.goto("/auth");
// Login as admin
await page.getByPlaceholder("Name").click();
await page.getByPlaceholder("Name").fill("admin");
await page.getByPlaceholder("Name").fill("Vorstandsmitglied");
await page.getByPlaceholder("Name").press("Tab");
await page.getByPlaceholder("Passwort").fill("admin");
await page.getByPlaceholder("Passwort").fill("rower");
await page.getByPlaceholder("Passwort").press("Enter");
await page.goto("/log/show");

View File

@ -16,7 +16,6 @@ INSERT INTO "user_role" (user_id, role_id) VALUES(1,1);
INSERT INTO "user_role" (user_id, role_id) VALUES(1,2);
INSERT INTO "user_role" (user_id, role_id) VALUES(1,5);
INSERT INTO "user_role" (user_id, role_id) VALUES(1,6);
INSERT INTO "user_role" (user_id, role_id) VALUES(1,9);
INSERT INTO "user" (name, pw) VALUES('rower', '$argon2id$v=19$m=19456,t=2,p=1$dS/X5/sPEKTj4Rzs/CuvzQ$jWKzDmI0jqT2dqINFt6/1NjVF4Dx15n07PL1ZMBmFsY');
INSERT INTO "user_role" (user_id, role_id) VALUES(2,5);
INSERT INTO "user" (name, pw) VALUES('guest', '$argon2id$v=19$m=19456,t=2,p=1$dS/X5/sPEKTj4Rzs/CuvzQ$GF6gizbI79Bh0zA9its8S0gram956v+YIV8w8VpwJnQ');