mirror of
https://github.com/Comfy-Org/ComfyUI_frontend.git
synced 2026-04-19 22:09:37 +00:00
fix(test): enable QPOV2 setting so job history sidebar tab is registered
The job history sidebar tab is only rendered when Comfy.Queue.QPOV2 is true (default: false). All 11 tests timed out waiting for the tab button. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -49,6 +49,7 @@ const ALL_JOBS = [...COMPLETED_JOBS, ...FAILED_JOBS]
|
||||
test.describe('Job history sidebar - display', () => {
|
||||
test.beforeEach(async ({ comfyPage }) => {
|
||||
await comfyPage.assets.mockOutputHistory(ALL_JOBS)
|
||||
await comfyPage.settings.setSetting('Comfy.Queue.QPOV2', true)
|
||||
await comfyPage.setup()
|
||||
})
|
||||
|
||||
@@ -100,6 +101,7 @@ test.describe('Job history sidebar - display', () => {
|
||||
test.describe('Job history sidebar - filter tabs', () => {
|
||||
test.beforeEach(async ({ comfyPage }) => {
|
||||
await comfyPage.assets.mockOutputHistory(ALL_JOBS)
|
||||
await comfyPage.settings.setSetting('Comfy.Queue.QPOV2', true)
|
||||
await comfyPage.setup()
|
||||
})
|
||||
|
||||
@@ -160,6 +162,7 @@ test.describe('Job history sidebar - filter tabs', () => {
|
||||
test.describe('Job history sidebar - search', () => {
|
||||
test.beforeEach(async ({ comfyPage }) => {
|
||||
await comfyPage.assets.mockOutputHistory(ALL_JOBS)
|
||||
await comfyPage.settings.setSetting('Comfy.Queue.QPOV2', true)
|
||||
await comfyPage.setup()
|
||||
})
|
||||
|
||||
@@ -192,6 +195,7 @@ test.describe('Job history sidebar - search', () => {
|
||||
test.describe('Job history sidebar - empty state', () => {
|
||||
test.beforeEach(async ({ comfyPage }) => {
|
||||
await comfyPage.assets.mockOutputHistory([])
|
||||
await comfyPage.settings.setSetting('Comfy.Queue.QPOV2', true)
|
||||
await comfyPage.setup()
|
||||
})
|
||||
|
||||
@@ -224,6 +228,7 @@ test.describe('Job history sidebar - empty state', () => {
|
||||
test.describe('Job history sidebar - completed only', () => {
|
||||
test.beforeEach(async ({ comfyPage }) => {
|
||||
await comfyPage.assets.mockOutputHistory(COMPLETED_JOBS)
|
||||
await comfyPage.settings.setSetting('Comfy.Queue.QPOV2', true)
|
||||
await comfyPage.setup()
|
||||
})
|
||||
|
||||
|
||||
Reference in New Issue
Block a user