(page, project, workspace)
| 222 | } |
| 223 | |
| 224 | async function open(page, project, workspace) { |
| 225 | await page.goto(`${ORIGIN}/?project=${encodeURIComponent(project)}&workspace=${workspace}`, { waitUntil: 'domcontentloaded' }); |
| 226 | await page.waitForSelector('.atlas-shell', { timeout: 30000 }); |
| 227 | await wait(1500); |
| 228 | } |
| 229 | |
| 230 | async function galaxyReady(page, timeout = 60000) { |
| 231 | await page.waitForFunction(() => (globalThis.__atlasGalaxy?.nodes ?? 0) > 0 && globalThis.__atlasGalaxyFit !== undefined, null, { timeout }); |
no test coverage detected