From dcfda9d14ece5a836ec617a64272822106778fc6 Mon Sep 17 00:00:00 2001 From: Dan Good Date: Thu, 19 Dec 2024 08:07:39 +0000 Subject: [PATCH] if environment URL contains 'test' use applicationId 10492 --- .../CypressTests/cypress/e2e/inviteAndRemoveContributor.cy.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dfe.Academies.External.Web/CypressTests/cypress/e2e/inviteAndRemoveContributor.cy.ts b/Dfe.Academies.External.Web/CypressTests/cypress/e2e/inviteAndRemoveContributor.cy.ts index 30bec6a28..a37e38641 100644 --- a/Dfe.Academies.External.Web/CypressTests/cypress/e2e/inviteAndRemoveContributor.cy.ts +++ b/Dfe.Academies.External.Web/CypressTests/cypress/e2e/inviteAndRemoveContributor.cy.ts @@ -10,7 +10,7 @@ import { faker } from '@faker-js/faker' describe('Invite/remove contributor', () => { const contributorFirstName = faker.person.firstName() const contributorEmail = faker.internet.email() - const applicationId = '10280' + const applicationId = Cypress.env('URL').includes('test') ? '10492' : '10280' const homeAssertions = { warningIcon: () => cy.get('span[class="govuk-warning-text__icon"]'),