From f15ff0354b4fc30a64e88caed47c51ebed7e73d4 Mon Sep 17 00:00:00 2001 From: Andrey Lushnikov Date: Thu, 28 Oct 2021 02:15:26 -0700 Subject: [PATCH] fix: align default docker image download with the docker integration (#9842) The docker image that we download should match the one we expect while running tests in docker. --- packages/playwright-core/src/cli/cli.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/playwright-core/src/cli/cli.ts b/packages/playwright-core/src/cli/cli.ts index c1c99ade79..1e1391d3ab 100755 --- a/packages/playwright-core/src/cli/cli.ts +++ b/packages/playwright-core/src/cli/cli.ts @@ -115,7 +115,7 @@ program const installDockerImage = args.some(arg => arg === 'docker-image'); args = args.filter(arg => arg !== 'docker-image'); if (installDockerImage) { - const imageName = `mcr.microsoft.com/playwright:v${getPlaywrightVersion()}`; + const imageName = `mcr.microsoft.com/playwright:v${getPlaywrightVersion()}-focal`; const { code } = await spawnAsync('docker', ['pull', imageName], { stdio: 'inherit' }); if (code !== 0) { console.log('Failed to pull docker image');