-
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
Renames: issue 2957 #4879
Renames: issue 2957 #4879
Conversation
e865084
to
2c7c842
Compare
2c7c842
to
ceebbb4
Compare
Test summaryRun details
View run in Cypress Dashboard ➡️ This comment has been generated by cypress-bot as a result of this project's GitHub integration settings. You can manage this integration in this project's settings in the Cypress Dashboard |
ceebbb4
to
2ee3347
Compare
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 first decaf these files as a separate PR in which you do not change any logic in them? They should be 1:1 transformations, and then we can focus on the cy.internal stuff.
42bd618
to
0209f3d
Compare
@@ -4334,7 +4333,7 @@ describe('src/cy/commands/actions/type', () => { | |||
cy.on('fail', (err) => { | |||
expect(this.logs.length).to.eq(2) | |||
|
|||
const allChars = _.keys(Keyboard.specialChars).concat(_.keys(Keyboard.modifierChars)).join(', ') | |||
const allChars = _.keys(cy.devices.keyboard.specialChars).concat(_.keys(cy.devices.keyboard.modifierChars)).join(', ') |
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.
Now that I see this - these should probably be constants on the class, not the instance. approving anyway.
* [rename only] {keyboard,mouse}.js * refactor keyboard/mouse into cy/ * fix cy.type for refactor * fix e2e test error * commands now recieve devices as separate prop * add .history to .estlintignore * fix linting errors * remove passing log and devices to commands, pull devices off of cy * fix commands.coffee Co-authored-by: Brian Mann <brian.mann86@gmail.com>
refactors cypress/{keyboard,mouse} utils into cy/ to manage them as stateful utils on cy.
decaffeinate
actions/type.coffee
no tests needed, this is a refactor
waiting on Decaf simulated type fixes 2 #4906
need input:
cy.internal
tocy.devices