Sign up and Sign in Regression Test
User Story
- As a: developer,
- I want: sign up and sign in test
- so that: when I update code, I can run this test and ensure that none of my changes introduced an error into that those modules.
Functional Requirements
The test must perform the following, in order, any errors can result in the test ending
-
Open the landing page (having no cookies set) -
Click on signup link in the upper right corner of the page -
Perform the following expected to fail tests: -
Click Sign Up button with no fields enter -
Enter Name and Click Sign Up button -
Enter Name, Email, and Click Sign Up button -
Enter Name, Email, Password, and Click Sign Up button -
Enter name, password, confirm password, and an incorrect email address, and Click Sign Up button -
Enter name/email/password and an incorrect confirm password, and Click Sign Up button
-
- Enter the following data:
-
Name: Regression Test -
Email: regression@mail.com -
Password: password -
Confirm Password: password
-
- Click Sign Up button, check that you were redirected to the landing page and that you find "Regression Test"
- Open new tab to landing page, make sure you are still signed in (find "Regression Test" display name)
- Click the Sign Out link, make sure it redirects to the landing page and that you are not signed in
- Navigate to the Sign In page and perform the following test that you expect to fail
-
Email: "regression@mail.com", Password: "password1" -
Email: "regression@mail.com", Password: "password " (notice the space in the password) -
Email: "regression@mail.com ", Password: "password" (notice the space in the email)
-
- Enter the correct email and password and click the Sign In button.
- Check that you get redirected to the landing page and "Regression Test" appears as the username
Description
A regression test for the sign up and sign in system. Checks incorrect and correct values.