Closed LisandroQA closed 1 month ago
I'm not sure what you are trying to do and what your expectations are. I see the same error, it looks reasonable, you can't set properties of undefined.
In either case, does not look related to Playwright, so closing.
It is related to playwright, until version 1.47 (you can test the code with 1.46 for example) it was working fine and now with 1.47.x it is giving undefined, nothing in our code changed.
For more context, what I'm doing is executing some code to populate the db for the tests.
Version
1.47.2
Steps to reproduce
npx playwright test
from the command line)Expected behavior
The test should pass and display the following in the console:
Actual behavior
When using playwright 1.47.x the value of
this
is undefined while in previous version it has a lot of information.I don't know if maybe it is something related with required 🤔
I tried to debug it, but I couldn't find much. So this is the console error so far:
Thank you so much!
Additional context
This is not happening in versions lower than 1.47 (1.46.1 is working fine).
Environment