Skip to content
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

Test redirect in subscribe with account feature #1595

Merged
merged 1 commit into from
Aug 21, 2023

Conversation

KludgeKML
Copy link
Contributor

Adds a regression test for (eg) #1594. We rely on the hidden fields, and there isn't a great way to check them in controller tests. We add into the feature test a check that when the login button is pressed we so at least get as far as calling the adaptor code that gets the redirect URI.

⚠️ This repo is Continuously Deployed: make sure you follow the guidance ⚠️

- Altering the form can break this in a way previously uncatchable by CI (#1594), this tests the redirect by checking the redirect stub gets called when the login button is pressed.
@KludgeKML KludgeKML merged commit 19fce9f into main Aug 21, 2023
7 checks passed
@KludgeKML KludgeKML deleted the additional-log-in-test branch August 21, 2023 18:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants