Skip to content
This repository has been archived by the owner on Feb 15, 2020. It is now read-only.

Automated Tests #7

Open
s2t2 opened this issue Jan 17, 2018 · 1 comment
Open

Automated Tests #7

s2t2 opened this issue Jan 17, 2018 · 1 comment
Labels
enhancement New feature or request

Comments

@s2t2
Copy link
Contributor

s2t2 commented Jan 17, 2018

The following scenarios should be tested (maybe):

Login Test

  1. Unauthenticated user visits home page, and clicks "Login with LOA1".
  2. Expect to be redirected to a localhost login.gov URL - will probably need to be mocked/faked to avoid having to run the identity-idp server locally (so that begs the question of how valuable this test would be in general)
  3. User clicks "Sign In" then "Next" then "Submit"
  4. Expect to be redirected to the /profile page.

Passport Authentication Test

  1. Unauthenticated user visits profile page.
  2. Expect to be redirected back to the home page.
@s2t2 s2t2 added the enhancement New feature or request label Jan 19, 2018
@s2t2
Copy link
Contributor Author

s2t2 commented Jan 19, 2018

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant