jeroenheijmans / sample-angular-oauth2-oidc-with-auth-guards

Basic example of how to integrate the angular-oauth2-oidc library in an Angular SPA utilizing AuthGuards.
MIT License
256 stars 113 forks source link

Add extra e2e test that exercises some other features #63

Open jeroenheijmans opened 3 years ago

jeroenheijmans commented 3 years ago

The current basic e2e test just boots up the app. The happy-path-flow e2e test will log the user in and out via the login button. This leaves a few components unused in e2e tests:

Let's add 1 more e2e test that tests an extra typical "flow" exercising the above parts.

Note that npm run e2e should run the tests, and these are also run for a PR via GitHub Actions (and nightly for master).

jeroenheijmans commented 3 years ago

It would still be a nice (albeit low-prio) addition to have this, but I've removed hacktoberfest since the repo won't participate in the event per-say.