Skip to content

Commit

Permalink
Correct expected text in 2 end-to-end tests
Browse files Browse the repository at this point in the history
  • Loading branch information
maxf committed Mar 11, 2024
1 parent a0de09d commit 9b1615d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion cypress/e2e/happy-path-written-permission.cy.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,6 @@ describe('Happy passes until written permission', () => {
cy.get('#id_written_permission_1').click()
cy.get('.govuk-button#id_submit').click()

cy.get('h1').should('include.text', 'Confirm') // Should change later as more pages get added
cy.get('h1').should('include.text', 'Upload evidence of written permission')
})
})
2 changes: 1 addition & 1 deletion cypress/e2e/no-registrar-selected.cy.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ describe('Registrar no-select error', () => {

cy.get('h1').should('include.text', 'Which .gov.uk Approved Registrar organisation are you from?')
cy.get('#error-summary-title').should('include.text', 'There is a problem')
cy.get('#id_organisations_choice_1_error').should('include.text', 'Please select an item from the list')
cy.get('#id_organisations_choice_1_error').should('include.text', 'This field is required')

cy.get('select.govuk-select').select('34SP.com')
cy.get('.govuk-button#id_submit').click()
Expand Down

0 comments on commit 9b1615d

Please sign in to comment.