(page, name)
| 176 | } |
| 177 | |
| 178 | async function select(page, name) { |
| 179 | const input = page.getByRole('searchbox', { name: 'Find a graph node' }).first(); |
| 180 | await input.click(); |
| 181 | await input.fill(''); |
| 182 | await input.type(name, { delay: 25 }); |
| 183 | const choice = page.locator('.atlas-galaxy-search-results button', { has: page.locator('strong', { hasText: new RegExp(`^${name}$`) }) }).first(); |
| 184 | await choice.waitFor({ timeout: 20000 }); |
| 185 | await choice.hover(); |
| 186 | await choice.click(); |
| 187 | } |
| 188 | |
| 189 | /** Bis die Statuszeile einen fertigen Ausschnitt meldet. */ |
| 190 | async function scopeSettled(page, timeout = 20000) { |
no outgoing calls
no test coverage detected