Fix missing model dialog test (#782)

This commit is contained in:
Chenlei Hu
2024-09-11 21:00:32 +09:00
committed by GitHub
parent b8bdba0bcc
commit f2a30ec197

View File

@@ -70,6 +70,9 @@ test.describe('Execution error', () => {
test.describe('Missing models warning', () => {
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', [
'http://localhost:8188'
])