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

Error Rule does not apply when you are using page objects #84

Open
agutierrezasapp opened this issue Aug 24, 2021 · 0 comments
Open

Error Rule does not apply when you are using page objects #84

agutierrezasapp opened this issue Aug 24, 2021 · 0 comments
Labels

Comments

@agutierrezasapp
Copy link

Hello team,
I'm using eslint-plugin-cypress and I defined the rule 'cypress/no-force': 'error'm but if I have a Page object that executes a click, I can use the ({force: true}) without any error
adminPage.objectToClick().click({ force: true })
Is there any way to fix that?

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

No branches or pull requests

2 participants