From fcda7c8c4782f61aa18a6794c3be9d8a6c0109b1 Mon Sep 17 00:00:00 2001 From: Colin Rotherham Date: Tue, 22 Aug 2023 13:39:00 +0100 Subject: [PATCH] Update smoke test with GOV.UK Frontend v5 paths --- cypress/e2e/smoke/0-smoke-tests/index-page.cypress.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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..7e18007689 100644 --- a/cypress/e2e/smoke/0-smoke-tests/index-page.cypress.js +++ b/cypress/e2e/smoke/0-smoke-tests/index-page.cypress.js @@ -11,7 +11,7 @@ describe('smoke test', () => { it('GOV.UK Frontend fonts loaded', () => { waitForApplication('/') - const fontUrl = '/plugin-assets/govuk-frontend/govuk/assets/fonts/bold-b542beb274-v2.woff2' + const fontUrl = '/plugin-assets/govuk-frontend/dist/govuk/assets/fonts/bold-b542beb274-v2.woff2' cy.task('log', 'Requesting govuk-frontend font') cy.request(`/${fontUrl}`, { retryOnStatusCodeFailure: true })