test: add regression coverage for customize responses, history icons, and error handlers - #2908
Draft
cursor[bot] wants to merge 2 commits into
Draft
test: add regression coverage for customize responses, history icons, and error handlers#2908cursor[bot] wants to merge 2 commits into
cursor[bot] wants to merge 2 commits into
Conversation
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-b1b2")git submodule (Windows): git -C submodules/content-scope-scripts fetch origin pr-releases/cursor/regression-test-coverage-automation-b1b2
git -C submodules/content-scope-scripts checkout origin/pr-releases/cursor/regression-test-coverage-automation-b1b2Pin to exact commitnpm (Android / Extension): Swift Package Manager (Apple): .package(url: "https://github.com/duckduckgo/content-scope-scripts.git", revision: "8de09a22030a6283b2e7bfca727ab933b9ba0b5a")git submodule (Windows): git -C submodules/content-scope-scripts fetch origin pr-releases/cursor/regression-test-coverage-automation-b1b2
git -C submodules/content-scope-scripts checkout 8de09a22030a6283b2e7bfca727ab933b9ba0b5a |
Contributor
[Beta] Generated file diffTime updated: Mon, 27 Jul 2026 08:08:56 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.
Description
Adds regression integration tests for recently merged special-pages behavior that shipped without adequate coverage.
Risky behavior now covered
omnibar_openCustomizeResponses/omnibar_setCustomizeResponsesActivenotifications, apply toggle, collapsed tools trigger when customization is active, and disabled state during image-generation mode.rebrandingIconMapvsiconMap).ErrorEventfallbacks, non-Error throws, and primitive/nullish rejection reasons.attachmentLimits.images.maxPerTurn(NTP: Use attachmentLimits config for NTP omnibar attachments #2816) — backend-configured per-turn image cap enforcement.Test files added/updated
special-pages/pages/new-tab/app/omnibar/integration-tests/omnibar.spec.jsspecial-pages/pages/new-tab/app/omnibar/integration-tests/omnibar.page.jsspecial-pages/pages/new-tab/app/omnibar/integration-tests/omnibar-attachments.spec.jsspecial-pages/pages/history/integration-tests/history.spec.jsspecial-pages/pages/history/integration-tests/history.page.jsspecial-pages/pages/new-tab/integration-tests/new-tab.spec.jsWhy these tests materially reduce regression risk
imageMaxPerTurnis a server-driven limit; hardcoding assumptions in tests would miss backend contract changes.Testing Steps
All 25 new/updated tests pass on the integration project.
Checklist