Switch Account Selenium Test - #1725
Open
ryan-morosa wants to merge 6 commits into
Open
Conversation
ryan-morosa
marked this pull request as ready for review
September 4, 2026 21:32
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.
JIRA Ticket:
BB2-4994
What Does This PR Do?
This PR adds a selenium test that goes to the v3 permissions screen with BBUser09003, clicks Switch account, and then logs in as a different user BBUser_00000. The test should confirm that the second user, who clicks Share on the v3 permissions screen, successfully accesses the testclient page.
Summary of Changes:
What Should Reviewers Watch For?
If you're reviewing this PR, please check for these things in particular:
Validation
Debuggingsection of ops/containers/selenium/README.md. However, instead of bringing up the bb-api stack with auth=mock, you can bring it up with auth=live (just runmake run-local). For selenium you can then runmake run-selenium-local debug=true. You can comment out other selenium tests to make it easier to debug and set breakpoints accordingly. But you should at least be able to get past the first log in with BBUser09003 and then you'll likely get the ZScaler issue. I can huddle if it's too hard to do this on your own but running against prod/sbx below seems like the most promising way of testing it with slsx../docker-compose/run_selenium_tests_remote.sh PRODor SBX and all 12 should passWhat Security Implications Does This PR Have?
Please indicate if this PR does any of the following:
security engineer's approval.
Any Migrations?
etc)