[PR #7856] [MERGED] fix(release): update six e2e specs for intentional product changes #7970

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

📋 Pull Request Information

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

Base: staging ← Head: fix/ready-e2e-copy-asset-drift


📝 Commits (7)

  • a26499e fix(release): update six e2e specs for intentional product changes
  • 2fd0c4b Merge remote-tracking branch 'origin/staging' into fix/ready-e2e-copy-asset-drift
  • 63fdb24 Merge remote-tracking branch 'origin/staging' into fix/ready-e2e-copy-asset-drift
  • e12d507 Merge remote-tracking branch 'origin/staging' into fix/ready-e2e-copy-asset-drift
  • e909d4b fix(release): stop closing the rejected whisper notice in roleplay-commands
  • 3e55900 fix(release): pin the Professor Mari window maximum to 120rem in its height spec
  • 3deae5b Merge remote-tracking branch 'origin/staging' into fix/ready-e2e-copy-asset-drift

📊 Changes

6 files changed (+77 additions, -29 deletions)

View changed files

📝 e2e/advanced-memory.e2e.ts (+4 -1)
📝 e2e/connection-model-switcher.e2e.ts (+6 -4)
📝 e2e/mari-window-height.e2e.ts (+34 -8)
📝 e2e/narrator-macro-avatars.e2e.ts (+20 -13)
📝 e2e/roleplay-commands.e2e.ts (+9 -2)
📝 e2e/scene-blocked-feedback.e2e.ts (+4 -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 exists. These failures were found during the release-readiness pass before the next release. An issue should be opened if one is wanted for tracking.

Why this change

Six e2e specs fail on staging every time because their assertions predate product changes that were made on purpose. They are not app bugs, but they hide real regressions in the same files and make every full e2e run red. This PR changes only the specs. No product code changes.

Spec Product change it missed
advanced-memory #7312 converted the memory wheel sprite from PNG to WebP
narrator-macro-avatars #7312 removed Mari_wave.png, Mari_thinking.png and Mari_greet.png, so every test threw ENOENT before it started
scene-blocked-feedback #7425 rewrote the Scene-busy notice
connection-model-switcher (phones) #7660 made a connection row switch connections and moved the models list behind the row's arrow
roleplay-commands #7412 opens a failed or rejected private command's notice by default, so clicking it closed it
mari-window-height #7501 raised the maximum window height to 120rem and hid the window size section below 640px

What changed

  • e2e/advanced-memory.e2e.ts: the wheel's background image must be /sprites/mari/generated/professor-mari-memory-wheel-v2.webp.
  • e2e/narrator-macro-avatars.e2e.ts: each character gets a small test-owned PNG made with sharp (already a server dependency), one solid colour per character. Each avatar is still a separate uploaded file with its own URL, so the assertions still tell Alice, Bob, the inactive member and the outside visitor apart. The test no longer depends on bundled Mari sprites.
  • e2e/scene-blocked-feedback.e2e.ts: asserts the full new notice from chat.presence.sceneBusyNotice. The check that no offline notice appears is unchanged.
  • e2e/connection-model-switcher.e2e.ts: on phones the models step opens from [data-connection-models="<id>"] (the row's arrow). The test also checks that the arrow is at least 44px tall, like the row.
  • e2e/roleplay-commands.e2e.ts: for the malformed whisper and for the two rejected whispers (unknown character, commands off), the test asserts that the notice starts open (aria-expanded="true") instead of clicking it. The error text and the "original text preserved" checks are unchanged.
  • e2e/mari-window-height.e2e.ts:
    • expects the 120rem maximum from #7501 instead of 64 (a literal, so an unintended change to the limit still fails), and checks the slider's max;
    • on phone projects and at 390px it asserts that the "Professor Mari window" section exists but is hidden, instead of using the slider;
    • opens Professor Mari with the shortcut the app's own isApplePlatform() expects (Cmd+J on Apple platforms, Ctrl+J elsewhere). WebKit on a Mac host reports an Apple platform even for the iPhone profile, so Ctrl+J never opened Mari there.

Decisions made without the maintainer:

  • The narrator avatars use generated solid colours instead of copying Mari sprites into a test fixture folder, so no new binary files are added.
  • On phones the height test now only checks that the size section is hidden and that the window keeps its default height. It no longer drives the slider there, because #7501 removed it from phones on purpose.

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 (for reference, not a substitute for the boxes above):

  • pnpm check: passed (one existing lint warning in unrelated client code).
  • pnpm exec playwright test -c playwright.config.ts <the six specs> --project=desktop-chromium --project=mobile-chromium --workers=2: 112 passed, 5 skipped (narrator mode-gate tests are desktop-only by design), 3 failed. Two failures were the second rejected-whisper click in roleplay-commands (fixed in the second commit). The third, advanced-memory.e2e.ts:114 on mobile-chromium, timed out waiting for the composer as the first mobile test after a cold server start. The lane does not touch that test. A rerun of advanced-memory.e2e.ts:114 and roleplay-commands.e2e.ts:845 on both Chromium projects: 4 passed.
  • The same six specs with --project=mobile-webkit --workers=2 (branch includes the silent-e2e fixture from #7833): 54 passed, 5 skipped, 1 failed. Every test this PR edits passed. The failure was advanced-memory.e2e.ts:1458, which this PR does not touch: the composer still held the previous message's text when the next one was typed. That test passed twice in a row when rerun alone (--repeat-each=2 --workers=1), so it looks like a timing flake under load rather than a regression.

Manual verification notes

  • Manually run the six specs on desktop-chromium, mobile-chromium and mobile-webkit and confirm they pass.
  • Manually confirm in the browser that the Advanced Memory progress wheel, the Scene-busy notice, the phone Connections menu arrow, the open notice of a failed whisper and the hidden window size section on phones look as the specs now describe.

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)

Not applicable: test-only change.

Summary by CodeRabbit

  • Tests
    • Updated end-to-end checks for the Advanced Memory wheel’s image, phone model-picker navigation and touch targets, and platform-specific Professor Mari window sizing.
    • Improved test coverage for narrator portrait rendering, expanded notices for malformed or rejected private whispers, and guidance shown when a Scene blocks replies.

🔄 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/7856 **Author:** [@SpicyMarinara](https://github.com/SpicyMarinara) **Created:** 10/19/2026 **Status:** ✅ Merged **Merged:** 10/20/2026 **Merged by:** [@SpicyMarinara](https://github.com/SpicyMarinara) **Base:** `staging` ← **Head:** `fix/ready-e2e-copy-asset-drift` --- ### 📝 Commits (7) - [`a26499e`](https://github.com/Pasta-Devs/Marinara-Engine/commit/a26499e15b98700cce45485aa5ff3a8b035835b6) fix(release): update six e2e specs for intentional product changes - [`2fd0c4b`](https://github.com/Pasta-Devs/Marinara-Engine/commit/2fd0c4b15193fefbfce0f14ee5f124944f8d2fa7) Merge remote-tracking branch 'origin/staging' into fix/ready-e2e-copy-asset-drift - [`63fdb24`](https://github.com/Pasta-Devs/Marinara-Engine/commit/63fdb243dffc30777a5e3e97f1c04989917d07ca) Merge remote-tracking branch 'origin/staging' into fix/ready-e2e-copy-asset-drift - [`e12d507`](https://github.com/Pasta-Devs/Marinara-Engine/commit/e12d507762f1b9beba477b6379132de5fe04a79a) Merge remote-tracking branch 'origin/staging' into fix/ready-e2e-copy-asset-drift - [`e909d4b`](https://github.com/Pasta-Devs/Marinara-Engine/commit/e909d4beb17734eb90b4961fad440605fce94f33) fix(release): stop closing the rejected whisper notice in roleplay-commands - [`3e55900`](https://github.com/Pasta-Devs/Marinara-Engine/commit/3e559009fbfc6fafccfdf6eb7c5d008e704b0684) fix(release): pin the Professor Mari window maximum to 120rem in its height spec - [`3deae5b`](https://github.com/Pasta-Devs/Marinara-Engine/commit/3deae5b4f838fc145c22f19d8dc1ff867a3b0309) Merge remote-tracking branch 'origin/staging' into fix/ready-e2e-copy-asset-drift ### 📊 Changes **6 files changed** (+77 additions, -29 deletions) <details> <summary>View changed files</summary> 📝 `e2e/advanced-memory.e2e.ts` (+4 -1) 📝 `e2e/connection-model-switcher.e2e.ts` (+6 -4) 📝 `e2e/mari-window-height.e2e.ts` (+34 -8) 📝 `e2e/narrator-macro-avatars.e2e.ts` (+20 -13) 📝 `e2e/roleplay-commands.e2e.ts` (+9 -2) 📝 `e2e/scene-blocked-feedback.e2e.ts` (+4 -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 exists. These failures were found during the release-readiness pass before the next release. An issue should be opened if one is wanted for tracking. ## Why this change Six e2e specs fail on `staging` every time because their assertions predate product changes that were made on purpose. They are not app bugs, but they hide real regressions in the same files and make every full e2e run red. This PR changes only the specs. No product code changes. | Spec | Product change it missed | | --- | --- | | `advanced-memory` | #7312 converted the memory wheel sprite from PNG to WebP | | `narrator-macro-avatars` | #7312 removed `Mari_wave.png`, `Mari_thinking.png` and `Mari_greet.png`, so every test threw `ENOENT` before it started | | `scene-blocked-feedback` | #7425 rewrote the Scene-busy notice | | `connection-model-switcher` (phones) | #7660 made a connection row switch connections and moved the models list behind the row's arrow | | `roleplay-commands` | #7412 opens a failed or rejected private command's notice by default, so clicking it closed it | | `mari-window-height` | #7501 raised the maximum window height to 120rem and hid the window size section below 640px | ## What changed - `e2e/advanced-memory.e2e.ts`: the wheel's background image must be `/sprites/mari/generated/professor-mari-memory-wheel-v2.webp`. - `e2e/narrator-macro-avatars.e2e.ts`: each character gets a small test-owned PNG made with `sharp` (already a server dependency), one solid colour per character. Each avatar is still a separate uploaded file with its own URL, so the assertions still tell Alice, Bob, the inactive member and the outside visitor apart. The test no longer depends on bundled Mari sprites. - `e2e/scene-blocked-feedback.e2e.ts`: asserts the full new notice from `chat.presence.sceneBusyNotice`. The check that no offline notice appears is unchanged. - `e2e/connection-model-switcher.e2e.ts`: on phones the models step opens from `[data-connection-models="<id>"]` (the row's arrow). The test also checks that the arrow is at least 44px tall, like the row. - `e2e/roleplay-commands.e2e.ts`: for the malformed whisper and for the two rejected whispers (unknown character, commands off), the test asserts that the notice starts open (`aria-expanded="true"`) instead of clicking it. The error text and the "original text preserved" checks are unchanged. - `e2e/mari-window-height.e2e.ts`: - expects the 120rem maximum from #7501 instead of 64 (a literal, so an unintended change to the limit still fails), and checks the slider's `max`; - on phone projects and at 390px it asserts that the "Professor Mari window" section exists but is hidden, instead of using the slider; - opens Professor Mari with the shortcut the app's own `isApplePlatform()` expects (Cmd+J on Apple platforms, Ctrl+J elsewhere). WebKit on a Mac host reports an Apple platform even for the iPhone profile, so Ctrl+J never opened Mari there. Decisions made without the maintainer: - The narrator avatars use generated solid colours instead of copying Mari sprites into a test fixture folder, so no new binary files are added. - On phones the height test now only checks that the size section is hidden and that the window keeps its default height. It no longer drives the slider there, because #7501 removed it from phones on purpose. ## 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 (for reference, not a substitute for the boxes above): - `pnpm check`: passed (one existing lint warning in unrelated client code). - `pnpm exec playwright test -c playwright.config.ts <the six specs> --project=desktop-chromium --project=mobile-chromium --workers=2`: 112 passed, 5 skipped (narrator mode-gate tests are desktop-only by design), 3 failed. Two failures were the second rejected-whisper click in `roleplay-commands` (fixed in the second commit). The third, `advanced-memory.e2e.ts:114` on mobile-chromium, timed out waiting for the composer as the first mobile test after a cold server start. The lane does not touch that test. A rerun of `advanced-memory.e2e.ts:114` and `roleplay-commands.e2e.ts:845` on both Chromium projects: 4 passed. - The same six specs with `--project=mobile-webkit --workers=2` (branch includes the silent-e2e fixture from #7833): 54 passed, 5 skipped, 1 failed. Every test this PR edits passed. The failure was `advanced-memory.e2e.ts:1458`, which this PR does not touch: the composer still held the previous message's text when the next one was typed. That test passed twice in a row when rerun alone (`--repeat-each=2 --workers=1`), so it looks like a timing flake under load rather than a regression. ### Manual verification notes - Manually run the six specs on `desktop-chromium`, `mobile-chromium` and `mobile-webkit` and confirm they pass. - Manually confirm in the browser that the Advanced Memory progress wheel, the Scene-busy notice, the phone Connections menu arrow, the open notice of a failed whisper and the hidden window size section on phones look as the specs now describe. ## 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) Not applicable: test-only change. <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit * **Tests** * Updated end-to-end checks for the Advanced Memory wheel’s image, phone model-picker navigation and touch targets, and platform-specific Professor Mari window sizing. * Improved test coverage for narrator portrait rendering, expanded notices for malformed or rejected private whispers, and guidance shown when a Scene blocks replies. <!-- 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:17 +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#7970
No description provided.