Skip to content
Snippets Groups Projects
Commit 96c3078d authored by Rajab Natshah's avatar Rajab Natshah
Browse files

Issue #3255633: Switch default Automated Functional Testing users creation to...

Issue #3255633: Switch default Automated Functional Testing users creation to use drush user:create and drush user:role:add and use the default manual testing user names and emails
parent 3abb9fe8
No related branches found
No related tags found
3 merge requests!24Issue #3301451: Composer is fixed to docroot folder Primary tabs View(active tab),!10Issue #3269421: Add exception messages for VLB automated testing step definitions,!9Issue #3266504: Update Automated Functional Testing Readme File
...@@ -28,6 +28,7 @@ So that they will be able to use the site. ...@@ -28,6 +28,7 @@ So that they will be able to use the site.
And I fill in "Tester" for "Username" And I fill in "Tester" for "Username"
And I fill in "dD.123123ddd" for "Password" And I fill in "dD.123123ddd" for "Password"
And I fill in "dD.123123ddd" for "Confirm password" And I fill in "dD.123123ddd" for "Confirm password"
And I scroll to bottom
And I press "Create new account" And I press "Create new account"
@javascript @cleanup @local @development @staging @production @javascript @cleanup @local @development @staging @production
...@@ -39,10 +40,12 @@ So that they will be able to use the site. ...@@ -39,10 +40,12 @@ So that they will be able to use the site.
Then I should see "Tester" Then I should see "Tester"
When I click "Edit" in the "Tester" row When I click "Edit" in the "Tester" row
And I wait And I wait
And I scroll to bottom
And I press "Confirm" And I press "Confirm"
And I wait And I wait
Then I should see "Are you sure you want to cancel the account Tester?" Then I should see "Are you sure you want to cancel the account Tester?"
When I select the radio button "Delete the account and its content. This action cannot be undone." When I select the radio button "Delete the account and its content. This action cannot be undone."
And I scroll to bottom
And I press "Confirm" And I press "Confirm"
And I wait 5s And I wait 10s
Then I should see "People" Then I should see "People"
...@@ -9,6 +9,7 @@ So that I will be able to view/add/edit/ or delete content in the site ...@@ -9,6 +9,7 @@ So that I will be able to view/add/edit/ or delete content in the site
And I wait And I wait
When I fill in "Normal user" for "Username" When I fill in "Normal user" for "Username"
And I fill in "dD.123123ddd" for "Password" And I fill in "dD.123123ddd" for "Password"
And I scroll to bottom
And I press "Log in" And I press "Log in"
And wait And wait
Then I should see "Normal user" Then I should see "Normal user"
...@@ -19,6 +20,7 @@ So that I will be able to view/add/edit/ or delete content in the site ...@@ -19,6 +20,7 @@ So that I will be able to view/add/edit/ or delete content in the site
And I wait And I wait
When I fill in " " for "Username" When I fill in " " for "Username"
And I fill in " " for "Password" And I fill in " " for "Password"
And I scroll to bottom
When I press "Log in" When I press "Log in"
And wait And wait
Then I should see "Username field is required" Then I should see "Username field is required"
......
...@@ -9,6 +9,7 @@ So that they will be disabled and not be able to use the site. ...@@ -9,6 +9,7 @@ So that they will be disabled and not be able to use the site.
And I wait And I wait
When I fill in "Normal user" for "Username" When I fill in "Normal user" for "Username"
And I fill in "dD.123123ddd" for "Password" And I fill in "dD.123123ddd" for "Password"
And I scroll to bottom
And I press "Log in" And I press "Log in"
And I wait And I wait
Then I should see "Normal user" Then I should see "Normal user"
...@@ -37,6 +38,7 @@ So that they will be disabled and not be able to use the site. ...@@ -37,6 +38,7 @@ So that they will be disabled and not be able to use the site.
And I wait And I wait
When I fill in "Normal user" for "Username" When I fill in "Normal user" for "Username"
And I fill in "dD.123123ddd" for "Password" And I fill in "dD.123123ddd" for "Password"
And I scroll to bottom
And I press "Log in" And I press "Log in"
And I wait And I wait
Then I should see "The username Normal user has not been activated or is blocked." Then I should see "The username Normal user has not been activated or is blocked."
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment