Problem/Motivation

#3256029: Revise Password Policy and Password Confirmation Suggestions message

Proposed resolution

Add automated functional testing coverage for Password Suggestions settings

Remaining tasks

  • ✅ File an issue about this project
  • ✅ Addition/Change/Update/Fix to this project
  • ✅ Testing to ensure no regression
  • ✅ Automated unit/functional testing coverage
    Varbase CircleCI Build Passing
  • ✅ Developer Documentation support on feature change/addition
  • ✅ User Guide Documentation support on feature change/addition
  • ✅ Accessibility and Readability
  • ✅ Code review from 1 Varbase core team member
  • ✅ Full testing and approval
  • ✅ Credit contributors
  • ✅ Review with the product owner
  • ✅ Update Release Notes and Update Helper on new feature change/addition
  • ✅ Release varbase-9.0.6

Varbase update type

  • ✅ No Update
  • ➖ Optional Update
  • ➖ Forced Update
  • ➖ Forced Update if Unchanged

User interface changes

  • N/A

API changes

  • N/A

Data model changes

  • N/A

Release notes snippet

  • Issue #3276911 by Alaa Jwiehan: Added automated functional testing coverage for Password Suggestions settings


Not to see the Default policy status by Password policy

  @javascript @local @development @staging @production
  Scenario: Check if admins can create a new user account as an authenticated user
     When I go to "/admin/people/create"
      And I wait
     When I fill in "tester@vardot.com" for "Email"
      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 scroll to bottom
      And I should not see "Default policy"
      And I press "Create new account"

Scenario: Check Varbase password suggestions settings

   @javascript @check @local @development @staging
   Scenario: Check Varbase password suggestions settings
      When I go to "admin/config/system/varbase/varbase-security/password-suggestions-settings"
       And I wait
      Then I should see "Password Suggestions settings"
       And I should see "Passwords match:" value in the "edit-confirmtitle" input element
       And I should see "yes" value in the "edit-confirmsuccess" input element
       And I should see "no" value in the "edit-confirmfailure" input element
       And I should see "Password strength:" value in the "edit-strengthtitle" input element
       And I should see "Recommendations to make your password stronger:" value in the "edit-hasweaknesses" input element
       And I should see "Make it at least 8 characters" value in the "edit-tooshort" input element
       And I should see "Add lowercase letters" value in the "edit-addlowercase" input element
       And I should see "Add uppercase letters" value in the "edit-adduppercase" input element
       And I should see "Add numbers" value in the "edit-addnumbers" input element
       And I should see "Add punctuation" value in the "edit-addpunctuation" input element
       And I should see "Make it different from your username" value in the "edit-sameasusername" input element
       And I should see "Weak" value in the "edit-weak" input element
       And I should see "Fair" value in the "edit-fair" input element
       And I should see "Good" value in the "edit-good" input element
       And I should see "Strong" value in the "edit-strong" input element

Scenario: Check password policy constraints

   @javascript @check @local @development @staging
   Scenario: Check password policy constraints
      When I go to "admin/config/security/password-policy/default_policy/constraint"
       And I wait
      Then I should see "Configure Constraints"
       And I should see "Number of allowed repeated passwords: 0"
       And I should see "Password must not contain the user's username."
       And I should see "Password character length of at least 8 characters"
       And I should see "Minimum password character types: 4"
       And I should see "Password must contain 1 special character"
       And I should see "Password must contain 1 numeric character"
       And I should see "Password must contain 1 uppercase character"
       And I should see "Password must contain 1 lowercase character"

Issue fork varbase-3276911

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

Rajab Natshah created an issue. See original summary.

rajab natshah’s picture

rajab natshah’s picture

Assigned: rajab natshah » Unassigned
alaa jwiehan’s picture

Assigned: Unassigned » alaa jwiehan

alaa jwiehan’s picture

Assigned: alaa jwiehan » Unassigned
Issue summary: View changes
Status: Active » Needs review
rajab natshah’s picture

Issue summary: View changes
rajab natshah’s picture

Issue summary: View changes
rajab natshah’s picture

Issue summary: View changes
rajab natshah’s picture

Issue summary: View changes

rajab natshah’s picture

Assigned: Unassigned » mohammed j. razem
Issue summary: View changes
Issue tags: +varbase-9.0.6
rajab natshah’s picture

Assigned: mohammed j. razem » Unassigned
rajab natshah’s picture

Status: Needs review » Fixed
rajab natshah’s picture

✅ Released varbase-9.0.6

rajab natshah’s picture

Issue summary: View changes

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.