mirror of
https://github.com/microsoft/vscode.git
synced 2026-05-02 14:31:31 +01:00
Add WSL sanity tests (#290682)
* Add WSL sanity tests * Ensure WSL is installed and ready in Windows test script * Try to get Ubuntu WSL installed if not present * Use correct URL * Fix win32 setup script * Script update * Another script fix
This commit is contained in:
@@ -122,8 +122,7 @@ export function setup(context: TestContext) {
|
||||
|
||||
async function runUITest(url: string, test: UITest) {
|
||||
const browser = await context.launchBrowser();
|
||||
const page = await browser.newPage();
|
||||
page.setDefaultTimeout(2 * 60 * 1000);
|
||||
const page = await context.getPage(browser.newPage());
|
||||
|
||||
context.log(`Navigating to ${url}`);
|
||||
await page.goto(url, { waitUntil: 'networkidle' });
|
||||
|
||||
Reference in New Issue
Block a user