Skip to content

Commit

Permalink
fix flake
Browse files Browse the repository at this point in the history
  • Loading branch information
anikdhabal committed Jan 10, 2025
1 parent 955dcfe commit babe149
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions apps/web/playwright/saml.e2e.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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: "[email protected]", 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 () => {
Expand Down

0 comments on commit babe149

Please sign in to comment.