From 6728198aa4e2cab8ff48438c1a649963250fbcf6 Mon Sep 17 00:00:00 2001 From: Colin Rotherham Date: Wed, 4 Oct 2023 17:19:17 +0100 Subject: [PATCH] Use GOV.UK Frontend v5 paths in smoke test --- cypress/e2e/smoke/0-smoke-tests/index-page.cypress.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cypress/e2e/smoke/0-smoke-tests/index-page.cypress.js b/cypress/e2e/smoke/0-smoke-tests/index-page.cypress.js index 5de33e60cd..1d5c2e8628 100644 --- a/cypress/e2e/smoke/0-smoke-tests/index-page.cypress.js +++ b/cypress/e2e/smoke/0-smoke-tests/index-page.cypress.js @@ -9,9 +9,9 @@ describe('smoke test', () => { }) it('GOV.UK Frontend fonts loaded', () => { - waitForApplication('/') + waitForApplication('/manage-prototype') - const fontUrl = '/plugin-assets/govuk-frontend/govuk/assets/fonts/bold-b542beb274-v2.woff2' + const fontUrl = '/manage-prototype/dependencies/govuk-frontend/dist/govuk/assets/fonts/bold-b542beb274-v2.woff2' cy.task('log', 'Requesting govuk-frontend font') cy.request(`/${fontUrl}`, { retryOnStatusCodeFailure: true })