You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Our playwright project uses some pretty heavy page object model, which means in the test bodies, most of the expect() calls are within methods like pageObject.assertUIVisibility().
For now, we have the expect-expect rule turned off in the eslintrc.json file, but ideally we can re-enable this rule by taking advantage of the assertFunctionNames config.
Instead of needing to add every single assertion function to this list, would it be possible to allow regular expressions into this config? Something like:
Our playwright project uses some pretty heavy page object model, which means in the test bodies, most of the
expect()
calls are within methods like pageObject.assertUIVisibility().For now, we have the expect-expect rule turned off in the eslintrc.json file, but ideally we can re-enable this rule by taking advantage of the assertFunctionNames config.
Instead of needing to add every single assertion function to this list, would it be possible to allow regular expressions into this config? Something like:
Related issues in jest:
jest-community/eslint-plugin-jest#1103
The text was updated successfully, but these errors were encountered: