Compare commits

...

1 Commits

Author SHA1 Message Date
CodeRabbit Fixer
529e38bdb7 fix: Add explicit wait for queue size in 'shows selection toolbox' screenshot test (#9703)
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-10 07:04:00 +01:00

View File

@@ -40,6 +40,8 @@ test.describe('Selection Toolbox', { tag: ['@screenshot', '@ui'] }, () => {
// Selection toolbox should be visible with multiple nodes selected
await expect(comfyPage.selectionToolbox).toBeVisible()
// Wait for the canvas render queue to settle before taking the screenshot
await comfyPage.nextFrame()
// Border is now drawn on canvas, check via screenshot
await expect(comfyPage.canvas).toHaveScreenshot(
'selection-toolbox-multiple-nodes-border.png'