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();