Skip to content

[Issue] fix: login form incorrect password label #40353

@m2-assistant

Description

@m2-assistant

This issue is automatically created based on existing pull request: #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 (*)

  • Pull request has a meaningful description of its purpose
  • All commits are accompanied by meaningful commit messages
  • 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)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Area: AccountComponent: CustomerIssue: ConfirmedGate 3 Passed. Manual verification of the issue completed. Issue is confirmedPriority: P2A defect with this priority could have functionality issues which are not to expectations.Reported on 2.4.xIndicates original Magento version for the Issue report.Reproduced on 2.4.xThe issue has been reproduced on latest 2.4-develop branch

    Type

    No type

    Projects

    Status

    Ready for Development

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions