playwright-test-coverage icon indicating copy to clipboard operation
playwright-test-coverage copied to clipboard

Use in a single page environment setup?

Open olaf-k opened this issue 10 months ago • 0 comments

first off, thank you @mxschmitt for this very useful repo; it is a great example short of a native PW feature.

I was wondering how I would go about adapting the fixture code to work with tests reusing the same page? I understand page/context fixtures have an on-each-test lifecycle, so is there a clean way to somehow "link" them to a global page instance?

olaf-k avatar Apr 23 '24 13:04 olaf-k