-
Notifications
You must be signed in to change notification settings - Fork 42
Feature add no force option rule #47
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
Feature add no force option rule #47
Conversation
@@ -22,6 +23,7 @@ module.exports = { | |||
"playwright/no-focused-test": "error", | |||
"playwright/no-skipped-test": "warn", | |||
"playwright/no-wait-for-timeout": "warn", | |||
"playwright/no-force-option": "warn", |
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.
This one, I'm not sure about for the default rules, I can see both sides. @mxschmitt Thoughts?
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.
usually you never have to use force. Only when Playwright has bugs or the application which you are testing does not follow the accessibility standards. So I'd vote for emitting a warning, if users scream, we can change it anyway or they disable the rule manually.
…nt-plugin-playwright into feature-add-no-force-option-rule
#43