vbump playwright to vs code latest (#18005)

* bump playwright to vs code latest

* update install playwright install files
This commit is contained in:
Vasu Bhog
2022-01-06 13:44:48 -08:00
committed by GitHub
parent a9885ed488
commit ae8d1b868a
4 changed files with 45 additions and 14 deletions

View File

@@ -5,8 +5,8 @@
*--------------------------------------------------------------------------------------------*/
Object.defineProperty(exports, "__esModule", { value: true });
const retry_1 = require("./retry");
const { installBrowsersWithProgressBar } = require('playwright/lib/install/installer');
const { installDefaultBrowsersForNpmInstall } = require('playwright-core/lib/utils/registry');
async function install() {
await (0, retry_1.retry)(() => installBrowsersWithProgressBar());
await (0, retry_1.retry)(() => installDefaultBrowsersForNpmInstall());
}
install();

View File

@@ -0,0 +1,13 @@
/*---------------------------------------------------------------------------------------------
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the Source EULA. See License.txt in the project root for license information.
*--------------------------------------------------------------------------------------------*/
import { retry } from './retry';
const { installDefaultBrowsersForNpmInstall } = require('playwright-core/lib/utils/registry');
async function install() {
await retry(() => installDefaultBrowsersForNpmInstall());
}
install();