FCT2-22092: assert unauthenticated users are sent to the unauthorised - #250
Closed
kmshrajcps wants to merge 1 commit into
Closed
kmshrajcps wants to merge 1 commit into
kmshrajcps wants to merge 1 commit into
Conversation
…page Covers FCT2-22092 (#241) against the deployed SPA and real gateway API, where previously only the MSW integration suite asserted it. Two scenarios, each keeping the Entra SSO cookies so the SPA still signs in and only the gateway API rejects the request: - Scenario 23 removes the Cms-Auth-Values cookie. - Scenario 24 keeps the cookie but replaces its value with an invalid one. Both load the home page and assert the units API returns 401, the user lands on /unauthorised with the "You cannot access this service" heading and the CMS Classic relaunch text, and the Register a case form is never shown. Falsified by running a copy with the valid cookie left intact: it fails the status check (expected 401, received 200).
|
Contributor
Author
|
as there is another pull request raised to base with development branch |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

Tests to cover Unauthorised page