Skip to content

Commit

Permalink
Fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
iainjchambers-moj committed Oct 28, 2024
1 parent a35c0cc commit 82474d4
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion integration_tests/pages/page.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ export default abstract class Page {
headerUserName = (): PageElement => cy.get('a.moj-header__navigation-link')

checkBetaOnPage(): void {
cy.get('.govuk-phase-banner .govuk-phase-banner__content__tag').contains('beta')
cy.get('.govuk-phase-banner .govuk-phase-banner__content__tag').contains('Beta')
cy.get('.govuk-phase-banner .govuk-phase-banner__text').contains(
'This is a new service – your feedback will help us to improve it.'
)
Expand Down
3 changes: 2 additions & 1 deletion server/views/partials/layout.njk
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@

{%- from "components/primary-nav/macro.njk" import mawPrimaryNav -%}
{%- from "govuk/components/notification-banner/macro.njk" import govukNotificationBanner -%}
{% from "govuk/components/phase-banner/macro.njk" import govukPhaseBanner %}

{% set mainTitle = "Allocations" %}

Expand Down Expand Up @@ -100,7 +101,7 @@

{% block phaseBanner %}
<div class="govuk-width-container">
{% from "govuk/components/phase-banner/macro.njk" import govukPhaseBanner %}

{{ govukPhaseBanner({
tag: {
text: "Beta"
Expand Down

0 comments on commit 82474d4

Please sign in to comment.