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:
dante01yoon
2026-04-01 15:47:04 +09:00
parent 7e3fb71284
commit 725e4eabb3

View File

@@ -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()
})