Adding __terminal__ reference on terminal scripts (#1947)

This commit is contained in:
Andrea Giammarchi
2024-01-22 15:34:36 +01:00
committed by GitHub
parent 7ad7f0abfb
commit cea52b4334
8 changed files with 135 additions and 76 deletions

View File

@@ -62,3 +62,14 @@ test('MicroPython + configURL', async ({ page }) => {
await page.goto('http://localhost:8080/test/config-url.html');
await page.waitForSelector('html.main.worker');
});
test('Pyodide + terminal on Main', async ({ page }) => {
await page.goto('http://localhost:8080/test/py-terminal-main.html');
await page.waitForSelector('html.ok');
});
test('Pyodide + terminal on Worker', async ({ page }) => {
await page.goto('http://localhost:8080/test/py-terminal-worker.html');
await page.waitForSelector('html.ok');
});