(page)
| 54 | } |
| 55 | |
| 56 | async function waitForTests(page) { |
| 57 | let result; |
| 58 | do { |
| 59 | result = await page.evaluate(() => { |
| 60 | return window.global_test_results; |
| 61 | }); |
| 62 | } while (!result); |
| 63 | return result; |
| 64 | } |
| 65 | |
| 66 | async function runTests() { |
| 67 | const results = await runBrowsers(waitForTests, "index.html?hidepassed"); |
nothing calls this directly
no outgoing calls
no test coverage detected