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
For historical reasons, most of the Playwright tests in my codebase use test.expect(...) instead of directly importing expect from Playwright. I don't really know why, it might have something to do with the use of fixtures.
The playwright/expect-expect lint does not support the use of test.expect(...), and I need to either disable this lint, or rewrite all my tests to use the bare expect(...) version.
Is there a reason why this is the case, or is it just not very common that people use test.expect and I've run into a bug here? In that case, I'm happy to create a pull request to fix this.
The text was updated successfully, but these errors were encountered:
For historical reasons, most of the Playwright tests in my codebase use
test.expect(...)
instead of directly importingexpect
from Playwright. I don't really know why, it might have something to do with the use of fixtures.The
playwright/expect-expect
lint does not support the use oftest.expect(...)
, and I need to either disable this lint, or rewrite all my tests to use the bareexpect(...)
version.Is there a reason why this is the case, or is it just not very common that people use
test.expect
and I've run into a bug here? In that case, I'm happy to create a pull request to fix this.The text was updated successfully, but these errors were encountered: