Playwright – storageState and globalSetup not working properly with POM
I’m using Playwright to write my e2e tests. I have been using beforeEach hooks but I have decided that it would be better to use a global setup. It seems however that the storage state is not properly passed to the tests themselves or maybe my whole implementation is just wrong.