test: force node context menu overflow in CI

This commit is contained in:
dante01yoon
2026-04-08 06:49:14 +09:00
parent 67089647b0
commit 902f9ca0c9

View File

@@ -8,8 +8,8 @@ test.describe(
{ tag: '@ui' },
() => {
test.beforeEach(async ({ comfyPage }) => {
// Keep the viewport short enough that the More Options menu must overflow.
await comfyPage.page.setViewportSize({ width: 1280, height: 640 })
// Keep the viewport well below the menu content height so overflow is guaranteed.
await comfyPage.page.setViewportSize({ width: 1280, height: 520 })
await comfyPage.settings.setSetting('Comfy.UseNewMenu', 'Disabled')
await comfyPage.settings.setSetting('Comfy.Canvas.SelectionToolbox', true)
await comfyPage.workflow.loadWorkflow('nodes/single_ksampler')