-
Notifications
You must be signed in to change notification settings - Fork 3.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
3.5.0 - fix click events sent to proper element, respect selection changes during cy.click #5496
Conversation
Thanks for the contribution! Below are some guidelines Cypress uses when doing PR reviews.
PR Review ChecklistIf any of the following requirements can't be met, leave a comment in the review selecting 'Request changes', otherwise 'Approve'. User Experience
Functionality
Maintainability
Quality
Internal
|
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.
Can you add any links to the bugs this PR is fixing in the tests or code that was added?
Going to pull this down now and actually run it against the open issues.
packages/driver/test/cypress/integration/commands/actions/click_spec.js
Outdated
Show resolved
Hide resolved
…ge' into fix-focus-handler-selection-change
@jennifer-shehane I added an issue this fixes, #5439 see this commit 5dd1a52 |
I confirmed this also fixes #5439 |
@@ -47,7 +47,7 @@ | |||
"set-next-ci-version": "node ./scripts/binary.js setNextVersion", | |||
"prestart": "npm run check-deps-pre", | |||
"start": "node ./cli/bin/cypress open --dev --global", | |||
"stop-only": "npx stop-only --skip .cy,.publish,.projects,node_modules,dist,dist-test,fixtures,lib,bower_components --exclude e2e.coffee", | |||
"stop-only": "npx stop-only --skip .cy,.publish,.projects,node_modules,dist,dist-test,fixtures,lib,bower_components,src --exclude e2e.coffee", |
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.
Does this address this issue? #5518
fix 3.5.0 cy.click() behavior change caused broken tests #5459
fix 3.5.0 Input select-on-focus no longer working #5456
fix Typing a modifier key anywhere removes selected text from an input in 3.5.0 #5439
User facing changelog
cy.click()
3.5.0 cy.click() behavior change caused broken tests #5459cy.type()
3.5.0 Input select-on-focus no longer working #5456cy.type()
Typing a modifier key anywhere removes selected text from an input in 3.5.0 #5439Additional details
How has the user experience changed?
mousedown
event, we no longer send a click to itPR Tasks
cypress-documentation
?type definitions
?cypress.schema.json
?