Cypress linting - avoid certain attributes #20603
Unanswered
Haribalajiravi
asked this question in
Questions and Help
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I have a requirement like to avoid certain attribute selection on cy.get()
eg. attributes like ng-*, ng-reflect
since these are only available on angular dev mode. same attributes wont be available on production. So need to throw error on linting to devs to avoid such attribute selection.
is there any eslint rule already available?
Beta Was this translation helpful? Give feedback.
All reactions