fix ci
This commit is contained in:
parent
6c2e0669d5
commit
349a9f843c
@ -15,6 +15,7 @@ test("Cox can start and cancel trip", async ({ page }, testInfo) => {
|
|||||||
await page.getByText("Kaputtes Boot :-( (7 x)").nth(1).click();
|
await page.getByText("Kaputtes Boot :-( (7 x)").nth(1).click();
|
||||||
await page.getByRole("option", { name: "Joe" }).click();
|
await page.getByRole("option", { name: "Joe" }).click();
|
||||||
} else {
|
} else {
|
||||||
|
await page.getByText('2x').click();
|
||||||
await page.getByText("Joe", { exact: true }).click();
|
await page.getByText("Joe", { exact: true }).click();
|
||||||
}
|
}
|
||||||
await page.getByPlaceholder("Ruderer auswählen").click();
|
await page.getByPlaceholder("Ruderer auswählen").click();
|
||||||
@ -31,6 +32,7 @@ test("Cox can start and cancel trip", async ({ page }, testInfo) => {
|
|||||||
await expect(page.locator("body")).toContainText(
|
await expect(page.locator("body")).toContainText(
|
||||||
"Ausfahrt erfolgreich hinzugefügt",
|
"Ausfahrt erfolgreich hinzugefügt",
|
||||||
);
|
);
|
||||||
|
await page.getByText('2x').click();
|
||||||
await expect(page.locator("body")).toContainText("Joe");
|
await expect(page.locator("body")).toContainText("Joe");
|
||||||
|
|
||||||
await page.getByRole("link", { name: "Joe" }).click();
|
await page.getByRole("link", { name: "Joe" }).click();
|
||||||
@ -55,6 +57,7 @@ test("Cox can start and finish trip", async ({ page }, testInfo) => {
|
|||||||
await page.getByText("Kaputtes Boot :-( (7 x)").nth(1).click();
|
await page.getByText("Kaputtes Boot :-( (7 x)").nth(1).click();
|
||||||
await page.getByRole("option", { name: "Joe" }).click();
|
await page.getByRole("option", { name: "Joe" }).click();
|
||||||
} else {
|
} else {
|
||||||
|
await page.getByText('2x').click();
|
||||||
await page.getByText("Joe", { exact: true }).click();
|
await page.getByText("Joe", { exact: true }).click();
|
||||||
}
|
}
|
||||||
await page.getByPlaceholder("Ruderer auswählen").click();
|
await page.getByPlaceholder("Ruderer auswählen").click();
|
||||||
@ -106,6 +109,7 @@ test("Kiosk can start and cancel trip", async ({ page }, testInfo) => {
|
|||||||
await page.getByText("Kaputtes Boot :-( (7 x)").nth(1).click();
|
await page.getByText("Kaputtes Boot :-( (7 x)").nth(1).click();
|
||||||
await page.getByRole("option", { name: "Joe" }).click();
|
await page.getByRole("option", { name: "Joe" }).click();
|
||||||
} else {
|
} else {
|
||||||
|
await page.getByText('2x').click();
|
||||||
await page.getByText("Joe", { exact: true }).click();
|
await page.getByText("Joe", { exact: true }).click();
|
||||||
}
|
}
|
||||||
await page.getByPlaceholder("Ruderer auswählen").click();
|
await page.getByPlaceholder("Ruderer auswählen").click();
|
||||||
@ -139,6 +143,7 @@ test("Kiosk can start and finish trip", async ({ page }, testInfo) => {
|
|||||||
await page.getByText("Kaputtes Boot :-( (7 x)").nth(1).click();
|
await page.getByText("Kaputtes Boot :-( (7 x)").nth(1).click();
|
||||||
await page.getByRole("option", { name: "Joe" }).click();
|
await page.getByRole("option", { name: "Joe" }).click();
|
||||||
} else {
|
} else {
|
||||||
|
await page.getByText('2x').click();
|
||||||
await page.getByText("Joe", { exact: true }).click();
|
await page.getByText("Joe", { exact: true }).click();
|
||||||
}
|
}
|
||||||
await page.getByPlaceholder("Ruderer auswählen").click();
|
await page.getByPlaceholder("Ruderer auswählen").click();
|
||||||
|
Loading…
Reference in New Issue
Block a user