Scheduling infrastructure for absolutely everyone.
Skip SAML tests if disabled (#2169)
Omar López06cec35522ab
diff --git a/apps/web/playwright/saml.test.ts b/apps/web/playwright/saml.test.tsindex f5650f8cd07..fd34ff3347e 100644--- a/apps/web/playwright/saml.test.ts+++ b/apps/web/playwright/saml.test.ts@@ -1,9 +1,12 @@import { test } from "@playwright/test";+import { IS_SAML_LOGIN_ENABLED } from "../server/lib/constants";+// Using logged in state from globalSteuptest.use({ storageState: "playwright/artifacts/proStorageState.json" });test("test SAML configuration UI with [email protected]", async ({ page }) => {+ test.skip(!IS_SAML_LOGIN_ENABLED, "It should only run if SAML is enabled");// Try to go Security pageawait page.goto("/settings/security");// It should redirect you to the event-types page