mirror of
https://github.com/Comfy-Org/ComfyUI_frontend.git
synced 2026-05-27 00:14:55 +00:00
test: pick up imageCrop empty-state baseline from #11360
Cherry-picks browser_tests/tests/vueNodes/widgets/imageCrop.spec.ts and its image-crop-empty-state-chromium-linux.png snapshot from upstream commit54f312765(PR #11360, "test: regenerate screenshot expectations"). The shard (8, 8) failure on this PR was 'Empty state matches screenshot baseline' — the node renders 400x580 vs the stale 400x530 baseline (50px taller, 0.09 ratio, exceeds the 0.05 maxDiffPixelRatio). Drift is at 1x DPR and unrelated to this PR's viewport/DPR migration; it pre-existed on4ad66359(CI run 25245534619, May 2). The base branch glary/fix-app-mode-template-viewport (#11420) has not yet picked up #11360 from main, so we surgically apply just the two files instead of rebasing onto main and unstacking. Touches only this single test + its baseline; no other regenerated baselines from #11360 are pulled in.
This commit is contained in:
@@ -167,7 +167,7 @@ test.describe('Image Crop', { tag: ['@widget', '@vue-nodes'] }, () => {
|
||||
)
|
||||
|
||||
test(
|
||||
'Empty state matches screenshot baseline',
|
||||
'Empty state matches the screenshot baseline',
|
||||
{ tag: '@screenshot' },
|
||||
async ({ comfyPage }) => {
|
||||
const node = comfyPage.vueNodes.getNodeLocator('1')
|
||||
|
||||
Binary file not shown.
|
Before Width: | Height: | Size: 20 KiB After Width: | Height: | Size: 20 KiB |
Reference in New Issue
Block a user