Skip to content

Commit d43afe7

Browse files
authored
fix: e2e test failure in ci (calcom#21510)
* fix: delete dilog button not visible * fix: global e2e fialure * update * tweak
1 parent a06b200 commit d43afe7

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

apps/web/playwright/fixtures/users.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -395,7 +395,7 @@ export const createUsersFixture = (
395395
},
396396
{
397397
id: "a8ba9aab-4567-489a-bcde-f1823f71b4ad",
398-
action: { type: "externalRedirectUrl", value: "https://cal.com" },
398+
action: { type: "externalRedirectUrl", value: "https://cal.com/peer" },
399399
queryValue: {
400400
id: "a8ba9aab-4567-489a-bcde-f1823f71b4ad",
401401
type: "group",

packages/app-store/routing-forms/playwright/tests/basic.e2e.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -262,7 +262,7 @@ test.describe("Routing Forms", () => {
262262
option: 2,
263263
page,
264264
});
265-
await page.fill("[name=externalRedirectUrl]", "https://cal.com");
265+
await page.fill("[name=externalRedirectUrl]", "https://cal.com/peer");
266266
await saveCurrentForm(page);
267267

268268
const { fields } = await addAllTypesOfFieldsAndSaveForm(formId, page, {
@@ -576,7 +576,7 @@ test.describe("Routing Forms", () => {
576576
routingType = await page.locator('[data-testid="chosen-route-title"]').innerText();
577577
route = await page.locator('[data-testid="test-routing-result"]').innerText();
578578
expect(routingType).toBe("External Redirect");
579-
expect(route).toBe("https://cal.com");
579+
expect(route).toBe("https://cal.com/peer");
580580
await page.click('[data-testid="close-results-button"]');
581581

582582
// Multiselect(Legacy)
@@ -925,7 +925,7 @@ test.describe("Routing Forms", () => {
925925
option: 2,
926926
page,
927927
});
928-
await page.fill("[name=externalRedirectUrl]", "https://cal.com");
928+
await page.fill("[name=externalRedirectUrl]", "https://cal.com/peer");
929929
await saveCurrentForm(page);
930930
return {
931931
formId,

0 commit comments

Comments
 (0)