fix: Ensure the session is invalidated during booking-seats test (#14478)

This commit is contained in:
Alex van Andel
2024-04-09 13:05:40 +00:00
committed by GitHub
parent 4335c9ab92
commit be31100bd7
+2
View File
@@ -308,6 +308,8 @@ test.describe("Reschedule for booking with seats", () => {
await expect(foundSecondAttendeeAsOwner).toHaveCount(1);
await page.goto("auth/logout");
await page.getByTestId("logout-btn").click();
await expect(page).toHaveURL(/login/);
// Now we cancel the booking as the first attendee
// booking/${bookingUid}?cancel=true&allRemainingBookings=false&seatReferenceUid={bookingSeat.referenceUid}