From 18a08b91f953f43d9672a23e4962720ada0f92ff Mon Sep 17 00:00:00 2001 From: Sergey Matyunin Date: Tue, 15 Sep 2026 00:49:12 +0300 Subject: [PATCH] =?UTF-8?q?test:=20=D1=83=D1=82=D0=BE=D1=87=D0=BD=D0=B8?= =?UTF-8?q?=D1=82=D1=8C=20=D1=8F=D0=BA=D0=BE=D1=80=D1=8C=20golden-=D0=BC?= =?UTF-8?q?=D1=83=D1=82=D0=B0=D0=BD=D1=82=D0=B0=20(#577)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Issue: #577 User-Visible: no --- scripts/mutation-registry.mjs | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/scripts/mutation-registry.mjs b/scripts/mutation-registry.mjs index 504398db..2003e9e6 100644 --- a/scripts/mutation-registry.mjs +++ b/scripts/mutation-registry.mjs @@ -5417,8 +5417,16 @@ const MUTANT_DEFINITIONS = [ + 'структурный тест обязан требовать ненулевой север и асимметричный азимут', patches: [{ file: 'demo/golden/matrix.mjs', - find: ' glowEnabled: false, allLightsOff: true, northDeg: 90,', - replace: ' glowEnabled: false, allLightsOff: true, northDeg: 0,', + find: " { id: 'lighting-sun-window-state-only-dark', fixture: 'visual', space: 'golden-lighting', mode: 'view',\n" + + ' // The golden screenshot is backed by a second, sun-layer-hidden capture.\n' + + ' // A real painted ray must account for enough changed pixels; DOM-only\n' + + ' // presence or an accidentally accepted empty baseline is not sufficient.\n' + + ' glowEnabled: false, allLightsOff: true, northDeg: 90,', + replace: " { id: 'lighting-sun-window-state-only-dark', fixture: 'visual', space: 'golden-lighting', mode: 'view',\n" + + ' // The golden screenshot is backed by a second, sun-layer-hidden capture.\n' + + ' // A real painted ray must account for enough changed pixels; DOM-only\n' + + ' // presence or an accidentally accepted empty baseline is not sufficient.\n' + + ' glowEnabled: false, allLightsOff: true, northDeg: 0,', }], }, {