From 983aec5b2f7a435e60ae44fdaf14834f192055c9 Mon Sep 17 00:00:00 2001 From: John McLear Date: Sat, 2 May 2026 19:45:14 +0800 Subject: [PATCH] test: tag two chat-toggle pad_settings specs with @feature:chat (#7655) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Surfaced by ep_disable_chat#75 — the disables-aware test runner ran pass 1 (regression) and these two tests failed because they click label[for="options-disablechat"], which ep_disable_chat hides as intended. Tagging them brings them into pass 2 (honesty) where they're expected to fail under the plugin, instead of pass 1 where they shouldn't run. Co-authored-by: Claude Opus 4.7 (1M context) --- src/tests/frontend-new/specs/pad_settings.spec.ts | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/src/tests/frontend-new/specs/pad_settings.spec.ts b/src/tests/frontend-new/specs/pad_settings.spec.ts index ea16ce81d..81805febb 100644 --- a/src/tests/frontend-new/specs/pad_settings.spec.ts +++ b/src/tests/frontend-new/specs/pad_settings.spec.ts @@ -143,7 +143,9 @@ test.describe('creator-owned pad settings', () => { await expect(page.locator('#options-colorscheck')).not.toBeChecked(); }); - test('disabling chat suppresses chat gritter notifications', async ({page, browser}) => { + test('disabling chat suppresses chat gritter notifications', { + tag: '@feature:chat', + }, async ({page, browser}) => { const padId = await goToNewPad(page); const context2 = await browser.newContext(); const page2 = await context2.newPage(); @@ -164,7 +166,9 @@ test.describe('creator-owned pad settings', () => { // #7592: ticking "Disable chat" must visibly disable the dependent // "Chat always on screen" / "Show Chat and Users" toggles, not just // make the underlying inputs non-interactive. - test('disabling chat disables and visually greys the dependent chat toggles', async ({page}) => { + test('disabling chat disables and visually greys the dependent chat toggles', { + tag: '@feature:chat', + }, async ({page}) => { await goToNewPad(page); await showSettings(page);