-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add default for multiple upload on return version journey #1465
base: main
Are you sure you want to change the base?
Add default for multiple upload on return version journey #1465
Conversation
https://eaflood.atlassian.net/browse/WATER-4707 As part of the quarterly returns submissions work, we need to default the multiple uploads additional option to true when the licence is for a water company.
a6a9913
to
f6849ce
Compare
…lt-when-water-company
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Apologies, running out of time. But I have this feedback so far so stopping here in order it can be digested, queried and challenged.
app/presenters/return-versions/setup/additional-submission-options.presenter.js
Outdated
Show resolved
Hide resolved
test/presenters/return-versions/setup/additional-submission-options.presenter.test.js
Outdated
Show resolved
Hide resolved
describe('the "additionalSubmissionOptions" property', () => { | ||
describe('when the user has previously submitted additional submission options', () => { | ||
describe('the "multipleUpload" property', () => { | ||
describe('when a user has selected "multipleUpload" for additional options', () => { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We seem to have dropped the word 'previously' from these tests. It was there to try and highlight where a user has previously visited this page and submitted an option, then we expect the presenter to replay it.
Happy to change it to something else if it's not making that clear. But I think just dropping it makes it unclear we are talking about selections a user previously made, instead of ones they have just made.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I have updated to reflect the previous state setting and the default being set.
https://eaflood.atlassian.net/browse/WATER-4707
As part of the quarterly returns submissions work, we need to default the multiple uploads additional option to true when the licence is for a water company.