From 954c3826ab49c3e0b5397d37a3c1609b635d1ca8 Mon Sep 17 00:00:00 2001 From: Isuru Gunawardana Date: Tue, 28 Nov 2023 12:45:58 -0800 Subject: [PATCH] fixing cypress tests --- services/core-web/cypress/support/commands.ts | 2 +- services/minespace-web/cypress/support/commands.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/services/core-web/cypress/support/commands.ts b/services/core-web/cypress/support/commands.ts index 455bd42453..7c34874946 100644 --- a/services/core-web/cypress/support/commands.ts +++ b/services/core-web/cypress/support/commands.ts @@ -26,7 +26,7 @@ Cypress.Commands.add("login", () => { environment: Cypress.env("CYPRESS_ENVIRONMENT"), flagsmithUrl: Cypress.env("CYPRESS_FLAGSMITH_URL"), flagsmithKey: Cypress.env("CYPRESS_FLAGSMITH_KEY"), - errorNotifyRecipients: Cypress.env("ERROR_NOTIFY_RECIPIENTS"), + errorNotifyRecipients: "test@test.com", }; cy.intercept("GET", environmentUrl, (req) => { diff --git a/services/minespace-web/cypress/support/commands.ts b/services/minespace-web/cypress/support/commands.ts index 695084dced..54d6b8e024 100644 --- a/services/minespace-web/cypress/support/commands.ts +++ b/services/minespace-web/cypress/support/commands.ts @@ -10,7 +10,7 @@ Cypress.Commands.add("login", () => { matomoUrl: Cypress.env("CYPRESS_MATOMO_URL"), filesystemProviderUrl: Cypress.env("CYPRESS_FILE_SYSTEM_PROVIDER_URL"), flagsmithUrl: Cypress.env("CYPRESS_FLAGSMITH_URL"), - errorNotifyRecipients: Cypress.env("ERROR_NOTIFY_RECIPIENTS"), + errorNotifyRecipients: "test@test.test", flagsmithKey: Cypress.env("CYPRESS_FLAGSMITH_KEY"), keycloak_clientId: Cypress.env("CYPRESS_KEYCLOAK_CLIENT_ID"), keycloak_resource: Cypress.env("CYPRESS_KEYCLOAK_RESOURCE"),