(page)
| 145 | await wait(400); |
| 146 | } |
| 147 | async function closeConfig(page) { |
| 148 | if (await page.locator('dialog.cbm-agent-settings').count()) await page.getByRole('button', { name: 'Close agent configuration' }).click(); |
| 149 | await wait(300); |
| 150 | } |
| 151 | async function loadModel(page) { |
| 152 | if (/Agent active/.test(await agentLabel(page) ?? '')) return true; |
| 153 | await openConfig(page); |
no test coverage detected