From ee09e64bc88e0fe67aadde398dfacc8d7c7eb954 Mon Sep 17 00:00:00 2001 From: Vignesh Chandrasekharan Date: Mon, 10 Nov 2025 11:05:56 +0530 Subject: [PATCH] Revert "Remove refs to old pw (#360)" This reverts commit ce920d21cc755825c3dc74ad3d2f54ac9a4a5195. --- tests/cypress/support/utilities.ts | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) 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",