diff --git a/integration_tests/e2e/licence-condition-note.cy.ts b/integration_tests/e2e/licence-condition-note.cy.ts index d2932efc..3a097829 100644 --- a/integration_tests/e2e/licence-condition-note.cy.ts +++ b/integration_tests/e2e/licence-condition-note.cy.ts @@ -4,6 +4,7 @@ import SentencePage from '../pages/sentence' context('Sentence', () => { it('Licence condition note page is rendered', () => { cy.visit('/case/X000001/sentence/licence-condition/7007/note/0') + const page = Page.verifyOnPage(SentencePage) page.headerCrn().should('contain.text', 'X000001') page.headerName().should('contain.text', 'Caroline Wolff')