fix ci
All checks were successful
CI/CD Pipeline / test (push) Successful in 8m20s
CI/CD Pipeline / deploy-staging (push) Has been skipped
CI/CD Pipeline / deploy-main (push) Has been skipped

This commit is contained in:
philipp 2024-04-24 15:32:33 +02:00
parent 0560ed7a6a
commit 8e03c935a5

View File

@ -12,7 +12,7 @@ test("Cox can start and cancel trip", async ({ page }, testInfo) => {
await page.getByRole("link", { name: "Ausfahrt eintragen" }).click(); await page.getByRole("link", { name: "Ausfahrt eintragen" }).click();
if (testInfo.project.name.includes("Mobile")) { if (testInfo.project.name.includes("Mobile")) {
// No left boat selector on mobile views // No left boat selector on mobile views
await page.getByText("Kaputtes Boot :-( (7 x)").nth(1).click(); await page.getByText("Kaputtes Boot :-( (7x)").nth(1).click();
await page.getByRole("option", { name: "Joe" }).click(); await page.getByRole("option", { name: "Joe" }).click();
} else { } else {
await page.getByText('2x', { exact: true }).click(); await page.getByText('2x', { exact: true }).click();
@ -53,7 +53,7 @@ test("Cox can start and finish trip", async ({ page }, testInfo) => {
await page.getByRole("link", { name: "Ausfahrt eintragen" }).click(); await page.getByRole("link", { name: "Ausfahrt eintragen" }).click();
if (testInfo.project.name.includes("Mobile")) { if (testInfo.project.name.includes("Mobile")) {
// No left boat selector on mobile views // No left boat selector on mobile views
await page.getByText("Kaputtes Boot :-( (7 x)").nth(1).click(); await page.getByText("Kaputtes Boot :-( (7x)").nth(1).click();
await page.getByRole("option", { name: "Joe" }).click(); await page.getByRole("option", { name: "Joe" }).click();
} else { } else {
await page.getByText('2x', { exact: true }).click(); await page.getByText('2x', { exact: true }).click();
@ -105,7 +105,7 @@ test("Kiosk can start and cancel trip", async ({ page }, testInfo) => {
await page.goto("/log/kiosk/ekrv2019/Linz"); await page.goto("/log/kiosk/ekrv2019/Linz");
if (testInfo.project.name.includes("Mobile")) { if (testInfo.project.name.includes("Mobile")) {
// No left boat selector on mobile views // No left boat selector on mobile views
await page.getByText("Kaputtes Boot :-( (7 x)").nth(1).click(); await page.getByText("Kaputtes Boot :-( (7x)").nth(1).click();
await page.getByRole("option", { name: "Joe" }).click(); await page.getByRole("option", { name: "Joe" }).click();
} else { } else {
await page.getByText('2x', { exact: true }).click(); await page.getByText('2x', { exact: true }).click();
@ -139,7 +139,7 @@ test("Kiosk can start and finish trip", async ({ page }, testInfo) => {
if (testInfo.project.name.includes("Mobile")) { if (testInfo.project.name.includes("Mobile")) {
// No left boat selector on mobile views // No left boat selector on mobile views
await page.getByText("Kaputtes Boot :-( (7 x)").nth(1).click(); await page.getByText("Kaputtes Boot :-( (7x)").nth(1).click();
await page.getByRole("option", { name: "Joe" }).click(); await page.getByRole("option", { name: "Joe" }).click();
} else { } else {
await page.getByText('2x', { exact: true }).click(); await page.getByText('2x', { exact: true }).click();