if user is logged in, use that user as default rower
This commit is contained in:
@ -18,6 +18,7 @@ test("Cox can start and cancel trip", async ({ page }, testInfo) => {
|
||||
await page.getByText('2x', { exact: true }).click();
|
||||
await page.getByText("Joe", { exact: true }).click();
|
||||
}
|
||||
await page.getByLabel('Remove item: \'6\'').click(); // remove pre-filled cox2
|
||||
await page.getByPlaceholder("Ruderer auswählen").click();
|
||||
await page.getByRole("option", { name: "rower2" }).click();
|
||||
await page.getByRole("option", { name: "cox2" }).click();
|
||||
@ -59,6 +60,7 @@ test("Cox can start and finish trip", async ({ page }, testInfo) => {
|
||||
await page.getByText('2x', { exact: true }).click();
|
||||
await page.getByText("Joe", { exact: true }).click();
|
||||
}
|
||||
await page.getByLabel('Remove item: \'6\'').click(); // remove pre-filled cox2
|
||||
await page.getByPlaceholder("Ruderer auswählen").click();
|
||||
await page.getByRole("option", { name: "rower2" }).click();
|
||||
await page.getByRole("option", { name: "cox2" }).click();
|
||||
|
Reference in New Issue
Block a user