[PR #7899] [MERGED] test(e2e): fix the four Professor Mari and Search tests failing on the v2.5.1 promotion #7996

Closed
opened 2026-10-24 04:09:30 +07:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/Pasta-Devs/Marinara-Engine/pull/7899
Author: @SpicyMarinara
Created: 10/20/2026
Status: ✅ Merged
Merged: 10/20/2026
Merged by: @SpicyMarinara

Base: staging ← Head: fix/promotion-mari-e2e


📝 Commits (3)

  • abe28f1 test(e2e): pin Mari's runtime for Classic fixtures and wait for the right Search row
  • 6bbe52b Merge remote-tracking branch 'origin/staging' into fix/promotion-mari-e2e
  • 9737126 test(e2e): put Mari's Pi runtime back after the Classic-fixture specs

📊 Changes

4 files changed (+22 additions, -5 deletions)

View changed files

📝 e2e/command-palette.e2e.ts (+2 -1)
📝 e2e/core-flows.e2e.ts (+5 -1)
📝 e2e/mari-reply-clear-sprite.e2e.ts (+8 -2)
📝 e2e/omnibar-quick-handoff.e2e.ts (+7 -1)

📄 Description

Important

Contributions target staging. Only SpicyMarinara may promote this repository's staging branch or a same-repository hotfix/* branch to main.
Outside and first-time contributors also require an approving review from SpicyMarinara.

Linked issue

No issue: these are the browser test failures on the v2.5.1 promotion PR #7895 (run 39462906755: desktop-chromium 4/16 and 13/16, mobile-chromium 11/14, mobile-webkit 6/18).

Why this change

Four tests started failing after recent staging changes. In every case the app behaves correctly and only the test is out of date:

  • omnibar-quick-handoff.e2e.ts:128 and mari-reply-clear-sprite.e2e.ts:110: since #7882, Professor Mari runs on Pi by default. These tests' fixture model answers in the Classic JSON-frame protocol, so under Pi Mari correctly shows that JSON as her literal reply and the expected text never appears.
  • command-palette.e2e.ts:327: #7882's inline completion now completes "char: Preview Reachability X". While a suggestion shows, the footer shows "⇥ Complete" in place of the Ctrl+Enter hint the test checks, as designed.
  • core-flows.e2e.ts:13131 (mobile-webkit): it passes on its own. In the CI trace, Enter landed while an older row was still selected and opened Connections, not the character editor.

What changed

  • omnibar-quick-handoff and mari-reply-clear-sprite choose the Classic runtime in beforeEach, as chat-diagnose-mari, mari-arrival-append, mari-decision-authoring and core-flows already do for their Classic fixtures. Pi keeps its own coverage in mari-runtime-recovery.
  • command-palette types text from the middle of the name, so no completion is offered. Every assertion is unchanged.
  • core-flows waits until the character's own row is selected before pressing Enter.

Test files only; no app code changed.

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

Agent-run checks (boxes left for the human reviewer):

  • Prettier check passed on the four changed specs.
  • The failures were reproduced locally before the change (quick-handoff and command-palette on desktop-chromium; reply-clear-sprite on mobile-chromium and mobile-webkit).
  • pnpm check and the local CodeRabbit CLI were not run, per the release speed request. The four specs run in #7895's browser matrix once this merges.

Manual verification notes

  • Confirm the four specs above pass in #7895's next browser matrix run.

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)

UI evidence (if applicable)

None: no UI change.

Summary by CodeRabbit

  • Tests
    • Improved end-to-end test reliability for command-palette searches and character navigation.
    • Added explicit setup and cleanup for Professor Mari’s classic runtime in workflow tests.
    • Preserved validation of expanded results, keyboard shortcuts, thread locking, reply clearing, sprite behavior, and quick handoff flows.

