fix tests
Some checks failed
CI/CD Pipeline / deploy-staging (push) Blocked by required conditions
CI/CD Pipeline / deploy-main (push) Blocked by required conditions
CI/CD Pipeline / test (push) Has been cancelled

This commit is contained in:
philipp 2024-03-04 08:19:51 +01:00
parent 87388ae18a
commit 554242b65c

View File

@ -52,9 +52,9 @@ test('Cox can start and finish trip', async ({ page }) => {
await page.goto('http://localhost:8000/log');
await page.locator('div:nth-child(2) > .border-0').click();
await page.waitForTimeout(60000);
await page.getByRole('combobox', { name: 'Destination' }).click();
await page.getByRole('combobox', { name: 'Destination' }).fill('Ottensheim');
await page.waitForTimeout(120000);
await page.getByRole('button', { name: 'Ausfahrt beenden' }).click();
await expect(page.locator('body')).toContainText('Ausfahrt korrekt eingetragen');
});