forked from Ruderverein-Donau-Linz/rowt
		
	fix tests by clicking on boat name instead of cox
This commit is contained in:
		| @@ -224,7 +224,7 @@ test("Kiosk can start and finish trip", async ({ page }, testInfo) => { | ||||
|   await page.getByPlaceholder("Passwort").press("Enter"); | ||||
|  | ||||
|   await page.goto("/log/show"); | ||||
|   await page.getByText('(cox2)').click(); | ||||
|   await page.getByRole('link', { name: 'Joe' }).nth(1).click(); | ||||
|   page.once("dialog", (dialog) => { | ||||
|     dialog.accept().catch(() => {}); | ||||
|   }); | ||||
| @@ -300,7 +300,7 @@ test("Cox can start and finish trip with cox steering only", async ({ page }, te | ||||
|   await page.getByPlaceholder("Passwort").press("Enter"); | ||||
|  | ||||
|   await page.goto("/log/show"); | ||||
|   await page.getByText('(cox2 - handgesteuert)').click(); | ||||
|   await page.getByRole("link", { name: "cox_only_steering_boat" }).click(); | ||||
|   page.once("dialog", (dialog) => { | ||||
|     dialog.accept().catch(() => {}); | ||||
|   }); | ||||
| @@ -369,7 +369,7 @@ test("Kiosk can start and finish trip in one stop", async ({ page }, testInfo) = | ||||
|   await page.getByPlaceholder("Passwort").press("Enter"); | ||||
|  | ||||
|   await page.goto("/log/show"); | ||||
|   await page.getByText('(cox2)').click(); | ||||
|   await page.getByRole('link', { name: 'Joe' }).nth(1).click(); | ||||
|   page.once("dialog", (dialog) => { | ||||
|     dialog.accept().catch(() => {}); | ||||
|   }); | ||||
|   | ||||
		Reference in New Issue
	
	Block a user