[PR #8869] [MERGED] fix(e2e): the rest of the full browser matrix follows the current UI; fix the regressions it found #8855

Closed
opened 2026-11-07 17:40:14 +07:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/Pasta-Devs/Marinara-Engine/pull/8869
Author: @SpicyMarinara
Created: 11/5/2026
Status: ✅ Merged
Merged: 11/5/2026
Merged by: @SpicyMarinara

Base: staging ← Head: fix/e2e-matrix-batch3


📝 Commits (10+)

  • bdab9f6 test(e2e): shared helpers drive the two-pane model picker and the renamed panel search
  • ff0f877 test(e2e): Game Mode setup tests follow the current UI; fix the Game Master pick of the Main model
  • 86af053 test(e2e): connection, media and Decision tests follow the current UI; fix the OpenRouter video Reset and the Decision Model editor
  • 84ce67b test(e2e): UI tests follow the current UI; fix the setup-defaults baseline, landscape keyboard row, iOS cut-corner backing and dropped card keystrokes
  • 98c2fc3 test(e2e): core-flows tests follow the current UI; fix the NovelAI model list, NovelAI defaults reset, phone context meter, editor header and voice picker regressions
  • c6e0b94 Merge branch 'fix/e2e-b2-game' into HEAD
  • 1b536ef Merge branch 'fix/e2e-b2-conn' into HEAD
  • 02057a0 Merge branch 'fix/e2e-b2-ui' into HEAD
  • 0eacb9a Merge remote-tracking branch 'origin/staging' into fix/e2e-matrix-batch2
  • fc3bec6 test(e2e): batch 2 review fixes: WebKit-only discard fallback, card-scoped phone header, shared character picker

📊 Changes

86 files changed (+1302 additions, -677 deletions)

View changed files

📝 e2e/add-connection-media.e2e.ts (+16 -14)
📝 e2e/advanced-memory.e2e.ts (+16 -12)
📝 e2e/agent-apps-category.e2e.ts (+28 -24)
📝 e2e/agent-lorebook-package-compatibility.e2e.ts (+3 -2)
📝 e2e/assigned-chat-sweep.e2e.ts (+22 -21)
📝 e2e/assigned-issue-sweep.e2e.ts (+8 -5)
📝 e2e/atlas-cloud-options.e2e.ts (+8 -3)
📝 e2e/avatar-generation.e2e.ts (+22 -4)
📝 e2e/avatar-glb-fbx.e2e.ts (+10 -7)
📝 e2e/avatar-mmd.e2e.ts (+20 -7)
📝 e2e/avatar-setup.e2e.ts (+37 -22)
📝 e2e/avatar-vrm-tripo-removed.e2e.ts (+19 -13)
➕ e2e/character-picker.ts (+22 -0)
📝 e2e/chat-diagnose-mari.e2e.ts (+10 -1)
📝 e2e/chat-setup-readiness.e2e.ts (+6 -3)
📝 e2e/chat-sweep.e2e.ts (+6 -2)
📝 e2e/claude-sonnet55.e2e.ts (+12 -8)
📝 e2e/codex-reasoning-effort.e2e.ts (+1 -1)
📝 e2e/command-palette.e2e.ts (+6 -0)
📝 e2e/compatible-game-audio.e2e.ts (+89 -55)

...and 66 more files

📄 Description

Important

Contributions target staging. Only SpicyMarinara may promote this repository's staging branch or a same-repository hotfix/* branch to main.

Linked issue

Closes #8843

Batch 1 landed in #8846. This PR has batches 2 and 3: the remaining ~160 failing tests and the app regressions they found. Before merging, the full browser matrix should run on this branch; dispatch .github/workflows/playwright.yml on it if CI doesn't.

Why this change

The nightly full Playwright matrix had failed on staging every night since at least 2026-10-31, with about 220 failing tests, and staging pushes run only the smoke suite. Most failures were tests left behind by intended UI changes. These include the account-first Connections and model picker (#8456, #8677), the shared character and Personas picker (#8763), the Agent Organizer (#8494), Mari's new placeholder (#8415), presets without token limits (#7940) and the settings profile builder (#8555). Others were shared state leaking between specs. Triage also found real app regressions, fixed here in the app with a test that fails without the fix.

What changed

App fixes:

  • Game setup:
    • Picking your Main model as Game Master did nothing, so the game could never start. The GM picker is now required.
    • The Game audio and Roleplay sounds pickers listed speech connections instead of Music & Sound Effects. They now list the Music & Sound Effects models.
    • On iPhone the setup window covered its own model and character pickers. The window's layers now sit under the pickers.
  • Connections:
    • A NovelAI image connection showed "Couldn't load the model list". It now lists NovelAI's built-in models.
    • NovelAI image defaults were reset to seed -1 when the editor reopened over a cached connection. They are now kept.
    • Video Reset on OpenRouter lost the model's own defaults (H3 Max: 768p). It restores them again.
    • The Decision model editor lost its time-limit help text and its Test button for a Decision model on its own account. Both are back.
    • Model pickers showed rows while accounts were still loading or after loading failed. They now show "Loading models…" or an error with Try again.
    • The model picker's search box is focused again once its lists are ready.
  • Model picker in packages: picking the current model, or the default, now confirms the pick instead of reading as cancelled, as CONNECTION_PICKER.md promises.
  • Chats:
    • An untouched new chat set up from saved defaults was never discarded. It is discarded again.
    • Switching chats collapsed your text selection, so selecting text no longer paused auto-scroll. The selection is kept now.
    • On phones the context meter was hidden in the Quick Switcher. It shows again.
    • In landscape on a phone, the keyboard covered the summary field you were editing. The field now stays above it.
    • On iOS with the cut-corner shape on, chat windows were see-through. They are opaque again.
  • Editors:
    • Closing the expanded preset editor could save stale text. It now saves what you typed.
    • The first characters typed into a card field were sometimes dropped while Mari was reviewing it. Nothing is dropped now.
    • The phone persona editor header wrapped its buttons onto two rows. They fit on one row, limited to the card editors so the Lorebook and Preset editors are unchanged.
  • Other:
    • Escape in a voice list also closed the Add window behind it. Now it only closes the list.
    • A Connections model-list error used the wrong colour. It uses the editor accent now.
    • Agent Organizer search no longer found an agent by its section name, such as "Apps". It does again.
    • The Music & Sound Effects service switch kept the old service's address and key. It now detaches the model from its old account.

Tests brought to the current UI, about 160 tests in core-flows and 50 other specs. Two shared helpers drive the two-pane model picker and the Personas/Characters picker, and specs that switch Mari's runtime now take its lock.

Changed or skipped expectations, each with the reason in a comment:

  • mari-hold "dizzy" now drives its timing with Playwright's clock instead of being skipped on WebKit.
  • Two Decision picker tests follow the #8456 picker, as the maintainer chose.
  • game-dungeon-maps "crypt" is unchanged: it fails only in CI's Linux WebKit and doesn't reproduce locally.

Validation

  • pnpm check passes locally
  • Container (Docker / Podman) built and ran without issue
  • Ran the app, clicked through the changes manually
  • Checked edge cases (light + dark mode, mobile viewport, empty states, error paths)
  • Above manual verification completed (describe below)
  • Read and followed CONTRIBUTING.md

Manual verification notes

  • Manually verify that a new Game started with your Main model as Game Master starts, and that the Game audio picker lists Music & Sound Effects models.
  • Manually verify on an iPhone that the Game setup's model and character pickers open on top of the setup window.
  • Manually verify that a NovelAI image connection lists its models and keeps its saved seed after reopening the editor.
  • Manually verify that selecting text in a Conversation chat, then switching chats and back, keeps the selection.
  • Manually verify that the full browser matrix (.github/workflows/playwright.yml by dispatch) passes on this branch before merging.

Agent-run checks:

  • Every fixed test passed with --retries=0 on each project it failed on: desktop-chromium, mobile-chromium and mobile-webkit. A few first tries hit load timeouts with a machine load average of 25–108 and passed when rerun with --workers=1.
  • Every app fix was proven: with the fix reverted, its test fails; with it, the test passes.
  • pnpm check passed on the batch 3 head. After merging current staging: pnpm check:e2e-types, client and server tsc --noEmit and pnpm localization:check pass.
  • Independent reviews of both batches found 3 and 8 issues. All are fixed, including removing a WebKit skip, adding a proof for the Roleplay sounds picker, and putting the runtime lock on the Mari specs.

Docs and release impact

  • No docs changes needed
  • Updated docs (README / CONTRIBUTING / android/README) as needed
  • Translated docs on the docs-i18n branch updated to match, or a [docs-i18n] follow-up issue opened (see CONTRIBUTING.md § Translated documentation)
  • Version/release files updated (only if this PR includes a version bump)

🤖 Generated with Claude Code


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/Pasta-Devs/Marinara-Engine/pull/8869 **Author:** [@SpicyMarinara](https://github.com/SpicyMarinara) **Created:** 11/5/2026 **Status:** ✅ Merged **Merged:** 11/5/2026 **Merged by:** [@SpicyMarinara](https://github.com/SpicyMarinara) **Base:** `staging` ← **Head:** `fix/e2e-matrix-batch3` --- ### 📝 Commits (10+) - [`bdab9f6`](https://github.com/Pasta-Devs/Marinara-Engine/commit/bdab9f621efe0f9954bc13b666e68e6c129f7461) test(e2e): shared helpers drive the two-pane model picker and the renamed panel search - [`ff0f877`](https://github.com/Pasta-Devs/Marinara-Engine/commit/ff0f877f260d57ce9556094da98e05ee4a5db04b) test(e2e): Game Mode setup tests follow the current UI; fix the Game Master pick of the Main model - [`86af053`](https://github.com/Pasta-Devs/Marinara-Engine/commit/86af053246c71366242123ecda12083c366e255f) test(e2e): connection, media and Decision tests follow the current UI; fix the OpenRouter video Reset and the Decision Model editor - [`84ce67b`](https://github.com/Pasta-Devs/Marinara-Engine/commit/84ce67b73a89673818da6279395277e2828e6d6d) test(e2e): UI tests follow the current UI; fix the setup-defaults baseline, landscape keyboard row, iOS cut-corner backing and dropped card keystrokes - [`98c2fc3`](https://github.com/Pasta-Devs/Marinara-Engine/commit/98c2fc3d207dd5f9cbe4ff01d466354b4ad3825a) test(e2e): core-flows tests follow the current UI; fix the NovelAI model list, NovelAI defaults reset, phone context meter, editor header and voice picker regressions - [`c6e0b94`](https://github.com/Pasta-Devs/Marinara-Engine/commit/c6e0b94495ba06099828cf7c90af0e37736a200a) Merge branch 'fix/e2e-b2-game' into HEAD - [`1b536ef`](https://github.com/Pasta-Devs/Marinara-Engine/commit/1b536ef23b0eaa67b9d8d0c367a514490eb72552) Merge branch 'fix/e2e-b2-conn' into HEAD - [`02057a0`](https://github.com/Pasta-Devs/Marinara-Engine/commit/02057a0529db57a9f2cb91be17f73794cf91e3e2) Merge branch 'fix/e2e-b2-ui' into HEAD - [`0eacb9a`](https://github.com/Pasta-Devs/Marinara-Engine/commit/0eacb9aa90e1f3b925c2884fb7f3721a8fe438bf) Merge remote-tracking branch 'origin/staging' into fix/e2e-matrix-batch2 - [`fc3bec6`](https://github.com/Pasta-Devs/Marinara-Engine/commit/fc3bec66a20fa5e9f902de3e0bdc671b660b6ed5) test(e2e): batch 2 review fixes: WebKit-only discard fallback, card-scoped phone header, shared character picker ### 📊 Changes **86 files changed** (+1302 additions, -677 deletions) <details> <summary>View changed files</summary> 📝 `e2e/add-connection-media.e2e.ts` (+16 -14) 📝 `e2e/advanced-memory.e2e.ts` (+16 -12) 📝 `e2e/agent-apps-category.e2e.ts` (+28 -24) 📝 `e2e/agent-lorebook-package-compatibility.e2e.ts` (+3 -2) 📝 `e2e/assigned-chat-sweep.e2e.ts` (+22 -21) 📝 `e2e/assigned-issue-sweep.e2e.ts` (+8 -5) 📝 `e2e/atlas-cloud-options.e2e.ts` (+8 -3) 📝 `e2e/avatar-generation.e2e.ts` (+22 -4) 📝 `e2e/avatar-glb-fbx.e2e.ts` (+10 -7) 📝 `e2e/avatar-mmd.e2e.ts` (+20 -7) 📝 `e2e/avatar-setup.e2e.ts` (+37 -22) 📝 `e2e/avatar-vrm-tripo-removed.e2e.ts` (+19 -13) ➕ `e2e/character-picker.ts` (+22 -0) 📝 `e2e/chat-diagnose-mari.e2e.ts` (+10 -1) 📝 `e2e/chat-setup-readiness.e2e.ts` (+6 -3) 📝 `e2e/chat-sweep.e2e.ts` (+6 -2) 📝 `e2e/claude-sonnet55.e2e.ts` (+12 -8) 📝 `e2e/codex-reasoning-effort.e2e.ts` (+1 -1) 📝 `e2e/command-palette.e2e.ts` (+6 -0) 📝 `e2e/compatible-game-audio.e2e.ts` (+89 -55) _...and 66 more files_ </details> ### 📄 Description > [!IMPORTANT] > Contributions target `staging`. Only `SpicyMarinara` may promote this repository's `staging` branch or a same-repository `hotfix/*` branch to `main`. ## Linked issue Closes #8843 Batch 1 landed in #8846. This PR has batches 2 and 3: the remaining ~160 failing tests and the app regressions they found. Before merging, the full browser matrix should run on this branch; dispatch `.github/workflows/playwright.yml` on it if CI doesn't. ## Why this change The nightly full Playwright matrix had failed on `staging` every night since at least 2026-10-31, with about 220 failing tests, and staging pushes run only the smoke suite. Most failures were tests left behind by intended UI changes. These include the account-first Connections and model picker (#8456, #8677), the shared character and Personas picker (#8763), the Agent Organizer (#8494), Mari's new placeholder (#8415), presets without token limits (#7940) and the settings profile builder (#8555). Others were shared state leaking between specs. Triage also found real app regressions, fixed here in the app with a test that fails without the fix. ## What changed App fixes: - **Game setup:** - Picking your Main model as Game Master did nothing, so the game could never start. The GM picker is now `required`. - The Game audio and Roleplay sounds pickers listed speech connections instead of Music & Sound Effects. They now list the Music & Sound Effects models. - On iPhone the setup window covered its own model and character pickers. The window's layers now sit under the pickers. - **Connections:** - A NovelAI image connection showed "Couldn't load the model list". It now lists NovelAI's built-in models. - NovelAI image defaults were reset to seed -1 when the editor reopened over a cached connection. They are now kept. - Video Reset on OpenRouter lost the model's own defaults (H3 Max: 768p). It restores them again. - The Decision model editor lost its time-limit help text and its Test button for a Decision model on its own account. Both are back. - Model pickers showed rows while accounts were still loading or after loading failed. They now show "Loading models…" or an error with Try again. - The model picker's search box is focused again once its lists are ready. - **Model picker in packages:** picking the current model, or the default, now confirms the pick instead of reading as cancelled, as `CONNECTION_PICKER.md` promises. - **Chats:** - An untouched new chat set up from saved defaults was never discarded. It is discarded again. - Switching chats collapsed your text selection, so selecting text no longer paused auto-scroll. The selection is kept now. - On phones the context meter was hidden in the Quick Switcher. It shows again. - In landscape on a phone, the keyboard covered the summary field you were editing. The field now stays above it. - On iOS with the cut-corner shape on, chat windows were see-through. They are opaque again. - **Editors:** - Closing the expanded preset editor could save stale text. It now saves what you typed. - The first characters typed into a card field were sometimes dropped while Mari was reviewing it. Nothing is dropped now. - The phone persona editor header wrapped its buttons onto two rows. They fit on one row, limited to the card editors so the Lorebook and Preset editors are unchanged. - **Other:** - Escape in a voice list also closed the Add window behind it. Now it only closes the list. - A Connections model-list error used the wrong colour. It uses the editor accent now. - Agent Organizer search no longer found an agent by its section name, such as "Apps". It does again. - The Music & Sound Effects service switch kept the old service's address and key. It now detaches the model from its old account. Tests brought to the current UI, about 160 tests in core-flows and 50 other specs. Two shared helpers drive the two-pane model picker and the Personas/Characters picker, and specs that switch Mari's runtime now take its lock. Changed or skipped expectations, each with the reason in a comment: - `mari-hold` "dizzy" now drives its timing with Playwright's clock instead of being skipped on WebKit. - Two Decision picker tests follow the #8456 picker, as the maintainer chose. - `game-dungeon-maps` "crypt" is unchanged: it fails only in CI's Linux WebKit and doesn't reproduce locally. ## Validation <!-- These are human tasks. Never tick a box for a check that was not actually performed. --> - [ ] `pnpm check` passes locally - [ ] Container (Docker / Podman) built and ran without issue - [ ] Ran the app, clicked through the changes manually - [ ] Checked edge cases (light + dark mode, mobile viewport, empty states, error paths) - [ ] Above manual verification completed (describe below) - [ ] Read and followed `CONTRIBUTING.md` ### Manual verification notes - Manually verify that a new Game started with your Main model as Game Master starts, and that the Game audio picker lists Music & Sound Effects models. - Manually verify on an iPhone that the Game setup's model and character pickers open on top of the setup window. - Manually verify that a NovelAI image connection lists its models and keeps its saved seed after reopening the editor. - Manually verify that selecting text in a Conversation chat, then switching chats and back, keeps the selection. - Manually verify that the full browser matrix (`.github/workflows/playwright.yml` by dispatch) passes on this branch before merging. Agent-run checks: - Every fixed test passed with `--retries=0` on each project it failed on: desktop-chromium, mobile-chromium and mobile-webkit. A few first tries hit load timeouts with a machine load average of 25–108 and passed when rerun with `--workers=1`. - Every app fix was proven: with the fix reverted, its test fails; with it, the test passes. - `pnpm check` passed on the batch 3 head. After merging current staging: `pnpm check:e2e-types`, client and server `tsc --noEmit` and `pnpm localization:check` pass. - Independent reviews of both batches found 3 and 8 issues. All are fixed, including removing a WebKit skip, adding a proof for the Roleplay sounds picker, and putting the runtime lock on the Mari specs. ## Docs and release impact - [ ] No docs changes needed - [ ] Updated docs (README / CONTRIBUTING / android/README) as needed - [ ] Translated docs on the `docs-i18n` branch updated to match, or a `[docs-i18n]` follow-up issue opened (see CONTRIBUTING.md § Translated documentation) - [ ] Version/release files updated (only if this PR includes a version bump) 🤖 Generated with [Claude Code](https://claude.com/claude-code) --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-11-07 17:40:14 +07:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
Pasta-Devs/Marinara-Engine#8855
No description provided.