guardian / guardian/dotcom-rendering

Cache Playwright Browser Downloads

Open
#15,984 1 comment 0 reactions 0 assignees View on GitHub
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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.