diff --git a/tests/cypress/support/utilities.ts b/tests/cypress/support/utilities.ts index e4c4aeffe..450a9f559 100644 --- a/tests/cypress/support/utilities.ts +++ b/tests/cypress/support/utilities.ts @@ -9,10 +9,8 @@ export interface IUser { password: string; } -const password = Cypress.env("ORCH_DEFAULT_PASSWORD") as string | undefined; -if (!password) { - throw new Error("ORCH_DEFAULT_PASSWORD environment variable must be set"); -} +const password = process.env.ORCH_DEFAULT_PASSWORD || "ChangeMeOn1stLogin!"; +// Cypress.env("ORCH_DEFAULT_PASSWORD") export const ADMIN_USER: IUser = { username: "sample-org-admin",