cypress-io / eslint-plugin-cypress

An ESLint plugin for projects that use Cypress

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Error Rule does not apply when you are using page objects

agutierrezasapp opened this issue · comments

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?