diff --git a/cypress_shared/components/placeContextHeader.ts b/cypress_shared/components/placeContextHeader.ts index 050a22fda..45510dfcf 100644 --- a/cypress_shared/components/placeContextHeader.ts +++ b/cypress_shared/components/placeContextHeader.ts @@ -39,6 +39,7 @@ export default class PlaceContextHeaderComponent extends Component { 'contain', `Accommodation required from: ${DateFormats.isoDateToUIDate(application.arrivalDate, { format: 'short' })}`, ) + cy.root().should('contain', 'Suitable to share: Yes') }) } } diff --git a/server/views/temporary-accommodation/components/place-context-header/macro.njk b/server/views/temporary-accommodation/components/place-context-header/macro.njk index 486bf4fa7..706c104d0 100644 --- a/server/views/temporary-accommodation/components/place-context-header/macro.njk +++ b/server/views/temporary-accommodation/components/place-context-header/macro.njk @@ -21,6 +21,12 @@ {% if placeContext.assessment.application.arrivalDate %}