From 1b6cc598f66e8c8aadb2a818bef80ced13d4f03e Mon Sep 17 00:00:00 2001 From: Connor Byrne Date: Mon, 4 May 2026 16:02:41 -0700 Subject: [PATCH] test: pick up imageCrop empty-state baseline from #11360 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cherry-picks browser_tests/tests/vueNodes/widgets/imageCrop.spec.ts and its image-crop-empty-state-chromium-linux.png snapshot from upstream commit 54f312765 (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 on 4ad66359 (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. --- .../tests/vueNodes/widgets/imageCrop.spec.ts | 2 +- .../image-crop-empty-state-chromium-linux.png | Bin 20127 -> 20365 bytes 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/browser_tests/tests/vueNodes/widgets/imageCrop.spec.ts b/browser_tests/tests/vueNodes/widgets/imageCrop.spec.ts index a74cc55e24..700fcca8bf 100644 --- a/browser_tests/tests/vueNodes/widgets/imageCrop.spec.ts +++ b/browser_tests/tests/vueNodes/widgets/imageCrop.spec.ts @@ -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') diff --git a/browser_tests/tests/vueNodes/widgets/imageCrop.spec.ts-snapshots/image-crop-empty-state-chromium-linux.png b/browser_tests/tests/vueNodes/widgets/imageCrop.spec.ts-snapshots/image-crop-empty-state-chromium-linux.png index ea086fcfcb888ff4ccb25db8784ff05b4e7ad325..88835b93fcca7e9fe418bfaed1aa6562f92ef0e9 100644 GIT binary patch delta 444 zcmV;t0YmP*K1o004H+(Xj|*MCKmxU{@? zFHay8RapiApuy3o(x^2ONt;$~?w2l|SF2Q(Wh;}q0!y#g`E`Hp&gF1Ql}fcrsZ^Cx zbfsJ_@(TbS6b%y|kMHQ%!qI{LY2oDLOv^@DS?QPJ&U1{aFH%=v$z<8t*;y@GIMKh( z&aQ559%8YJNaSc(4af8Y$prxQr&1{k3l)V5c}{j#adDwiS*p=!1Oh>A^Z!2p00960 mLdO%k00006NkkYyR09AI&NNC;Y23m90000O|2rK}wdm4>~ z!{MOO9RTc|PN(zq^vcRir?G`LEC8@;e7>MnEBD*C(*yzm0t*1_7cEu!`T56Ri=$OS z`VoNz0Cq~N)p~zPyfZRV)oPV#3<3)P?2%5Zb#``fY~gh0cDku}MR02l0N5e5TJ7Z} zZQc=+Q@6T5|2$1#{WTq^=T{i%ZLU_wocn zQI%x?02&;PDveqrk+f;$=6>nYd9_MqS++8%E3ou>onL?F?pzM1RH;;}luA`8MOVt@ zBEJCOLD4Yb@%WC8EgT)_pB7F|&a`Zlm6d)e?mWk+`XY4&mQ0qNot@R9g%kbj?Ck31 z<{=ilh(wNt)o@HdkX!&ze=3!-uuxH`kmqD)6&DvOm8BYuMj#N>Hvj(v00960UUQc` i00006NkkYyR09B4V>5zX^sX=f0000