mirror of
https://github.com/microsoft/playwright.git
synced 2025-06-26 21:40:17 +00:00

Changed the logic to add attachment to the zip in onEnd rather than onTestEnd because attachment files can be deleted if e.g. preserveOutput option is specified. Instead we add files once all workers have been shut down. On a simple run with 1000 tests each adding 1Mb attachment the overall time difference is 49s (streaming attachments) v 1m9s (attachments added in the end).
@playwright/test
This package contains Playwright Test. A test-runner for writing idiomatic and reliable end-to-end tests with Playwright.