Skip to content
This repository has been archived by the owner on Dec 3, 2019. It is now read-only.

Commit

Permalink
adjust confirm password test steps
Browse files Browse the repository at this point in the history
  • Loading branch information
phil-davis committed Feb 15, 2019
1 parent 17352c7 commit 243754b
Showing 1 changed file with 7 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ Feature: add users
When the administrator creates a user with the name "<username>" and the email "guiusr1@owncloud" without a password using the webUI
And the administrator logs out of the webUI
And the user follows the password set link received by "guiusr1@owncloud" using the webUI
And the user sets the password to "%regular%" using the webUI
And the user sets the password to "%regular%" and confirms same password using the webUI
Then the email address "guiusr1@owncloud" should have received an email with the body containing
"""
Password changed successfully
Expand Down Expand Up @@ -103,7 +103,7 @@ Feature: add users
When the administrator creates a user with the name "guiusr1" and the email "guiusr1@owncloud" without a password using the webUI
And the administrator logs out of the webUI
And the user follows the password set link received by "guiusr1@owncloud" using the webUI
And the user sets the password to "newpassword" using the webUI
And the user sets the password to "newpassword" and confirms same password using the webUI
And the user follows the password set link received by "guiusr1@owncloud" in Email number 2 using the webUI
Then the user should be redirected to the general error webUI page with the title "%productname%"
And an error should be displayed on the general error webUI page saying "The token provided is invalid."
Expand All @@ -114,7 +114,7 @@ Feature: add users
And the administrator creates a user with the name "guiusr1" and the email "correct@owncloud" without a password using the webUI
And the administrator logs out of the webUI
And the user follows the password set link received by "correct@owncloud" using the webUI
And the user sets the password to "newpassword" using the webUI
And the user sets the password to "newpassword" and confirms same password using the webUI
And the user logs in with username "guiusr1" and password "newpassword" using the webUI
Then the user should be redirected to a webUI page with the title "Files - %productname%"

Expand All @@ -134,15 +134,15 @@ Feature: add users
And the administrator logs out of the webUI
And the user follows the password set link received by "mistake@owncloud" using the webUI
And the user follows the password set link received by "correct@owncloud" using the webUI
And the user sets the password to "%regular%" using the webUI
And the user sets the password to "%regular%" and confirms same password using the webUI
And the user logs in with username "guiusr1" and password "%regular%" using the webUI
Then the user should be redirected to a webUI page with the title "Files - %productname%"

Scenario: check if the sender email address is valid
When the administrator creates a user with the name "user1" and the email "guiusr1@owncloud" without a password using the webUI
And the administrator logs out of the webUI
And the user follows the password set link received by "guiusr1@owncloud" using the webUI
And the user sets the password to "%regular%" using the webUI
And the user sets the password to "%regular%" and confirms same password using the webUI
Then the email address "guiusr1@owncloud" should have received an email with the body containing
"""
Password changed successfully
Expand All @@ -168,7 +168,7 @@ Feature: add users
When the administrator creates a user with the name "brand-new-user" and the email "bnu@owncloud" without a password using the webUI
And the administrator logs out of the webUI
And the user follows the password set link received by "bnu@owncloud" using the webUI
And the user sets the password to "<password>" using the webUI
And the user sets the password to "<password>" and confirms same password using the webUI
And the user logs in with username "brand-new-user" and password "<password>" using the webUI
Then user "brand-new-user" should exist
And the user should be redirected to a webUI page with the title "Files - %productname%"
Expand All @@ -184,5 +184,5 @@ Feature: add users
When the administrator creates a user with the name "brand-new-user" and the email "bnu@owncloud" without a password using the webUI
And the administrator logs out of the webUI
And the user follows the password set link received by "bnu@owncloud" using the webUI
And the user sets the password to " " using the webUI
And the user sets the password to " " and confirms same password using the webUI
Then the user should be redirected to a webUI page with the title "%productname%"

0 comments on commit 243754b

Please sign in to comment.