diff --git a/integration_tests/e2e/recentCases.cy.ts b/integration_tests/e2e/recentCases.cy.ts index be1cadf..057cfc5 100644 --- a/integration_tests/e2e/recentCases.cy.ts +++ b/integration_tests/e2e/recentCases.cy.ts @@ -36,10 +36,10 @@ context('Recent Cases', () => { cy.get('thead') .eq(0) - .within(() => cy.get('th').eq(0).should('contain.text', 'Name / CRN')) + .within(() => cy.get('th').eq(0).should('contain.html', 'Name
CRN')) cy.get('thead') .eq(0) - .within(() => cy.get('th').eq(1).should('contain.text', 'DOB/ Age')) + .within(() => cy.get('th').eq(1).should('contain.html', 'Date of birth
Age')) cy.get('thead') .eq(0) .within(() => cy.get('th').eq(2).should('contain.text', 'Tier')) diff --git a/server/views/pages/caseload/recent-cases.njk b/server/views/pages/caseload/recent-cases.njk index a05f272..28cc98e 100644 --- a/server/views/pages/caseload/recent-cases.njk +++ b/server/views/pages/caseload/recent-cases.njk @@ -7,8 +7,8 @@ - - + +
Name / CRNDOB/ AgeName
CRN
Date of birth
Age
Tier Sentence