test(desktop): match lending restart indicator copy
This commit is contained in:
1 parent
9a694d986d
commit
6b53ef32e7
1 file changed
+2
-2
@@ -702,14 +702,14 @@ test('model lending inspects Ollama, saves selected models and shows restart sta
|
||||
await page.getByRole('checkbox', { name: 'second-model' }).uncheck()
|
||||
await page.getByRole('checkbox', { name: 'Make this machine’s models available to the pool' }).check()
|
||||
await page.getByRole('button', { name: 'Save lending settings' }).click()
|
||||
await page.getByText('Restart the node to apply', { exact: true }).first().waitFor()
|
||||
await page.getByText('Restart to apply lending or address changes', { exact: true }).first().waitFor()
|
||||
await page.reload()
|
||||
await open(page, 'Settings')
|
||||
await page.getByRole('button', { name: 'Check connection' }).click()
|
||||
await page.getByRole('checkbox', { name: 'Make this machine’s models available to the pool', checked: true }).waitFor()
|
||||
await page.getByRole('checkbox', { name: 'test-model', checked: true }).waitFor()
|
||||
await page.getByRole('checkbox', { name: 'second-model', checked: false }).waitFor()
|
||||
await page.getByText('Restart the node to apply', { exact: true }).first().waitFor()
|
||||
await page.getByText('Restart to apply lending or address changes', { exact: true }).first().waitFor()
|
||||
} finally {
|
||||
await app.close()
|
||||
profile.remove()
|
||||
|
||||
Reference in new issue
Block a user