guardian / guardian/dotcom-rendering
Cache Playwright Browser Downloads
Open
- Dominant language
- TypeScript
- Stars
- 274
- Forks
- 34
- Avg merge
- 2d 22h
- Merged PRs (30d)
- 121
Description
At the moment we have eight playwright tests running in parallel, each of which downloads a browser (Chrome) to run its tests, every time the tests run.
Can we cache these downloads so that a) later tests can use the download cached by earlier ones, and b) parallel tests _may_ be able to use a download saved by another test if it occurs in time.
This should reduce bandwidth usage, improve reliability (download failures), and possibly speed up the tests.
Contributor guide
Assessment
This issue has not been assessed yet.