fix: 404 collisions (#15249)

* fix: 404 collisions

* Added E2E test

* Removed await

* Attempting to fix E2E

* fingers crossed

Signed-off-by: zomars <zomars@me.com>

* fix: e2e tests

* fix: missing navigation to 404 page

* fix: don't interrupt post login navigation

* fix: Expect owner as possible host for RR events

---------

Signed-off-by: zomars <zomars@me.com>
Co-authored-by: Omar López <zomars@me.com>
This commit is contained in:
Keith WilliamsandOmar López authored and GitHub committed 2024-05-31 22:28:43 +00:00
1 parent ac3fb0a1cd
commit 5d01eb2f38
10 files changed
+17 -110

No files matched your search

@@ -3,7 +3,7 @@ import { expect } from "@playwright/test";
import type { Fixtures } from "@calcom/web/playwright/lib/fixtures";
import { test } from "@calcom/web/playwright/lib/fixtures";
import { NotFoundPageTextAppDir, gotoRoutingLink } from "@calcom/web/playwright/lib/testUtils";
import { gotoRoutingLink } from "@calcom/web/playwright/lib/testUtils";
import {
addForm,
@@ -36,7 +36,7 @@ test.describe("Routing Forms", () => {
await page.goto(`apps/routing-forms/route-builder/${formId}`);
await disableForm(page);
await gotoRoutingLink({ page, formId });
await expect(page.locator(`text=${NotFoundPageTextAppDir}`)).toBeVisible();
await expect(page.getByTestId(`404-page`)).toBeVisible();
});
test("should be able to edit the form", async ({ page }) => {