zero-rower-events #932

Merged
philipp merged 2 commits from zero-rower-events into main 2025-04-19 00:22:43 +02:00
Showing only changes of commit b4a22820e7 - Show all commits

View File

@ -126,9 +126,7 @@ test.describe("cox can edit trips", () => {
await expect(sharedPage.locator("#sidebar")).toContainText( await expect(sharedPage.locator("#sidebar")).toContainText(
"Freie Plätze: 3", "Freie Plätze: 3",
); );
await sharedPage.getByRole("spinbutton").click(); await sharedPage.getByRole("button", { name: "Ausfahrt absagen" }).click();
await sharedPage.getByRole("spinbutton").fill("0");
await sharedPage.getByRole("button", { name: "Speichern" }).click();
await expect(sharedPage.locator("body")).toContainText( await expect(sharedPage.locator("body")).toContainText(
"Ausfahrt erfolgreich aktualisiert.", "Ausfahrt erfolgreich aktualisiert.",
); );