Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: Disabled elements being clickable (#28807)
* fixes #28788 -- mouse.ts logic If mouseUp element or mouseDown element or commonAncestor element is :disabled, click event should be prevented * fixes #28788 -- e2e test tests that no click events are registered when click happens on child of disabled element * fixes #28788 -- mouse.ts logic If mouseUp element or mouseDown element have an "actually disabled" parent, the click event should not be registered * refactoring: minor name changes for readability * fixes #24322 --added changelog entry * Update packages/driver/src/cy/mouse.ts Co-authored-by: Bill Glesias <[email protected]> * Update packages/driver/cypress/e2e/commands/actions/click.cy.js Co-authored-by: Bill Glesias <[email protected]> * Update packages/driver/src/cy/mouse.ts Co-authored-by: Bill Glesias <[email protected]> * Update packages/driver/src/cy/mouse.ts Co-authored-by: Bill Glesias <[email protected]> * update mouse.ts -- unexpected token * docs: moved entry to 13.6.5 * Update CHANGELOG.md * Update CHANGELOG.md * Update packages/driver/cypress/e2e/commands/actions/click.cy.js Co-authored-by: Bill Glesias <[email protected]> * Update cli/CHANGELOG.md Co-authored-by: Bill Glesias <[email protected]> * lint: fixed 2 linting errors 565:1 error Expected indentation of 8 spaces but found 10 indent 567:7 error Expected blank line before this statement padding-line-between-statements * style: removed trailing space 567:1 error Trailing spaces not allowed no-trailing-spaces * Update CHANGELOG.md --------- Co-authored-by: Bill Glesias <[email protected]> Co-authored-by: Jennifer Shehane <[email protected]> Co-authored-by: Cacie Prins <[email protected]>
- Loading branch information
5d42406
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Circle has built the
linux x64
version of the Test Runner.Learn more about this pre-release build at https://on.cypress.io/advanced-installation#Install-pre-release-version
Run this command to install the pre-release locally:
5d42406
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Circle has built the
linux arm64
version of the Test Runner.Learn more about this pre-release build at https://on.cypress.io/advanced-installation#Install-pre-release-version
Run this command to install the pre-release locally:
5d42406
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Circle has built the
darwin x64
version of the Test Runner.Learn more about this pre-release build at https://on.cypress.io/advanced-installation#Install-pre-release-version
Run this command to install the pre-release locally:
5d42406
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Circle has built the
darwin arm64
version of the Test Runner.Learn more about this pre-release build at https://on.cypress.io/advanced-installation#Install-pre-release-version
Run this command to install the pre-release locally:
5d42406
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Circle has built the
win32 x64
version of the Test Runner.Learn more about this pre-release build at https://on.cypress.io/advanced-installation#Install-pre-release-version
Run this command to install the pre-release locally: