diff --git a/frontend/tests/cox.spec.ts b/frontend/tests/cox.spec.ts index c66783f..54f8f1f 100644 --- a/frontend/tests/cox.spec.ts +++ b/frontend/tests/cox.spec.ts @@ -15,7 +15,7 @@ test("cox can create and delete trip", async ({ page }) => { await page.locator("#sidebar #planned_starting_time").press("Tab"); await page.getByRole("spinbutton").fill("5"); await page.getByRole("button", { name: "Erstellen", exact: true }).click(); - await expect(page.locator("body")).toContainText("18:00 Uhr (cox ) Details"); + await expect(page.locator("body")).toContainText("18:00 Uhr (cox) Details"); await page.goto("http://localhost:8000/planned"); await page.getByRole("link", { name: "Details" }).click(); diff --git a/frontend/tests/log.spec.ts b/frontend/tests/log.spec.ts index 3e491af..221d26a 100644 --- a/frontend/tests/log.spec.ts +++ b/frontend/tests/log.spec.ts @@ -87,7 +87,7 @@ test("Cox can start and finish trip", async ({ page }, testInfo) => { await expect(page.locator('body')).toContainText('Joe'); await expect(page.locator('body')).toContainText('(cox2 )'); await expect(page.locator('body')).toContainText('Ottensheim (25 km)'); - await expect(page.locator('body')).toContainText('Ruderer: cox2 , rower2'); + await expect(page.locator('body')).toContainText('Ruderer: cox2, rower2'); }); test("Kiosk can start and cancel trip", async ({ page }, testInfo) => { @@ -162,5 +162,5 @@ test("Kiosk can start and finish trip", async ({ page }, testInfo) => { await expect(page.locator('body')).toContainText('Joe'); await expect(page.locator('body')).toContainText('(cox2 )'); await expect(page.locator('body')).toContainText('Ottensheim (25 km)'); - await expect(page.locator('body')).toContainText('Ruderer: cox2 , rower2'); + await expect(page.locator('body')).toContainText('Ruderer: cox2, rower2'); }); diff --git a/templates/includes/forms/log.html.tera b/templates/includes/forms/log.html.tera index 7206bbc..d8fbddf 100644 --- a/templates/includes/forms/log.html.tera +++ b/templates/includes/forms/log.html.tera @@ -180,8 +180,8 @@ {% endif %}