(page, timeout = 10000)
| 144 | } |
| 145 | |
| 146 | async function waitForSplashScreenHidden(page, timeout = 10000) { |
| 147 | const splash = page.locator('#app-splash-screen').first(); |
| 148 | if (!(await splash.count().catch(() => 0))) { |
| 149 | return; |
| 150 | } |
| 151 | await splash.waitFor({ state: 'hidden', timeout }).catch(() => {}); |
| 152 | } |
| 153 | |
| 154 | async function ensureNavigationSection(page, section) { |
| 155 | const configs = { |
no test coverage detected