mirror of
https://github.com/microsoft/playwright.git
synced 2025-06-26 21:40:17 +00:00
The new (as of 1.18) `async testInfo.attach(…)` API handles this gracefully (and is part of the reason for the new API's existence). However, for the foreseeable future, it's still possible to manually push onto the attachments array where we can't validate the contents until it's too late, so this change ensures more graceful handling in that case. Fixes #11565
@playwright/test
This package contains Playwright Test. A test-runner for writing idiomatic and reliable end-to-end tests with Playwright.