Commit c1b959f7 authored by Rajab Natshah's avatar Rajab Natshah
Browse files

Issue #3060823: Change Automated Functional Acceptance Testing to work with...

Issue #3060823: Change Automated Functional Acceptance Testing to work with changes after enabling [Generate Password] module in the 8.x-7.x branch
parent c813b3f6
Loading
Loading
Loading
Loading
+6 −6
Original line number Diff line number Diff line
@@ -22,7 +22,7 @@ Feature: Create default testing users.
     Then I should see "Created a new user account"

  @javascript @init @tools @local @development @staging
  Scenario: Set a passeord for the test_authenticated user.
  Scenario: Set a password for the test_authenticated user.
     When I go to "/admin/people"
      And I wait
      And I fill in "test_authenticated" for "Name or email contains"
@@ -50,7 +50,7 @@ Feature: Create default testing users.
     Then I should see "Created a new user account"

   @javascript @init @tools @local @development @staging
   Scenario: Set a passeord for the test_editor user.
   Scenario: Set a password for the test_editor user.
      When I go to "/admin/people"
       And I wait
       And I fill in "test_editor" for "Name or email contains"
@@ -78,7 +78,7 @@ Feature: Create default testing users.
     Then I should see "Created a new user account"

 @javascript @init @tools @local @development @staging
 Scenario: Set a passeord for the test_content_admin user.
 Scenario: Set a password for the test_content_admin user.
    When I go to "/admin/people"
     And I wait
     And I fill in "test_content_admin" for "Name or email contains"
@@ -105,7 +105,7 @@ Feature: Create default testing users.
     Then I should see "Created a new user account"

 @javascript @init @tools @local @development @staging
 Scenario: Set a passeord for the test_seo_admin user.
 Scenario: Set a password for the test_seo_admin user.
    When I go to "/admin/people"
     And I wait
     And I fill in "test_seo_admin" for "Name or email contains"
@@ -133,7 +133,7 @@ Feature: Create default testing users.
     Then I should see "Created a new user account"

 @javascript @init @tools @local @development @staging
 Scenario: Set a passeord for the test_site_admin user.
 Scenario: Set a password for the test_site_admin user.
    When I go to "/admin/people"
     And I wait
     And I fill in "test_site_admin" for "Name or email contains"
@@ -161,7 +161,7 @@ Feature: Create default testing users.
     Then I should see "Created a new user account"

 @javascript @init @tools @local @development @staging
 Scenario: Set a passeord for the test_super_admin user.
 Scenario: Set a password for the test_super_admin user.
    When I go to "/admin/people"
     And I wait
     And I fill in "test_super_admin" for "Name or email contains"
+22 −4
Original line number Diff line number Diff line
@@ -14,14 +14,32 @@ So that they will be able to use the site.
      And I should see "Username"
      And I should see "Email address"

  @javascript @local @development @staging @production
  @javascript @init @tools @local @development @staging
  Scenario: Check if admins can create a new user account as an (authenticated user).
    Given I go to "/admin/people/create"
     When I go to "/admin/people/create"
      And I wait
     Then I should see "Add user"
     When I fill in "tester@vardot.com" for "Email address"
      And I fill in "Tester" for "Username"
      And I fill in "dD.123123ddd" for "Password"
      And I fill in "dD.123123ddd" for "Confirm password"
      And I press "Create new account"
      And I wait
     Then I should see "Created a new user account"

  @javascript @init @tools @local @development @staging
  Scenario: Set a password for the Tester user.
     When I go to "/admin/people"
      And I wait
      And I fill in "test_authenticated" for "Name or email contains"
      And I press "Filter"
      And I wait
     Then I should see "test_authenticated"
     When I click "Edit" in the "test_authenticated" row
     Then I should see "test_authenticated"
     When I fill in "dD.123123ddd" for "Password"
      And I fill in "dD.123123ddd" for "Confirm password"
      And I press "Save"
      And I wait
     Then I should see "The changes have been saved."

  @javascript @cleanup @local @development @staging @production
  Scenario: Delete the Tester user.