Skip to content

Commit

Permalink
Use GOV.UK Frontend v5 paths in smoke test
Browse files Browse the repository at this point in the history
  • Loading branch information
colinrotherham committed Nov 3, 2023
1 parent 8f5152f commit a4be636
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cypress/e2e/smoke/0-smoke-tests/index-page.cypress.js
Original file line number Diff line number Diff line change
Expand Up @@ -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 })
Expand Down

0 comments on commit a4be636

Please sign in to comment.