Commit 63a55da5 authored by Rajab Natshah's avatar Rajab Natshah
Browse files

Issue #3258410: Update Varbase profile from ~8.8.0 to ~9.0.0 on the Vardoc...

Issue #3258410: Update Varbase profile from ~8.8.0 to ~9.0.0 on the Vardoc 4.0.x branch to work with Drupal ~9
parent 100c4179
Loading
Loading
Loading
Loading
+9 −11
Original line number Diff line number Diff line
@@ -3,25 +3,23 @@ As a user with a ready user account
I will want to be able to Request new password
So that I can reset my password for the account

  @local @development @staging @production
  Scenario: Check that an anonymous user can reset his or her password
  Background:
    Given I am not logged in

  @javascript @local @development @staging @production
  Scenario: Check that an anonymous user can reset his or her password
     When I go to "/user/login"
      And I wait
     Then I should see "Forgot your password?"

  @javascript @local @development @staging @production
  Scenario: Verify that the system cannot send an email to non-existing users or emails
    Given I am not logged in
     When I go to "/user/password"
      And I wait 6s
     Then I should see "Username or email address"
     When I fill in "not.existing.email@vardot.com" for "Username"
      And I press the "edit-submit" button
      And I wait
      And I fill in "not.existing.email@vardot.com" for "Username"
      And I wait 8 seconds
      And I press the "edit-submit" button
     Then I should see "Email"
     When I fill in "not.existing.email@vardot.com" for "Email"
      And I scroll to the bottom
      And I wait 2s
      And I press the "Submit" button
      And I wait
     Then I should see "If the username or email address exists and is active, further instructions have been sent to your email address."
+2 −0
Original line number Diff line number Diff line
@@ -39,6 +39,8 @@ So that they will be able to use the site.
      And I wait
     Then I should see "tester"
     When I click "Edit" in the "tester" row
      And I fill in "Tester first name" for "First name"
      And I fill in "Tester last name" for "Last name"
      And I wait
      And I scroll to bottom
      And I press "Cancel account"
+8 −5
Original line number Diff line number Diff line
@@ -7,8 +7,9 @@ So that I will be able to view/add/edit/ or delete content in the site
  Scenario: Check if a visitor can login with a valid username and password
    Given I am on "user/login"
      And I wait 6s
     When I fill in "Normal user" for "Username"
     When I fill in "Normal user" for "Email or username"
      And I fill in "dD.123123ddd" for "Password"
      And I scroll to bottom
      And I wait 2s
      And I press "Log in"
      And wait
@@ -16,11 +17,13 @@ So that I will be able to view/add/edit/ or delete content in the site

  @javascript @local @development @staging @production
  Scenario: Verify a form error after not entering the username or password when we login
    Given I am on "/user/login"
    Given I am on "user/login"
      And I wait 6s
     When I fill in " " for "Username"
     When I fill in " " for "Email or username"
      And I fill in " " for "Password"
      And I press "Log in"
      And I scroll to bottom
      And I wait 2s
     When I press "Log in"
      And wait
     Then I should see "Username field is required"
     Then I should see "Email or username field is required."
      And I should see "Password field is required"
+6 −4
Original line number Diff line number Diff line
@@ -15,13 +15,15 @@ Feature: User Management - Have persistent login options and configurations
  @javascript @check @local @development @staging @production
  Scenario: Check if an authenticated user can login and use the [Remember me] option
    Given I am not logged in
     When I go to "/user"
     When I go to "/user/login"
      And I wait
     Then I should see "Log in"
      And I should see "Remember me"
     When I fill in "Normal user" for "Username"
     When I fill in "Normal user" for "Email or username"
      And I fill in "dD.123123ddd" for "Password"
      And I scroll to bottom
      And I wait 2s
      And I check the box "Remember me"
      And I press the "edit-submit" button
      And I press the "Log in" button
      And I wait
     Then I should see "Normal user"