This thread is trying to answer question "Why is the global setup not working in the user's project?"
that's an odd way to handle a global setup. Why not just use the regular/official way described here? anything preventing this approach? https://playwright.dev/docs/test-global-setup-teardown#configure-globalsetup-and-globalteardown
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].