From 4eeb2162d88791bc0cec6018bdbb79f6a8c9760b Mon Sep 17 00:00:00 2001 From: philipp Date: Mon, 4 Mar 2024 14:28:19 +0100 Subject: [PATCH] fix spacing issues --- 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 221d26a..b5f0645 100644 --- a/frontend/tests/log.spec.ts +++ b/frontend/tests/log.spec.ts @@ -85,7 +85,7 @@ test("Cox can start and finish trip", async ({ page }, testInfo) => { await page.goto('http://localhost:8000/log/show'); await expect(page.locator('body')).toContainText('Joe'); - await expect(page.locator('body')).toContainText('(cox2 )'); + 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'); }); @@ -160,7 +160,7 @@ test("Kiosk can start and finish trip", async ({ page }, testInfo) => { await page.getByRole('link', { name: 'Logbuch' }).click(); await expect(page.locator('body')).toContainText('Joe'); - await expect(page.locator('body')).toContainText('(cox2 )'); + 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'); });