From 92518642d4437e7ea038eb4d083c3e56bddf7389 Mon Sep 17 00:00:00 2001 From: philipp Date: Mon, 4 Mar 2024 08:25:57 +0100 Subject: [PATCH] fix tests --- frontend/tests/log.spec.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/tests/log.spec.ts b/frontend/tests/log.spec.ts index 6643b03..27b011d 100644 --- a/frontend/tests/log.spec.ts +++ b/frontend/tests/log.spec.ts @@ -51,8 +51,8 @@ test('Cox can start and finish trip', async ({ page }) => { await expect(page.locator('body')).toContainText('Joe'); await page.goto('http://localhost:8000/log'); - await page.locator('div:nth-child(2) > .border-0').click(); await page.waitForTimeout(60000); + await page.locator('div:nth-child(2) > .border-0').click(); await page.getByRole('combobox', { name: 'Destination' }).click(); await page.getByRole('combobox', { name: 'Destination' }).fill('Ottensheim'); await page.getByRole('button', { name: 'Ausfahrt beenden' }).click();