fix tests
This commit is contained in:
parent
554242b65c
commit
92518642d4
@ -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();
|
||||||
|
Loading…
Reference in New Issue
Block a user