From 66c6dc7aa1c3788df1a3295a0d02fb753f1caf42 Mon Sep 17 00:00:00 2001 From: Nick Shirokov Date: Wed, 1 Apr 2026 13:48:40 +0300 Subject: [PATCH] =?UTF-8?q?fix(web-test):=20swap=20gridListH/V=20in=20isEx?= =?UTF-8?q?panded=20=E2=80=94=20hierarchy=20expand=20was=20inverted?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit gridListH = collapsed (▶), gridListV = expanded (▼). The old code had it backwards, so `expand: true` on a collapsed group was a no-op. Co-Authored-By: Claude Opus 4.6 (1M context) --- .claude/skills/web-test/scripts/browser.mjs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.claude/skills/web-test/scripts/browser.mjs b/.claude/skills/web-test/scripts/browser.mjs index d42e205c..3b274de9 100644 --- a/.claude/skills/web-test/scripts/browser.mjs +++ b/.claude/skills/web-test/scripts/browser.mjs @@ -1,4 +1,4 @@ -// web-test browser v1.6 — Playwright browser management for 1C web client +// web-test browser v1.7 — Playwright browser management for 1C web client // Source: https://github.com/Nikolay-Shirokov/cc-1c-skills /** * Playwright browser management for 1C web client. @@ -2071,7 +2071,7 @@ export async function clickElement(text, { dblclick, table, toggle, expand, modi const icon = line.querySelector('.gridListH, .gridListV'); if (icon) { const r = icon.getBoundingClientRect(); - const isExpanded = !!icon.classList.contains('gridListH'); + const isExpanded = !!icon.classList.contains('gridListV'); return { x: Math.round(r.x + r.width / 2), y: Math.round(r.y + r.height / 2), isExpanded }; } }