Skip to content

Commit

Permalink
Fs 3348 remove feedback link (#291)
Browse files Browse the repository at this point in the history
* Remove feedback link from beta banner

* fixing test

* fixing test
  • Loading branch information
srh-sloan authored Aug 23, 2023
1 parent d738b28 commit 1f2692d
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 6 deletions.
2 changes: 1 addition & 1 deletion runner/src/server/views/confirmation.html
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
tag: {
text: "beta"
},
html: 'This is a new service – your <a class="govuk-link" href=' + feedbackLink + '>feedback</a> will help us to improve it.'
html: "This is a new service."
}) }}
{% endblock %}

Expand Down
2 changes: 1 addition & 1 deletion runner/src/server/views/layout.html
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@
tag: {
text: phaseTag
},
html: 'This is a new service – your <a class="govuk-link" href=' + feedbackLink + '>feedback</a> will help us to improve it.'
html: "This is a new service."
}) }}
{% else %}
{{ govukPhaseBanner({
Expand Down
2 changes: 1 addition & 1 deletion runner/src/server/views/summary.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
tag: {
text: "beta"
},
html: 'This is a new service – your <a class="govuk-link" href=' + feedbackLink + '>feedback</a> will help us to improve it.'
html: "This is a new service."
}) }}
{% endblock %}
{% block content %}
Expand Down
5 changes: 2 additions & 3 deletions runner/test/cases/server/feedback.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,8 @@ suite(`Feedback`, () => {
expect(response.headers["content-type"]).to.include("text/html");

const $ = cheerio.load(response.payload);

expect($(".govuk-phase-banner__text .govuk-link").attr("href")).to.equal(
"mailto:[email protected]"
expect($(".govuk-phase-banner__text").text().trim()).to.equal(
"This is a new service."
);
});
});

0 comments on commit 1f2692d

Please sign in to comment.