Skip to content

Commit

Permalink
Update smoke test to use GOV.UK Frontend v5 paths
Browse files Browse the repository at this point in the history
  • Loading branch information
colinrotherham committed Sep 14, 2023
1 parent 7ed6944 commit 56fc65d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cypress/e2e/smoke/0-smoke-tests/index-page.cypress.js
Original file line number Diff line number Diff line change
Expand Up @@ -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 })
Expand Down

0 comments on commit 56fc65d

Please sign in to comment.