|
|
@@ -115,7 +115,7 @@ test("Cox can start and finish trip", async ({ page }, testInfo) => {
|
|
|
|
await page.getByPlaceholder("Passwort").press("Enter");
|
|
|
|
await page.getByPlaceholder("Passwort").press("Enter");
|
|
|
|
|
|
|
|
|
|
|
|
await page.goto("/log/show");
|
|
|
|
await page.goto("/log/show");
|
|
|
|
await page.getByText('(cox2)').click();
|
|
|
|
await page.getByRole('link', { name: 'Joe' }).nth(1).click();
|
|
|
|
page.once("dialog", (dialog) => {
|
|
|
|
page.once("dialog", (dialog) => {
|
|
|
|
dialog.accept().catch(() => {});
|
|
|
|
dialog.accept().catch(() => {});
|
|
|
|
});
|
|
|
|
});
|
|
|
@@ -208,7 +208,6 @@ test("Kiosk can start and finish trip", async ({ page }, testInfo) => {
|
|
|
|
|
|
|
|
|
|
|
|
await page.getByRole('link', { name: 'Logbuch' }).click();
|
|
|
|
await page.getByRole('link', { name: 'Logbuch' }).click();
|
|
|
|
await expect(page.locator('body')).toContainText('Joe');
|
|
|
|
await expect(page.locator('body')).toContainText('Joe');
|
|
|
|
await expect(page.locator('body')).toContainText('(cox2)');
|
|
|
|
|
|
|
|
await expect(page.locator('body')).toContainText('Ottensheim (25 km)');
|
|
|
|
await expect(page.locator('body')).toContainText('Ottensheim (25 km)');
|
|
|
|
await expect(page.locator('body')).toContainText('Ruderer: cox2, rower2');
|
|
|
|
await expect(page.locator('body')).toContainText('Ruderer: cox2, rower2');
|
|
|
|
|
|
|
|
|
|
|
@@ -286,7 +285,6 @@ test("Cox can start and finish trip with cox steering only", async ({ page }, te
|
|
|
|
|
|
|
|
|
|
|
|
await page.goto('/log/show');
|
|
|
|
await page.goto('/log/show');
|
|
|
|
await expect(page.locator('body')).toContainText('cox_only_steering_boat');
|
|
|
|
await expect(page.locator('body')).toContainText('cox_only_steering_boat');
|
|
|
|
await expect(page.locator('body')).toContainText('(cox2 - handgesteuert)');
|
|
|
|
|
|
|
|
await expect(page.locator('body')).toContainText('Ottensheim (25 km)');
|
|
|
|
await expect(page.locator('body')).toContainText('Ottensheim (25 km)');
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|