(id)
| 1876 | const askedWith = []; |
| 1877 | |
| 1878 | const pickModel = async (id) => { |
| 1879 | await openSettingsByMenu(page); |
| 1880 | await page.click(`button[data-testid="atlas-settings-model-pick"][data-model="${id}"]`); |
| 1881 | await page.waitForFunction( |
| 1882 | (wanted) => globalThis.__atlasSettings?.selectedModel === wanted, |
| 1883 | id, |
| 1884 | { timeout: 30000 }, |
| 1885 | ); |
| 1886 | await page.waitForTimeout(2500); |
| 1887 | }; |
| 1888 | |
| 1889 | for (const id of [modelIdB, modelIdA]) { |
| 1890 | await pickModel(id); |
no test coverage detected