This thread is trying to answer question "Does Playwright run the global setup for each test shard when using GitHub actions to shard a test suite?"
Ok reporting back!
I included some log statements in my global setup file.
After inspecting the github actions output, I am seeing this log statement called in each individual shard.
So my summation is that the global setup is run for each test shard. Please correct me if I'm wrong!
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].