Closed stevez closed 1 year ago
I just realize there is no screen shot attached in the test report, I found: 1) no test-results folder created 2) no screen shot image in the html test report,
I believe it is due to import test from the baseFixtures in stead of '@playwright/test", when I use '@playwright/test', the the screenshots are generated. Please refer my test branch to reproduce: https://github.com/stevez/playwright-test-coverage/tree/test-screenshot
I found this: https://github.com/microsoft/playwright/issues/7777, the solution would be remove page.close()
created the pull request: https://github.com/mxschmitt/playwright-test-coverage/pull/9
The fix is merged
I just realize there is no screen shot attached in the test report, I found: 1) no test-results folder created 2) no screen shot image in the html test report,
I believe it is due to import test from the baseFixtures in stead of '@playwright/test", when I use '@playwright/test', the the screenshots are generated. Please refer my test branch to reproduce: https://github.com/stevez/playwright-test-coverage/tree/test-screenshot