ottensheim-boats #224
@ -52,9 +52,9 @@ test('Cox can start and finish trip', async ({ page }) => {
|
|||||||
|
|
||||||
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.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' }).click();
|
||||||
await page.getByRole('combobox', { name: 'Destination' }).fill('Ottensheim');
|
await page.getByRole('combobox', { name: 'Destination' }).fill('Ottensheim');
|
||||||
await page.waitForTimeout(120000);
|
|
||||||
await page.getByRole('button', { name: 'Ausfahrt beenden' }).click();
|
await page.getByRole('button', { name: 'Ausfahrt beenden' }).click();
|
||||||
await expect(page.locator('body')).toContainText('Ausfahrt korrekt eingetragen');
|
await expect(page.locator('body')).toContainText('Ausfahrt korrekt eingetragen');
|
||||||
});
|
});
|
||||||
|
Loading…
Reference in New Issue
Block a user