| 467 | }; |
| 468 | |
| 469 | const openApp = async (project) => { |
| 470 | await page.goto(`${origin}/?project=${project}`, { waitUntil: 'load' }); |
| 471 | await page.waitForSelector('[data-testid="atlas-statusbar"]', { timeout: 30000 }); |
| 472 | await page.waitForSelector('[data-testid="atlas-tree-row"]', { timeout: 30000 }); |
| 473 | await page.waitForSelector('[data-testid="atlas-galaxy-scene"]', { timeout: 60000 }); |
| 474 | await page.waitForFunction( |
| 475 | () => (globalThis.__atlasGalaxy?.nodes ?? 0) > 0, |
| 476 | undefined, |
| 477 | { timeout: 60000 }, |
| 478 | ); |
| 479 | }; |
| 480 | |
| 481 | const expandAll = async () => { |
| 482 | for (let round = 0; round < 12; round += 1) { |