Skip to content

Remove OIDC form-action CSP assertions from account creation specs#11025

Merged
aduth merged 2 commits intomainfrom
aduth-rm-csp-sign-up-assertions
Aug 2, 2024
Merged

Remove OIDC form-action CSP assertions from account creation specs#11025
aduth merged 2 commits intomainfrom
aduth-rm-csp-sign-up-assertions

Conversation

@aduth
Copy link
Contributor

@aduth aduth commented Aug 2, 2024

🛠 Summary of changes

Updates account creation shared example test cases to remove assertions about CSP expectations.

Since #10997, these assertions have started failing on unrelated pull requests. The assertions are redundant, since they're already tested in csp_spec.rb.. Limiting the amount of work performed in shared examples should also have a multiplicative benefit on runtime of these specs, since there are now 3x2 (6) fewer test cases being run.

📜 Testing Plan

Verify that build passes..

changelog: Internal, Automated Testing, Remove OIDC form-action CSP assertions from account creation specs
@aduth aduth requested a review from mitchellhenke August 2, 2024 21:07
@aduth aduth merged commit fd343eb into main Aug 2, 2024
@aduth aduth deleted the aduth-rm-csp-sign-up-assertions branch August 2, 2024 22:18
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.

3 participants