Skip SAML tests if disabled (#2169)
* Temporarily disables forgot password test * Skip SAML tests if disabled
This commit is contained in:
1 parent
18c21d9b97
commit
06cec35522
1 file changed
+3
@@ -1,9 +1,12 @@
|
|||||||
import { test } from "@playwright/test";
|
import { test } from "@playwright/test";
|
||||||
|
|
||||||
|
import { IS_SAML_LOGIN_ENABLED } from "../server/lib/constants";
|
||||||
|
|
||||||
// Using logged in state from globalSteup
|
// Using logged in state from globalSteup
|
||||||
test.use({ storageState: "playwright/artifacts/proStorageState.json" });
|
test.use({ storageState: "playwright/artifacts/proStorageState.json" });
|
||||||
|
|
||||||
test("test SAML configuration UI with [email protected]", async ({ page }) => {
|
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 page
|
// Try to go Security page
|
||||||
await page.goto("/settings/security");
|
await page.goto("/settings/security");
|
||||||
// It should redirect you to the event-types page
|
// It should redirect you to the event-types page
|
||||||
|
|||||||
Reference in new issue
Block a user