diff --git a/apps/web/playwright/saml.e2e.ts b/apps/web/playwright/saml.e2e.ts index 7c6425e2dc234b..45bd31c5e9638a 100644 --- a/apps/web/playwright/saml.e2e.ts +++ b/apps/web/playwright/saml.e2e.ts @@ -16,11 +16,13 @@ test.describe("SAML tests", () => { // TODO: Figure out a way to use the users from fixtures here, right now we cannot set // the SAML_ADMINS env variables dynamically await login({ username: "pro", email: "pro@example.com", password: "pro" }, page); + const shellLocator = page.locator(`[data-testid=dashboard-shell]`); + await page.waitForURL("/event-types"); + await expect(shellLocator).toBeVisible(); // eslint-disable-next-line playwright/no-skipped-test // Try to go Security page await page.goto("/settings/security/sso"); - // It should redirect you to the event-types page - // await page.waitForSelector("[data-testid=saml_config]"); + await page.waitForSelector("[data-testid=saml_config]"); }); test.describe("SAML Signup Flow Test", async () => {