Fix #2160 - Implement progress events (#2162)

This commit is contained in:
Andrea Giammarchi
2024-09-12 18:41:36 +02:00
committed by GitHub
parent ee3cd76022
commit e36a57eb06
5 changed files with 186 additions and 163 deletions

View File

@@ -102,3 +102,10 @@ test('MicroPython async @when listener', async ({ page }) => {
await page.goto('http://localhost:8080/tests/js-integration/async-listener.html');
await page.waitForSelector('html.ok');
});
test('Pyodide loader', async ({ page }) => {
await page.goto('http://localhost:8080/tests/js-integration/loader/index.html');
await page.waitForSelector('html.ok');
const body = await page.evaluate(() => document.body.textContent);
await expect(body.includes('Loaded Pyodide')).toBe(true);
});