🔄 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/7899 **Author:** [@SpicyMarinara](https://github.com/SpicyMarinara) **Created:** 10/20/2026 **Status:** ✅ Merged **Merged:** 10/20/2026 **Merged by:** [@SpicyMarinara](https://github.com/SpicyMarinara) **Base:** `staging` ← **Head:** `fix/promotion-mari-e2e` --- ### 📝 Commits (3) - [`abe28f1`](https://github.com/Pasta-Devs/Marinara-Engine/commit/abe28f13d736ce6b2c5c4005b6a0eb3dec4bb502) test(e2e): pin Mari's runtime for Classic fixtures and wait for the right Search row - [`6bbe52b`](https://github.com/Pasta-Devs/Marinara-Engine/commit/6bbe52ba223c26da5fc9df6f53c1d0fb925ebdad) Merge remote-tracking branch 'origin/staging' into fix/promotion-mari-e2e - [`9737126`](https://github.com/Pasta-Devs/Marinara-Engine/commit/97371264b75c020090f66a38c5cbd194a49197e2) test(e2e): put Mari's Pi runtime back after the Classic-fixture specs ### 📊 Changes **4 files changed** (+22 additions, -5 deletions) <details> <summary>View changed files</summary> 📝 `e2e/command-palette.e2e.ts` (+2 -1) 📝 `e2e/core-flows.e2e.ts` (+5 -1) 📝 `e2e/mari-reply-clear-sprite.e2e.ts` (+8 -2) 📝 `e2e/omnibar-quick-handoff.e2e.ts` (+7 -1) </details> ### 📄 Description > [!IMPORTANT] > Contributions target `staging`. Only `SpicyMarinara` may promote this repository's `staging` branch or a same-repository `hotfix/*` branch to `main`. > Outside and first-time contributors also require an approving review from `SpicyMarinara`. <!-- See CONTRIBUTING.md § Branches. --> ## Linked issue No issue: these are the browser test failures on the v2.5.1 promotion PR #7895 (run 39462906755: desktop-chromium 4/16 and 13/16, mobile-chromium 11/14, mobile-webkit 6/18). ## Why this change Four tests started failing after recent staging changes. In every case the app behaves correctly and only the test is out of date: - **`omnibar-quick-handoff.e2e.ts:128` and `mari-reply-clear-sprite.e2e.ts:110`:** since #7882, Professor Mari runs on Pi by default. These tests' fixture model answers in the Classic JSON-frame protocol, so under Pi Mari correctly shows that JSON as her literal reply and the expected text never appears. - **`command-palette.e2e.ts:327`:** #7882's inline completion now completes "char: Preview Reachability X". While a suggestion shows, the footer shows "⇥ Complete" in place of the Ctrl+Enter hint the test checks, as designed. - **`core-flows.e2e.ts:13131` (mobile-webkit):** it passes on its own. In the CI trace, Enter landed while an older row was still selected and opened Connections, not the character editor. ## What changed - `omnibar-quick-handoff` and `mari-reply-clear-sprite` choose the Classic runtime in `beforeEach`, as `chat-diagnose-mari`, `mari-arrival-append`, `mari-decision-authoring` and `core-flows` already do for their Classic fixtures. Pi keeps its own coverage in `mari-runtime-recovery`. - `command-palette` types text from the middle of the name, so no completion is offered. Every assertion is unchanged. - `core-flows` waits until the character's own row is selected before pressing Enter. Test files only; no app code changed. ## 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` Agent-run checks (boxes left for the human reviewer): - Prettier check passed on the four changed specs. - The failures were reproduced locally before the change (quick-handoff and command-palette on desktop-chromium; reply-clear-sprite on mobile-chromium and mobile-webkit). - `pnpm check` and the local CodeRabbit CLI were not run, per the release speed request. The four specs run in #7895's browser matrix once this merges. ### Manual verification notes - Confirm the four specs above pass in #7895's next browser matrix run. ## 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) ## UI evidence (if applicable) None: no UI change. <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit - **Tests** - Improved end-to-end test reliability for command-palette searches and character navigation. - Added explicit setup and cleanup for Professor Mari’s classic runtime in workflow tests. - Preserved validation of expanded results, keyboard shortcuts, thread locking, reply clearing, sprite behavior, and quick handoff flows. <!-- end of auto-generated comment: release notes by coderabbit.ai --> --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-10-24 04:09:30 +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#7996
No description provided.