| 621 | /* K6: Kamera auf den Pfad, Kantenlabels frei von Namen */ |
| 622 | |
| 623 | async function pickPath(page, name) { |
| 624 | const picker = page.locator('details.atlas-graph-path-picker').first(); |
| 625 | await picker.locator('summary').click(); |
| 626 | const search = page.getByRole('searchbox', { name: 'Find a path target' }); |
| 627 | await search.fill(''); |
| 628 | await search.type(name, { delay: 15 }); |
| 629 | await page.locator('.atlas-graph-path-menu button', { has: page.locator('strong', { hasText: new RegExp(`^${name}$`) }) }).first().click(); |
| 630 | } |
| 631 | |
| 632 | async function pathLayout(page) { |
| 633 | return page.evaluate(() => { |