From ee17bc2ab30d7f448f2150800a1e174d0489c00d Mon Sep 17 00:00:00 2001 From: philipp Date: Mon, 4 Mar 2024 14:08:46 +0100 Subject: [PATCH] fix tests --- frontend/tests/log.spec.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/frontend/tests/log.spec.ts b/frontend/tests/log.spec.ts index ca9057c..3e491af 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: 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: rower2'); + await expect(page.locator('body')).toContainText('Ruderer: cox2 , rower2'); });