test(ntp): add regression coverage for Customize Responses tools menu - #2879
Draft
cursor[bot] wants to merge 1 commit into
Draft
test(ntp): add regression coverage for Customize Responses tools menu#2879cursor[bot] wants to merge 1 commit into
cursor[bot] wants to merge 1 commit into
Conversation
Cover the recently merged Customize Responses Tools-menu feature: visibility gating, sublabel rendering, native notifications, apply toggle, collapsed trigger state, and disabled behavior during image-generation mode.
Contributor
Build Branch
Static preview entry points
QR codes (mobile preview)
Integration commandsnpm (Android / Extension): Swift Package Manager (Apple): .package(url: "https://github.com/duckduckgo/content-scope-scripts.git", branch: "pr-releases/cursor/regression-test-coverage-automation-8e6f")git submodule (Windows): git -C submodules/content-scope-scripts fetch origin pr-releases/cursor/regression-test-coverage-automation-8e6f
git -C submodules/content-scope-scripts checkout origin/pr-releases/cursor/regression-test-coverage-automation-8e6fPin to exact commitnpm (Android / Extension): Swift Package Manager (Apple): .package(url: "https://github.com/duckduckgo/content-scope-scripts.git", revision: "4ccfae94cb7e493fc6e4c11e33dc427c58b3e413")git submodule (Windows): git -C submodules/content-scope-scripts fetch origin pr-releases/cursor/regression-test-coverage-automation-8e6f
git -C submodules/content-scope-scripts checkout 4ccfae94cb7e493fc6e4c11e33dc427c58b3e413 |
Contributor
[Beta] Generated file diffTime updated: Mon, 20 Jul 2026 08:04:58 GMT |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Asana Task/Github Issue: Regression test coverage automation (cron)
Description
Adds integration tests for the recently merged Customize Responses Tools-menu feature (#2865). That PR introduced config-driven visibility, native messaging hooks, an apply toggle, and interaction constraints — but shipped without dedicated test coverage.
Risky behavior now covered
enableCustomizeResponses)omnibar_openCustomizeResponsesnotification when the row is selectedhasCustomizationis setomnibar_setCustomizeResponsesActivenotifications on toggle on/offTest files added/updated
special-pages/pages/new-tab/app/omnibar/integration-tests/omnibar.spec.js— 9 new tests inAI chat customize responsesdescribe blockspecial-pages/pages/new-tab/app/omnibar/integration-tests/omnibar.page.js— page object helpers for menu item and toggleWhy these tests materially reduce regression risk
The Customize Responses flow spans config parsing, Tools-menu composition (
useToolsMenu/useCustomizeResponsesItem), native messaging, and cross-tool state (image-generation disables the row). A regression in any of these would silently break AI personalization UX or send incorrect native notifications. These tests exercise the full user-visible path and assert the native bridge payloads.Testing Steps
All 9 tests pass.
Checklist