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:
Dmitriy Vasyura
2026-01-26 22:18:34 -08:00
committed by GitHub
parent afaa5b6a1c
commit 7d0760daa3
9 changed files with 388 additions and 15 deletions

View File

@@ -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' });