Closed HilalPosluoglu closed 10 months ago
I think I'm having roughly the same problem. Some test failures are completed in the wrong order. Closing of fixtures (After Hooks) occurs ahead of time. The problem will not always be reproduced
Screenshot from the report:
I used several debug events (pw:api pw:test) Here I also see that in the process of closing the fixtures, logs are generated from the test step
Tried it on versions 1.38.1 and 1.40.1.
If this is a bug report, please follow the [BUG] report template to file something we can reproduce.
SOLVED: it was just a simple missing 'await' in front of some function calls which caused the mentioned error !!!
System info
Source code
Config file
[Describe expected behavior]
Actions should run before After Hooks
[Describe actual behavior]
Some of the actions (red marked on screenshot) run after the 'After Hooks' Hello all, What am I doing wrong here? This my second project in playwright. In the first project I didn't face an issue like this and evreything went well. Why are here some actions taking place after 'After Hooks' ?