To add a collaborator to this project you will need to use the Relish gem to add the collaborator via a terminal command. Soon you'll be able to also add collaborators here!
More about adding a collaboratorSC Login
As a self-care user, in order to access other self-care pages I need to correctly login
- Background
-
- Given
- We are on the user login page
- Scenarios
-
- Verify that we can login succesfully
- Verify that we cannot login with empty username and/or password
- Verify that we cannot login with wrong credentials
- Verify that logout returns me to the login page
- Verify that can re-login after logout
- Verify that we can login succesfully
-
- When
- We log in to the Self Care page with username and password
- Then
- The logout link should be present
- And
- We should see the page with id="main"
Examples: Correct Credentials username password "user1" "cisco" "UsER1" "cisco" - Verify that we cannot login with empty username and/or password
-
- When
- We log in to the Self Care page with username and password
- Then
- The field is state
- And
- We should see a tooltip that says info
Examples: Empty Username and/or Empty Password username password field state info "" "" "" "" "Username is required" "" "cisco" "password field" "NonEmpty" "Username is required" "user1" "" "username field" "NonEmpty" "Password is required" - Verify that we cannot login with wrong credentials
-
- When
- We log in to the Self Care page with username and password
- And
- We should see an error message message
Examples: Wrong Credentials username password message "user" "wrong" "You entered an incorrect username or password. Please try again." - Verify that logout returns me to the login page
-
- When
- We log in to the Self Care page with username and password
- And
- We log out
- Then
- We should land on the login page
- And
- The field1 is state
- And
- The field2 is state
Examples: Correct Credentials username password field1 field2 state "user1" "cisco" "username field" "password field" "" - Verify that can re-login after logout
-
- When
- We log in to the Self Care page with username1 and password
- And
- We log out
- And
- We log in to the Self Care page with username2 and password
- Then
- We should not land on the login page
- And
- We should see the page with id="main"
- And
- The logout link should be present
Examples: Relogin with Correct Credentials username1 username2 password "user1" "user1" "cisco" "user1" "user2" "cisco"
Last published almost 7 years ago by Chris.