-
Notifications
You must be signed in to change notification settings - Fork 3.2k
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
accept options.ensure
to disable actionability checks
#4881
Conversation
What do you think of calling this option |
I like |
another question is whether we want this exposed in our command options API, similar to how users can do If we do want to expose this in options API, we should probably do so in a similar verbiage to |
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 |
I think this should go in. This does not affect end-user API and only changes one command file |
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.
Have some notes on possibly changing the names of a couple methods, logic looks good though. 👍
@@ -153,6 +153,14 @@ describe "src/cy/commands/actions/focus", -> | |||
cy.get("[data-cy=rect]").focus().then -> | |||
expect(onFocus).to.be.calledOnce | |||
|
|||
it "can focus on readonly inputs", -> |
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.
Because this is the test that is effectively testing this entire PR - it needs a link above the issue to the issue that it's fixing.
) * accept ensure option on actionability * remove left-in code * update type_spec for changed error message * remove unneeded code, allow focused to be validated for readonly * address TODO in type.coffee about scrolling before typing into already focused * rename ensureReceiveablility -> ensureNotDisabled, revert error message
fix #4874
tasks
Pre-merge Tasks