mirror of
https://github.com/Matysh/houseplan-card
synced 2026-09-28 19:01:34 +00:00
test: уточнить якорь golden-мутанта (#577)
Issue: #577 User-Visible: no
This commit is contained in:
@@ -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,',
|
||||
}],
|
||||
},
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user