fix tests
Some checks failed
CI/CD Pipeline / test (push) Failing after 27m33s
CI/CD Pipeline / deploy-staging (push) Has been skipped
CI/CD Pipeline / deploy-main (push) Has been skipped

This commit is contained in:
philipp 2024-03-04 08:25:57 +01:00
parent 554242b65c
commit 92518642d4

View File

@ -51,8 +51,8 @@ test('Cox can start and finish trip', async ({ page }) => {
await expect(page.locator('body')).toContainText('Joe'); await expect(page.locator('body')).toContainText('Joe');
await page.goto('http://localhost:8000/log'); await page.goto('http://localhost:8000/log');
await page.locator('div:nth-child(2) > .border-0').click();
await page.waitForTimeout(60000); 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' }).click();
await page.getByRole('combobox', { name: 'Destination' }).fill('Ottensheim'); await page.getByRole('combobox', { name: 'Destination' }).fill('Ottensheim');
await page.getByRole('button', { name: 'Ausfahrt beenden' }).click(); await page.getByRole('button', { name: 'Ausfahrt beenden' }).click();