Skip to content
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

Update logic of actionability to check for "writability" only if the action is "typing" #4875

Closed
wants to merge 2 commits into from

Conversation

jennifer-shehane
Copy link
Member

@cypress
Copy link

cypress bot commented Jul 30, 2019



Test summary

3330 0 47 1


Run details

Project cypress
Status Passed
Commit e29fda3
Started Jul 30, 2019 10:58 AM
Ended Jul 30, 2019 11:04 AM
Duration 05:49 💡
OS Linux Debian - 8.10
Browser Multiple

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

@jennifer-shehane jennifer-shehane requested a review from a team July 30, 2019 13:42
@kuceb kuceb self-requested a review July 30, 2019 14:14
@kuceb
Copy link
Contributor

kuceb commented Jul 30, 2019

I wouldn't pass actionType like that into actionability, I would let actionability take configuration on which ensures to verify not let it know about what command it is verifying for. This way it is a proper abstraction.

I've got that logic in a (wip) PR here #4870

Unless this needs to go out in a patch I suggest we close in favor of that PR

@brian-mann
Copy link
Member

@bkucera can you help extract that logic and apply it to this PR?

@kuceb
Copy link
Contributor

kuceb commented Jul 30, 2019

@brian-mann sure, so patch it is

Edit: here #4881

@jennifer-shehane
Copy link
Member Author

@bkucera Yeah, I didn't like my own implementation haha. But wasn't sure how else to do it.

This PR will likely go out in 3.5.0, unless there are some other patch fixes in the meantime that necessitate 3.4.2. Not sure if your simulated type fixes will go in that fast. But - it's a regression that needs to be fixed asap.

@kuceb
Copy link
Contributor

kuceb commented Jul 31, 2019

@jennifer-shehane well, thanks for the tests!

@kuceb kuceb closed this Jul 31, 2019
@kuceb
Copy link
Contributor

kuceb commented Jul 31, 2019

closing in favor of #4881

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Cannot click on 'readonly' inputs / textarea
3 participants