Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion config/default.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ dataDesignUrl: https://design.planning.data.gov.uk
serviceName: 'Check and provide planning data'
# NOTE: the keys in this map are sometimes referred to as "serviceType" in the templates
serviceNames: {
submit: 'Submit your planning data',
submit: 'Check and provide your planning data',
check: 'Check your planning data',
manage: 'Check and provide planning data'
}
Expand Down
2 changes: 1 addition & 1 deletion src/views/submit/confirmation.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
{% from "govuk/components/panel/macro.njk" import govukPanel %}

{% set serviceType = 'Submit' %}
{% set pageName = (values['dataset'] | datasetSlugToReadableName) + " submitted" %}
{% set pageName = (values['dataset'] | datasetSlugToReadableName) + " provided" %}

{% block content %}

Expand Down
4 changes: 2 additions & 2 deletions test/unit/endpointSubmissionForm/confirmationPage.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,11 @@ describe('Submit confirmation View', () => {
const html = stripWhitespace(nunjucks.render('submit/confirmation.html', params))

runGenericPageTests(html, {
pageTitle: 'mockDataset submitted - Submit your planning data'
pageTitle: 'mockDataset provided - Check and provide your planning data'
})

it('should render the gov uk panel', () => {
const regex = new RegExp('<h1 class="govuk-panel__title".*mockDataset submitted.*</h1>', 'g')
const regex = new RegExp('<h1 class="govuk-panel__title".*mockDataset provided.*</h1>', 'g')
expect(html).toMatch(regex)
})

Expand Down
2 changes: 1 addition & 1 deletion test/unit/views/submit/check-answers.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ describe('check-answers View', async () => {
const html = stripWhitespace(nunjucks.render('check-answers.html', params))

runGenericPageTests(html, {
pageTitle: 'Check your answers - Submit your planning data'
pageTitle: 'Check your answers - Check and provide your planning data'
})

it('should render the lpa selected', () => {
Expand Down
2 changes: 1 addition & 1 deletion test/unit/views/submit/choose-datasetPage.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ describe('choose dataset View', () => {
const html = nunjucks.render('choose-dataset.html', params)

runGenericPageTests(html, {
pageTitle: 'Choose dataset - Submit your planning data'
pageTitle: 'Choose dataset - Check and provide your planning data'
})

it('should display an error message when the dataset field is empty', () => {
Expand Down
2 changes: 1 addition & 1 deletion test/unit/views/submit/dataset-details.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ describe(`dataset details View (seed: ${seed})`, () => {
const html = stripWhitespace(nunjucks.render('dataset-details.html', params))

runGenericPageTests(html, {
pageTitle: 'Endpoint details - Submit your planning data'
pageTitle: 'Endpoint details - Check and provide your planning data'
})

it('should render the correct header', () => {
Expand Down
2 changes: 1 addition & 1 deletion test/unit/views/submit/lpa-detailsPage.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ describe('Lpa-details View', () => {
const htmlNoErrors = nunjucks.render('lpa-details.html', params)

runGenericPageTests(htmlNoErrors, {
pageTitle: 'What are your contact details? - Submit your planning data'
pageTitle: 'What are your contact details? - Check and provide your planning data'
})

describe('validation errors', () => {
Expand Down