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
In version 1.51 a weird exception happens TypeError: Cannot read properties of undefined (reading 'expectInfo')
I suspect it is related to this commit 4b64c47
Playwright is not Jest, we don't support extending async matchers. But more importantly, how is it that your asymmetric matchers are on the left-hand side? Should be only right-hand side!
This is not an async matcher, where do you see async behavior?
it checks if property is undefined or instance of something
like a can be undefined or number 3 for example. (just an enhanced version of expect.any)
We are running this code for years in playwright, and it broke in v1.51
But more importantly, how is it that your asymmetric matchers are on the left-hand side? Should be only right-hand side!
Last Good Version
1.50
First Bad Version
1.51
Steps to reproduce
Expected behavior
In version 1.50 the error message was clear
Actual behavior
In version 1.51 a weird exception happens TypeError: Cannot read properties of undefined (reading 'expectInfo')
I suspect it is related to this commit 4b64c47
Additional context
No response
Environment
The text was updated successfully, but these errors were encountered: