-
Notifications
You must be signed in to change notification settings - Fork 4
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
Recurring payment terms and conditions page #1854
Recurring payment terms and conditions page #1854
Conversation
https://eaflood.atlassian.net/browse/IWTF-3667 Terms and conditions page for recurring payments
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.
Good work - alter the spelling if you like, but it's too small to request changes, so I'll leave it to your discretion!
])('back button tests for $handlerName page', ({ pageHandler }) => { | ||
it.each([[CONTROLLER.uri], [RECURRING_TERMS_CONDITIONS.uri]])( | ||
'addLanguageCodeToUri is called with %s when referrer is %s', | ||
async referer => { |
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.
You've spelt referrer correctly in the description, but wrong here. I almost let you off because it's [misspelt in the http spec](https://privacyinternational.org/guide-step/4150/http-referer-explanation#:~:text=What%3A%20the%20Referer%20(a%20misspelling,request%20received%20by%20a%20server.), but it jars too much, sorry!
@@ -283,7 +326,7 @@ describe('guidance page handlers', () => { | |||
}) | |||
}) | |||
|
|||
const getMockRequest = (i18nValues, search = '') => { | |||
const getMockRequest = (i18nValues, referer) => { |
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.
It's ok here because it leads to more concise code!
|
https://eaflood.atlassian.net/browse/IWTF-3667
Terms and conditions page for recurring payments