Fix #2156 - Test @when with async listener (#2157)

This commit is contained in:
Andrea Giammarchi
2024-09-06 14:56:50 +02:00
committed by GitHub
parent 7b9f7c13f5
commit e525d54be0
3 changed files with 30 additions and 1 deletions

View File

@@ -97,3 +97,8 @@ test('MicroPython Editor setup error', async ({ page }) => {
await page.goto('http://localhost:8080/tests/js-integration/issue-2093/index.html');
await page.waitForSelector('html.errored');
});
test('MicroPython async @when listener', async ({ page }) => {
await page.goto('http://localhost:8080/tests/js-integration/async-listener.html');
await page.waitForSelector('html.ok');
});