From 4d6a27194f8729c9827f26956c8968590c9ba6ca Mon Sep 17 00:00:00 2001 From: Claude Fable 5 Date: Tue, 4 Aug 2026 11:42:55 +0200 Subject: [PATCH] Follow the field rename in vs-nfd-marking locators MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The pack addresses the registration-mode select by its DOM name attribute, which react-hook-form derives from the field name — now `registrationMode` (dot-free, see admin-settings-form.ts). Caught by CI run 713; the pack needs VS_NFD_MODE stages and was not part of the local verification set. Co-Authored-By: Claude Fable 5 Claude-Session: https://claude.ai/code/session_017aviRTgWCcAHUh1SBoxf6P --- apps/web/e2e/vs-nfd-marking.spec.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/web/e2e/vs-nfd-marking.spec.ts b/apps/web/e2e/vs-nfd-marking.spec.ts index 820947c..b676eff 100644 --- a/apps/web/e2e/vs-nfd-marking.spec.ts +++ b/apps/web/e2e/vs-nfd-marking.spec.ts @@ -34,7 +34,7 @@ test('mode marked: card, checkbox marking, and point-of-choice marking', async ( // select value — compliant choice clears it, violating choice brings it // back, no save in between. const regField = page.locator('label.field', { - has: page.locator('select[name="auth.registrationMode"]'), + has: page.locator('select[name="registrationMode"]'), }); const regSelect = regField.locator('select'); await regSelect.selectOption('open'); @@ -72,7 +72,7 @@ test('mode hidden: rows disappear, notes mark the hiding, a11y clean', async ({ // Value-listed control: the compliant registration mode keeps only its // compliant choice (seed leaves it open = violating? then all options). - const regSelect = page.locator('select[name="auth.registrationMode"]'); + const regSelect = page.locator('select[name="registrationMode"]'); const regField = page.locator('label.field', { has: regSelect }); const optionCount = await regSelect.locator('option').count(); const marked = await regField.locator('.vs-nfd-mark').count();