From aa97a5ac81c99d1d44a60be0133d37c2c0c35e2b Mon Sep 17 00:00:00 2001 From: Doxa Maps Date: Fri, 2 Oct 2026 16:11:36 +0000 Subject: [PATCH] check:poster-section: add arm G's poison to the self-test MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit A type whose actions do not block a phone makes arm G fail — so the gate keeps proving arm G can fire (was hand-proven only). Self-test now 10/10. --- plugin-designs/country-posters/scripts/check-poster-section.mjs | 1 + 1 file changed, 1 insertion(+) diff --git a/plugin-designs/country-posters/scripts/check-poster-section.mjs b/plugin-designs/country-posters/scripts/check-poster-section.mjs index 6e823dfce..380683311 100644 --- a/plugin-designs/country-posters/scripts/check-poster-section.mjs +++ b/plugin-designs/country-posters/scripts/check-poster-section.mjs @@ -143,6 +143,7 @@ try { ['an element config that ignores card-action', { ...real, element: { posterSectionConfig: (el) => { const c = element.posterSectionConfig(el); delete c.cardAction; return c } } }, /^D: card-action="dashboard"/], ['a dashboard event that cannot leave the shadow root', { ...real, viewSrc: viewSrc.replace('composed: true, cancelable', 'composed: false, cancelable') }, /^F: dxm-poster-dashboard is not/], ['a headless section that can still start shut', { ...real, viewSrc: viewSrc.replace(/(const startCollapsed = computed\(\(\) => cfg\.value\.collapsed === true)[^\n]*/, '$1)') }, /^F: a headless section can still start shut/], + ['a type whose actions do not block a phone', { ...real, country: { ...country, actions: (p) => { const a = country.actions(p); return { ...a, records: () => Promise.resolve([]), unsupported: () => null } } } }, /^G:/], ] for (const [name, inp, rx] of poisons) { const f = await arms(inp); const ok = f.some((x) => rx.test(x))