magento2 icon indicating copy to clipboard operation
magento2 copied to clipboard

[Issue] fix: login form incorrect password label

Open m2-assistant[bot] opened this issue 1 month ago • 4 comments

This issue is automatically created based on existing pull request: magento/magento2#40336: fix: login form incorrect password label


This PR fixes an incorrect "for" attribute, on the password label located on the login page. Currently, with the incorrect attribute, we are not able to target the password field by label associating in E2E testing frameworks like Playwright.

Manual testing scenarios (*)

Navigate to the customer login page - https://app.magento2.test/customer/account/login Inspect the password label and input elements. Note the "for" attribute on the label does not align with any appropriate attribute on the input element.

Contribution checklist (*)

  • [x] Pull request has a meaningful description of its purpose
  • [x] All commits are accompanied by meaningful commit messages
  • [x] All new or changed code is covered with unit/integration tests (if applicable)
  • [ ] README.md files for modified modules are updated and included in the pull request if any README.md predefined sections require an update
  • [ ] All automated tests passed successfully (all builds are green)

m2-assistant[bot] avatar Dec 09 '25 11:12 m2-assistant[bot]

Hi @engcom-Bravo. Thank you for working on this issue. In order to make sure that issue has enough information and ready for development, please read and check the following instruction: :point_down:

  • [ ] 1. Verify that issue has all the required information. (Preconditions, Steps to reproduce, Expected result, Actual result).
  • [ ] 2. Verify that issue has a meaningful description and provides enough information to reproduce the issue.
  • [ ] 3. Add Area: XXXXX label to the ticket, indicating the functional areas it may be related to.
  • [ ] 4. Verify that the issue is reproducible on 2.4-develop branch
    Details- If the issue is reproducible on 2.4-develop branch, please, add the label Reproduced on 2.4.x.
    - If the issue is not reproducible, add your comment that issue is not reproducible and close the issue and stop verification process here!
  • [ ] 5. Add label Issue: Confirmed once verification is complete.
  • [ ] 6. Make sure that automatic system confirms that report has been added to the backlog.

m2-assistant[bot] avatar Dec 09 '25 11:12 m2-assistant[bot]

Hi @SamJUK,

Thanks for your reporting and collaboration.

We have tried to reproduce the issue in Latest 2.4-develop instance and we are able to reproduce the issue.Kindly refer the screenshots.

Image

Hence Confirming the issue.

Thanks.

engcom-Bravo avatar Dec 10 '25 09:12 engcom-Bravo

:white_check_mark: Jira issue https://jira.corp.adobe.com/browse/AC-16193 is successfully created for this GitHub issue.

github-jira-sync-bot avatar Dec 10 '25 09:12 github-jira-sync-bot

:white_check_mark: Confirmed by @engcom-Bravo. Thank you for verifying the issue.
Issue Available: @engcom-Bravo, You will be automatically unassigned. Contributors/Maintainers can claim this issue to continue. To reclaim and continue work, reassign the ticket to yourself.

m2-assistant[bot] avatar Dec 10 '25 09:12 m2-assistant[bot]