[PR #1312] [MERGED] test(noodle,slurp2): make the package browser suite pass again #1396

Closed
opened 2026-10-21 05:10:22 +07:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/Pasta-Devs/Marinara-Agents/pull/1312
Author: @Gunterlie
Created: 10/11/2026
Status: ✅ Merged
Merged: 10/11/2026
Merged by: @Gunterlie

Base: staging ← Head: fix/noodle-slurp-browser-ci


📝 Commits (9)

  • 07d5db4 test(slurp2): align the browser suite with the current Slurp UI
  • 77d9113 test(noodle): fix the Latest Posts widget steps for the current Home
  • 0021457 Merge remote-tracking branch 'origin/staging' into fix/noodle-slurp-browser-ci
  • e83ad67 test(slurp2): match the browser suite to the current refresh, ads and header UI
  • f3876dd test(noodle): open the widget group inside openWidgetManager and branch on width
  • f643b48 test(slurp2): always delete the surface persona; assert the earlier releases hide
  • aafe40f test(browser): warm the dev client before the package suites
  • 8860876 test(browser): warm up only the Noodle and Slurp suites
  • 279c745 test(noodle): wait for the Widgets dialog to close before focusing the widget

📊 Changes

4 files changed (+229 additions, -88 deletions)

View changed files

➕ tests/package-browser-warmup.ts (+45 -0)
📝 tests/package-noodle.e2e.ts (+25 -2)
📝 tests/package-slurp2.e2e.ts (+158 -86)
📝 tests/playwright.package.config.ts (+1 -0)

📄 Description

Important

Contributions target staging. Only SpicyMarinara may promote this repository's staging branch to main.

Linked issue

Closes #1311

Why this change

The Noodle and Slurp Package Browser workflow has failed on every recent PR that touches Noodle or Slurp (no green run in the last 100), so it protected nothing. The failures were stale tests after intended UI changes, not product failures.

What changed

Tests only: tests/package-slurp2.e2e.ts, tests/package-noodle.e2e.ts. No product code, manifests, bundles or versions.

  • Slurp: selectors and labels follow the current UI (phone navigation, Writing tab, regrouped ad settings, split first-run / What's new flows). The image-context test is split: radio choices persist; the refresh run asserts the dialog closes, three requests are held, and the started/done toasts appear (the dialog no longer stays open with a countdown). The older-ads test now mocks the endpoint the client reads (/slurp2/slurp/ads/brands) so the tame-label fallback is really exercised. The phone logo assertion is kept for both projects. The profile test cleans up the Creator it makes (it leaked into the messaging test).
  • Noodle: the widget-manager helper opens the Noodle group itself, the phone branch is chosen by viewport width instead of a 5 s probe, and the first-visit welcome card is dismissed.

Package and security impact

  • Affected package IDs: none (test files only)
  • Engine compatibility impact: none
  • New or changed permissions/entrypoints: none
  • Restart, storage, update, or uninstall impact: none

Validation

Agent-run checks (boxes left for human verification):

  • Local run against a clean origin/staging Engine (63006ab28), on this branch merged with staging: npm run test:browser:slurp2 23 passed / 0 failed / 3 skipped; npm run test:browser:noodle 42 passed / 0 failed / 12 skipped. Every skip is an existing per-project test.skip with its reason in the code.

  • npm run check and git diff --check pass.

  • Independent read-only review of the first test remap found 7 issues (stale refresh tail, dead route mock, a dropped phone-logo assertion, a state-dependent selector, unanchored negative asserts, a fixed wait, hidden-state dependence); all are fixed in e83ad6773 and f3876dd5a.

  • node scripts/validate-catalog.mjs passes locally

  • git diff --check passes locally

  • Rebuilt every affected manifest, payload, artifact, and catalog entry

  • Installed or updated the affected package through Marinara Engine

  • Checked supported modes, restart behavior, and uninstall cleanup

  • Read and followed CONTRIBUTING.md

Manual verification notes

  • The proof for this PR is the workflow itself: the Noodle and Slurp browser jobs on this PR.
  • Not changed here: the workflow is still not a required check.

Documentation impact

  • No documentation changes needed (agent note: none expected)

UI evidence (if applicable)

Not applicable (no UI change).

Summary by CodeRabbit

  • Tests
    • Expanded end-to-end coverage for mobile and desktop navigation, widget access, settings, onboarding, and release history.
    • Updated checks for creator refresh completion, feed controls, ad settings, and automatic translation.
    • Improved test setup to prepare package views and onboarding state before browser tests run.

🔄 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-Agents/pull/1312 **Author:** [@Gunterlie](https://github.com/Gunterlie) **Created:** 10/11/2026 **Status:** ✅ Merged **Merged:** 10/11/2026 **Merged by:** [@Gunterlie](https://github.com/Gunterlie) **Base:** `staging` ← **Head:** `fix/noodle-slurp-browser-ci` --- ### 📝 Commits (9) - [`07d5db4`](https://github.com/Pasta-Devs/Marinara-Agents/commit/07d5db4248b8deae6a1da583985258432c2b6482) test(slurp2): align the browser suite with the current Slurp UI - [`77d9113`](https://github.com/Pasta-Devs/Marinara-Agents/commit/77d91133747bc98c3cd5cab0544928c3aea5ae86) test(noodle): fix the Latest Posts widget steps for the current Home - [`0021457`](https://github.com/Pasta-Devs/Marinara-Agents/commit/0021457b7a1788803282ceec8e6bf522e31abc66) Merge remote-tracking branch 'origin/staging' into fix/noodle-slurp-browser-ci - [`e83ad67`](https://github.com/Pasta-Devs/Marinara-Agents/commit/e83ad6773b73fce63256a5c9648144a836c9063a) test(slurp2): match the browser suite to the current refresh, ads and header UI - [`f3876dd`](https://github.com/Pasta-Devs/Marinara-Agents/commit/f3876dd5a5eb40d2a573f6590a5dd9fc2c055147) test(noodle): open the widget group inside openWidgetManager and branch on width - [`f643b48`](https://github.com/Pasta-Devs/Marinara-Agents/commit/f643b48dd2f6899d3d97e8168b8ddaa0ac46123e) test(slurp2): always delete the surface persona; assert the earlier releases hide - [`aafe40f`](https://github.com/Pasta-Devs/Marinara-Agents/commit/aafe40fde25f72d5412245b8ba2a6fda9df6d1a6) test(browser): warm the dev client before the package suites - [`8860876`](https://github.com/Pasta-Devs/Marinara-Agents/commit/8860876883cdca56553b8811732255f971bac75f) test(browser): warm up only the Noodle and Slurp suites - [`279c745`](https://github.com/Pasta-Devs/Marinara-Agents/commit/279c745592b4b97fea8bc5eecd3c593a25a34c60) test(noodle): wait for the Widgets dialog to close before focusing the widget ### 📊 Changes **4 files changed** (+229 additions, -88 deletions) <details> <summary>View changed files</summary> ➕ `tests/package-browser-warmup.ts` (+45 -0) 📝 `tests/package-noodle.e2e.ts` (+25 -2) 📝 `tests/package-slurp2.e2e.ts` (+158 -86) 📝 `tests/playwright.package.config.ts` (+1 -0) </details> ### 📄 Description > [!IMPORTANT] > Contributions target `staging`. Only `SpicyMarinara` may promote this repository's `staging` branch to `main`. ## Linked issue Closes #1311 ## Why this change The Noodle and Slurp Package Browser workflow has failed on every recent PR that touches Noodle or Slurp (no green run in the last 100), so it protected nothing. The failures were stale tests after intended UI changes, not product failures. ## What changed Tests only: `tests/package-slurp2.e2e.ts`, `tests/package-noodle.e2e.ts`. No product code, manifests, bundles or versions. - **Slurp:** selectors and labels follow the current UI (phone navigation, Writing tab, regrouped ad settings, split first-run / What's new flows). The image-context test is split: radio choices persist; the refresh run asserts the dialog closes, three requests are held, and the started/done toasts appear (the dialog no longer stays open with a countdown). The older-ads test now mocks the endpoint the client reads (`/slurp2/slurp/ads/brands`) so the tame-label fallback is really exercised. The phone logo assertion is kept for both projects. The profile test cleans up the Creator it makes (it leaked into the messaging test). - **Noodle:** the widget-manager helper opens the Noodle group itself, the phone branch is chosen by viewport width instead of a 5 s probe, and the first-visit welcome card is dismissed. ## Package and security impact - Affected package IDs: none (test files only) - Engine compatibility impact: none - New or changed permissions/entrypoints: none - Restart, storage, update, or uninstall impact: none ## Validation Agent-run checks (boxes left for human verification): - Local run against a clean `origin/staging` Engine (63006ab28), on this branch merged with `staging`: `npm run test:browser:slurp2` 23 passed / 0 failed / 3 skipped; `npm run test:browser:noodle` 42 passed / 0 failed / 12 skipped. Every skip is an existing per-project `test.skip` with its reason in the code. - `npm run check` and `git diff --check` pass. - Independent read-only review of the first test remap found 7 issues (stale refresh tail, dead route mock, a dropped phone-logo assertion, a state-dependent selector, unanchored negative asserts, a fixed wait, hidden-state dependence); all are fixed in e83ad6773 and f3876dd5a. - [ ] `node scripts/validate-catalog.mjs` passes locally - [ ] `git diff --check` passes locally - [ ] Rebuilt every affected manifest, payload, artifact, and catalog entry - [ ] Installed or updated the affected package through Marinara Engine - [ ] Checked supported modes, restart behavior, and uninstall cleanup - [ ] Read and followed `CONTRIBUTING.md` ### Manual verification notes - The proof for this PR is the workflow itself: the Noodle and Slurp browser jobs on this PR. - Not changed here: the workflow is still not a required check. ## Documentation impact - [ ] No documentation changes needed (agent note: none expected) ## UI evidence (if applicable) Not applicable (no UI change). <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit * **Tests** * Expanded end-to-end coverage for mobile and desktop navigation, widget access, settings, onboarding, and release history. * Updated checks for creator refresh completion, feed controls, ad settings, and automatic translation. * Improved test setup to prepare package views and onboarding state before browser tests run. <!-- 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-21 05:10:22 +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-Agents#1396
No description provided.