diff --git a/browser_tests/dialog.spec.ts b/browser_tests/dialog.spec.ts index a869407ba..66bc89bda 100644 --- a/browser_tests/dialog.spec.ts +++ b/browser_tests/dialog.spec.ts @@ -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' ])