mirror of
https://github.com/Comfy-Org/ComfyUI_frontend.git
synced 2026-04-30 11:11:53 +00:00
Fix missing model dialog test (#782)
This commit is contained in:
@@ -70,6 +70,9 @@ test.describe('Execution error', () => {
|
|||||||
|
|
||||||
test.describe('Missing models warning', () => {
|
test.describe('Missing models warning', () => {
|
||||||
test.beforeEach(async ({ comfyPage }) => {
|
test.beforeEach(async ({ comfyPage }) => {
|
||||||
|
await comfyPage.page.evaluate((url: string) => {
|
||||||
|
return fetch(`${url}/api/devtools/cleanup_fake_model`)
|
||||||
|
}, comfyPage.url)
|
||||||
await comfyPage.setSetting('Comfy.Workflow.ModelDownload.AllowedSources', [
|
await comfyPage.setSetting('Comfy.Workflow.ModelDownload.AllowedSources', [
|
||||||
'http://localhost:8188'
|
'http://localhost:8188'
|
||||||
])
|
])
|
||||||
|
|||||||
Reference in New Issue
Block a user