(page, name)
| 171 | await wait(1000); |
| 172 | } |
| 173 | async function select(page, name) { |
| 174 | const input = page.getByRole('searchbox', { name: 'Find a graph node' }).first(); |
| 175 | await input.click(); |
| 176 | await input.fill(''); |
| 177 | await input.type(name, { delay: 25 }); |
| 178 | const choice = page.locator('.atlas-galaxy-search-results button', { has: page.locator('strong', { hasText: new RegExp(`^${name}$`) }) }).first(); |
| 179 | await choice.waitFor({ timeout: 20000 }); |
| 180 | await choice.click(); |
| 181 | } |
| 182 | async function scopeSettled(page, timeout = 30000) { |
| 183 | await page.waitForFunction(() => { |
| 184 | const text = document.querySelector('.atlas-graph-exploration')?.textContent ?? ''; |
no outgoing calls
no test coverage detected