Skip to content

Commit c9b87bb

Browse files
AhmadkashifzomarsPeerRich
authored
feat: Paid and confirmed booking should be able to be rescheduled v1 (#11417)
Co-authored-by: Omar López <zomars@me.com> Co-authored-by: Peer Richelsen <peeroke@gmail.com>
1 parent 19e6dbb commit c9b87bb

File tree

1 file changed

+10
-1
lines changed

1 file changed

+10
-1
lines changed

apps/web/playwright/integrations-stripe.e2e.ts

+10-1
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,16 @@ test.describe("Stripe integration", () => {
143143
expect(await paidBadge.innerText()).toBe("Paid");
144144
});
145145

146+
test("Paid and confirmed booking should be able to be rescheduled", async ({ page, users }) => {
147+
await Promise.all([page.waitForURL("/booking/*"), page.click('[data-testid="reschedule-link"]')]);
148+
149+
await selectFirstAvailableTimeSlotNextMonth(page);
150+
151+
await page.click('[data-testid="confirm-reschedule-button"]');
152+
153+
await expect(page.getByText("This meeting is scheduled")).toBeVisible();
154+
});
155+
146156
todo("Payment should trigger a BOOKING_PAID webhook");
147-
todo("Paid and confirmed booking should be able to be rescheduled");
148157
});
149158
});

0 commit comments

Comments
 (0)