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

Add test for CSRF error with different Person Escort Records in different tabs #950

Open
teneightfive opened this issue Oct 30, 2020 · 0 comments

Comments

@teneightfive
Copy link
Contributor

Problem

There was an issue with frequent CSRF errors being logged within the Person Escort Record journeys.

The fix was to give a unique name to each form wizard instance so that if a user opens an old PER in another tab and tries to go back and submit the new PER they won't see a CSRF error.

Solution

We need to write an e2e test to ensure that this behaviour is still supported.

Test steps:

  • start new PER
  • enter any step of new PER
  • visit old PER summary page for same section in new tab
  • open previous tab and attempt to submit step
  • should not receive CSRF error
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

No branches or pull requests

1 participant