I use the recommended dependency pattern from the doc, which is very well explained for the setup part. But I'm struggling with the teardown part, as I can't find any examples of what the gloabal.teardown.ts
file should contain.
I've tried to use a test function in it, mimicking the setup, but it fails with no logs at all (my setup succeeded with no logs at all either) contrary to what I understood from the docs
I'm willing to contribute to the docs to make it more clear about it, once I'll have really understand it myself 😄
This thread is trying to answer question "What should the `global.teardown.ts` file contain in the recommended dependency pattern?"
Rayrun is a community for QA engineers. I am constantly looking for new ways to add value to people learning Playwright and other browser automation frameworks. If you have feedback, email [email protected].