Feature: Support redirecting to an external URL on successful booking (#2087)

This commit is contained in:
Hariom Balhara authored and GitHub committed 2022-04-05 08:05:40 +00:00
1 parent b3f9921dd8
commit d76b9b0d01
11 files changed
+279 -45

No files matched your search

+1 -1
View File
@@ -151,7 +151,7 @@ test.describe("pro user", () => {
await bookFirstEvent(page);
await page.goto("/bookings/upcoming");
await page.locator('[data-testid="cancel"]').click();
await page.locator('[data-testid="cancel"]').first().click();
await page.waitForNavigation({
url: (url) => {
return url.pathname.startsWith("/cancel");