Change the Automated Functional Testing scenario to verify that the system cannot send an email to non-existing users or emails after Drupal 10.3.3

Created on 9 September 2024, 10 days ago
Updated 11 September 2024, 8 days ago

Problem/Motivation

Drupal 10.3.3 was released on: 5 Sep 2024 by: quietone
https://www.drupal.org/project/drupal/releases/10.3.3
This is a patch (bugfix) release of Drupal 10 and is ready for use on production sites. Learn more about Drupal 10.

Thanks to the Drupal Core committers and release team

The old message was

Feature: User Management - Standard User Management - Request new password
      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

  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 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
     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 or email address"
      And I scroll to the bottom
      And I wait 2s
      And I press the "Reset" button
      And wait
     Then I should see "If the username or email address exists and is active, further instructions have been sent to your email address."

If the username or email address exists and is active, further instructions have been sent to your email address. is no longer printed out in HTML

Proposed resolution

Change to:

  @javascript @local @development @staging @production
  Scenario: Verify that the system cannot send an email to non-existing users or emails
     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 or email address"
      And I scroll to the bottom
      And I wait 2s
      And I press the "Reset" button
      And wait
     Then I should see "If not.existing.email@vardot.com is a valid account, an email will be sent with instructions to reset your password."

To If not.existing.email@vardot.com is a valid account, an email will be sent with instructions to reset your password.

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
  • ➖ Developer Documentation support on feature change/addition
  • ➖ User Guide Documentation support on feature change/addition
  • ➖ UX/UI designer responsibilities
  • ➖ 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-10.0.2, varbase-9.1.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 #3473037 : Changed the Automated Functional Testing scenario to verify that the system cannot send an email to non-existing users or emails after Drupal 10.3.3
📌 Task
Status

Needs review

Version

10.0

Component

Code

Created by

🇯🇴Jordan Rajab Natshah Jordan

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024