Skip to content

Commit

Permalink
Merge pull request #771 from DFE-Digital/test-if-env-is-test-use-app-…
Browse files Browse the repository at this point in the history
…id-10492

if environment URL contains 'test' use applicationId 10492
  • Loading branch information
FahadDarw authored Dec 20, 2024
2 parents b0337a2 + dcfda9d commit db40a73
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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"]'),
Expand Down

0 comments on commit db40a73

Please sign in to comment.