From 36ed1787885d87696712f3a5e72372a874417a24 Mon Sep 17 00:00:00 2001 From: Matthew Whitfield Date: Mon, 24 Jun 2024 14:41:57 +0100 Subject: [PATCH] CDPS-799: update link from in-today to arrived-today --- integration_tests/e2e/establishmentRoll.cy.ts | 2 +- server/views/pages/establishmentRoll.njk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/integration_tests/e2e/establishmentRoll.cy.ts b/integration_tests/e2e/establishmentRoll.cy.ts index a16ea8b..f32e996 100644 --- a/integration_tests/e2e/establishmentRoll.cy.ts +++ b/integration_tests/e2e/establishmentRoll.cy.ts @@ -27,7 +27,7 @@ context('Establishment Roll Page', () => { const page = Page.verifyOnPage(EstablishmentRollPage) page.todaysStats().unlockRoll().should('contain.text', '100') page.todaysStats().currentPopulation().should('contain.text', '200') - page.todaysStats().arrivedToday().find('a[href="/establishment-roll/in-today"]').should('contain.text', '300') + page.todaysStats().arrivedToday().find('a[href="/establishment-roll/arrived-today"]').should('contain.text', '300') page.todaysStats().inReception().find('a[href="/establishment-roll/in-reception"]').should('contain.text', '400') page.todaysStats().stillToArrive().find('a[href="/establishment-roll/en-route"]').should('contain.text', '500') page.todaysStats().outToday().find('a[href="/establishment-roll/out-today"]').should('contain.text', '600') diff --git a/server/views/pages/establishmentRoll.njk b/server/views/pages/establishmentRoll.njk index 43bcc83..37afe6a 100644 --- a/server/views/pages/establishmentRoll.njk +++ b/server/views/pages/establishmentRoll.njk @@ -73,7 +73,7 @@ establishmentRollStat( heading = "Arrived today", value = todayStats.inToday, - href = "/establishment-roll/in-today", + href = "/establishment-roll/arrived-today", qaTag = "in-today" ) }}