Skip to content

Commit

Permalink
Test dialog
Browse files Browse the repository at this point in the history
  • Loading branch information
huchenlei committed Jan 25, 2025
1 parent 0081173 commit e5eea35
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions browser_tests/dialog.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -120,6 +120,13 @@ test.describe('Missing models warning', () => {
await expect(missingModelsWarning).not.toBeVisible()
})

test('should show on tutorial workflow', async ({ comfyPage }) => {
await comfyPage.setSetting('Comfy.TutorialCompleted', false)
await comfyPage.setup({ clearStorage: true })
const missingModelsWarning = comfyPage.page.locator('.comfy-missing-models')
await expect(missingModelsWarning).toBeVisible()
})

// Flaky test after parallelization
// https://github.com/Comfy-Org/ComfyUI_frontend/pull/1400
test.skip('Should download missing model when clicking download button', async ({
Expand Down

0 comments on commit e5eea35

Please sign in to comment.