Skip to content

Commit

Permalink
Adjust setting in test
Browse files Browse the repository at this point in the history
  • Loading branch information
huchenlei committed Aug 27, 2024
1 parent 0d63bb7 commit 9e350d7
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions browser_tests/dialog.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,15 @@ test.describe('Execution error', () => {
})

test.describe('Missing models warning', () => {
test.beforeEach(async ({ comfyPage }) => {
await comfyPage.setSetting('Comfy.Workflow.ModelDownload.AllowedSources', [
'http://localhost:8188'
])
await comfyPage.setSetting('Comfy.Workflow.ModelDownload.AllowedSuffixes', [
'.safetensors'
])
})

test('Should display a warning when missing models are found', async ({
comfyPage
}) => {
Expand Down

0 comments on commit 9e350d7

Please sign in to comment.