From 243754b03d635efc23b586dd05ddd91bb4ec7818 Mon Sep 17 00:00:00 2001 From: Phil Davis Date: Fri, 15 Feb 2019 09:51:11 +0545 Subject: [PATCH] adjust confirm password test steps --- .../webUIManageUsersGroups/addUsers.feature | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/tests/acceptance/features/webUIManageUsersGroups/addUsers.feature b/tests/acceptance/features/webUIManageUsersGroups/addUsers.feature index 83f0bdd..90aa3e5 100644 --- a/tests/acceptance/features/webUIManageUsersGroups/addUsers.feature +++ b/tests/acceptance/features/webUIManageUsersGroups/addUsers.feature @@ -62,7 +62,7 @@ Feature: add users When the administrator creates a user with the name "" 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 @@ -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." @@ -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%" @@ -134,7 +134,7 @@ 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%" @@ -142,7 +142,7 @@ Feature: add users 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 @@ -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 "" using the webUI + And the user sets the password to "" and confirms same password using the webUI And the user logs in with username "brand-new-user" and 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%" @@ -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%"