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 suite for login and authentication #1278

Open
Tracked by #1272
jescalada opened this issue Jun 10, 2024 · 0 comments
Open
Tracked by #1272

Add test suite for login and authentication #1278

jescalada opened this issue Jun 10, 2024 · 0 comments

Comments

@jescalada
Copy link
Collaborator

This issue will likely require completing #1275 first.

We would like to add tests for the middleware before the actual UI gets loaded. The problem, is that the tests themselves cannot be executed in dev (as they would not be able to trigger the authentication directly). We need to figure out how to execute these tests as part of the pipeline to make sure nothing breaks when pushing.

Once that is done, we want to add tests for:

  • Clicking on login button takes us to the UI chooser page
  • Clicking on each UI chooser button launches the respective UI
  • Clicking on the Switch UI buttons (on each app) takes us back to the chooser
  • Accessing UI app directly without credentials takes us back to the login page

Please add any other tests that make sense. 🙏🏻

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