From f2a30ec1970cc04c5c23435cdd519ba066b2df88 Mon Sep 17 00:00:00 2001 From: Chenlei Hu Date: Wed, 11 Sep 2024 21:00:32 +0900 Subject: [PATCH] Fix missing model dialog test (#782) --- browser_tests/dialog.spec.ts | 3 +++ 1 file changed, 3 insertions(+) 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' ])