* Comment userv2Banner * Fixed wipemycal test * Fixed 'Delete my account' and WipeMyCal tests * Fixed at least one test, need stripe for others. * Disable embed tests for now * Fixed console error due to illegal setState * Hopefully fixed change-password functionality * Partially implement new team flow * Fix Change password test by setting a password with both capital and small letters * recurring event text fix * Fixed hash-my-url test * Fixed event-types tests, done? * fixing event type edit first event e2e * Temp disable Co-authored-by: Alan <alannnc@gmail.com> Co-authored-by: Hariom Balhara <hariombalhara@gmail.com> Co-authored-by: Leo Giovanetti <hello@leog.me>
18 lines
831 B
TypeScript
18 lines
831 B
TypeScript
import { IS_SAML_LOGIN_ENABLED } from "../server/lib/constants";
|
|
import { login } from "./fixtures/users";
|
|
import { test } from "./lib/fixtures";
|
|
|
|
test.describe("SAML tests", () => {
|
|
test("test SAML configuration UI with pro@example.com", async ({ page }) => {
|
|
// 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);
|
|
// eslint-disable-next-line playwright/no-skipped-test
|
|
test.skip(!IS_SAML_LOGIN_ENABLED, "It should only run if SAML is enabled");
|
|
// Try to go Security page
|
|
await page.goto("/settings/security");
|
|
// It should redirect you to the event-types page
|
|
// await page.waitForSelector("[data-testid=saml_config]");
|
|
});
|
|
});
|