Add optional report feature to error dialog (#2229)

Co-authored-by: github-actions <github-actions@github.com>
This commit is contained in:
bymyself
2025-01-12 11:23:02 -07:00
committed by GitHub
parent d9b350e159
commit 9d3bc0f173
19 changed files with 733 additions and 72 deletions

View File

@@ -44,6 +44,18 @@ test.describe('Execution error', () => {
const executionError = comfyPage.page.locator('.comfy-error-report')
await expect(executionError).toBeVisible()
})
test('Can display Issue Report form', async ({ comfyPage }) => {
await comfyPage.loadWorkflow('execution_error')
await comfyPage.queueButton.click()
await comfyPage.nextFrame()
await comfyPage.page.getByLabel('Help Fix This').click()
const issueReportForm = comfyPage.page.getByText(
'Submit Error Report (Optional)'
)
await expect(issueReportForm).toBeVisible()
})
})
test.describe('Missing models warning', () => {