Skip to content

fix(e2e): make settings-scroll E2E runnable - #1354

Merged
vastsa merged 3 commits into
mainfrom
codex/review-pr1353
Oct 3, 2026
Merged

vastsa merged 3 commits into
mainfrom
codex/review-pr1353

Conversation

@vastsa

@vastsa vastsa commented Oct 3, 2026

Copy link
Copy Markdown
Owner

Supersedes #1353 and preserves its authored fix commit.

Summary

  • Handle Vite-style ?url imports in the settings-scroll esbuild fixture.
  • Compile with development-surface semantics so the fixture can verify the developer-mode Cloud sync route while retaining its hidden-without-developer-mode assertion.
  • Resolve the i18n source directory so package subpath imports such as locale-info and locale catalogs bundle correctly.

Verification

  • pnpm build:js — passed.
  • pnpm lint — passed.
  • node scripts/e2e-settings-scroll.mjs — passed on an isolated Electron candidate; light/dark themes, update preference, and pt-BR locale checks succeeded.
  • node scripts/check-pr-base-main.mjs — passed against current origin/main.

muzimu217 and others added 3 commits October 3, 2026 08:18
…ing)

The settings-scroll E2E has been unrunnable since the live-voice worklet
landed: its bare-esbuild bundle chokes on the ?url import in
live-call-controller.ts. Add the same local-url-assets plugin the other
E2E bundles (composer-paste, transcript-render) already use.

After unblocking the build, the fixture's import.meta.env.DEV=false
define hides developmentOnly settings surfaces (Cloud sync) even with
developer mode on, failing the must-appear assertion. Run the fixture
with DEV semantics, matching how those surfaces are gated; the
developer-only gate (absent without developer mode) is unchanged and
still asserted.

Verified locally: SETTINGS_SCROLL ok:true with light/dark themes,
update preference, and pt-BR locale checks passing.
The settings fixture imports locale-info and locale modules through the package subpath exports. Point esbuild at the source directory so these imports resolve alongside the root entry.
Copilot AI balanced review requested due to automatic review settings October 3, 2026 15:35

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

@vastsa
vastsa merged commit 66854db into main Oct 3, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants