In my eslint.json
I have a rules config
{ … “Rules”:{ … } }
My ryles for testing library also implements for playwright, so my rule: “Testing-library/prefer-screen-queries”: “error” Gives errors in playwright because that uses page and not screen for the test how can i differentiate this rule correctly ?
Thanks in advance ! 🙌🏻🤞🏻
This thread is trying to answer question "How can I differentiate the 'Testing-library/prefer-screen-queries' rule in eslint that is causing errors in playwright?"
Rayrun is a community for QA engineers. I am constantly looking for new ways to add value to people learning Playwright and other browser automation frameworks. If you have feedback, email [email protected].