[PR #6142] [MERGED] test: give the native dice scenario enough time on WebKit #7070

Closed
opened 2026-10-23 04:16:16 +07:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/Pasta-Devs/Marinara-Engine/pull/6142
Author: @SpicyMarinara
Created: 9/13/2026
Status: ✅ Merged
Merged: 9/13/2026
Merged by: @SpicyMarinara

Base: staging ← Head: fix/6141-native-dice-test-budget


📝 Commits (2)

  • f0789a9 chore: start native dice test budget follow-up
  • 769c064 test: allow native dice scenario a 120-second budget

📊 Changes

2 files changed (+3 additions, -0 deletions)

View changed files

📝 CHANGELOG.md (+2 -0)
📝 e2e/game-native-dice.e2e.ts (+1 -0)

📄 Description

Linked issue

Closes #6141

Why this change

The existing native-dice browser scenario performs several complete flows and exhausted the 60-second test deadline twice on mobile WebKit after earlier product assertions passed. Its same-head dark-theme control already takes 50.4 seconds.

What changed

  • Give only that scenario a 120-second total test budget while retaining its existing 10-second action/assertion limits.
  • Record the contributor-facing CI reliability fix in the changelog.

Validation

Completed automated checks:

  • pnpm check passed (the existing GameNarration hook-dependency warning remains).

  • PLAYWRIGHT_ONLY_PROJECT=mobile PLAYWRIGHT_MOBILE_CLIENT_PORT=5187 PLAYWRIGHT_MOBILE_SERVER_PORT=7980 pnpm exec playwright test e2e/game-native-dice.e2e.ts --project=mobile-webkit --grep 'Game queues every native roll and skill check and retains their history' --workers=1 passed: 2/2, dark 34.2s and light 32.1s.

  • pnpm exec prettier --check e2e/game-native-dice.e2e.ts CHANGELOG.md and git diff --check passed.

  • 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 the native-dice scenario still reports action/assertion failures promptly. The automated browser run completed the existing dice, skill-check, history, translation, continuation, and regeneration assertions in both themes. All validation boxes remain unchecked for the maintainer.

Docs and release impact

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

Only the test budget and changelog changed. No product UI, user-documentation, or release-version changes are included.

Summary by CodeRabbit

  • Tests
    • Increased the total time allowed for the native-dice WebKit browser test to support its multi-stage scenario.
    • Individual action and assertion timeouts remain unchanged.

🔄 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/6142 **Author:** [@SpicyMarinara](https://github.com/SpicyMarinara) **Created:** 9/13/2026 **Status:** ✅ Merged **Merged:** 9/13/2026 **Merged by:** [@SpicyMarinara](https://github.com/SpicyMarinara) **Base:** `staging` ← **Head:** `fix/6141-native-dice-test-budget` --- ### 📝 Commits (2) - [`f0789a9`](https://github.com/Pasta-Devs/Marinara-Engine/commit/f0789a9b2bd42bb3394e833e67ef66d045a7e4f1) chore: start native dice test budget follow-up - [`769c064`](https://github.com/Pasta-Devs/Marinara-Engine/commit/769c064a4693a8f080eb880b0b9696b10e90c8e6) test: allow native dice scenario a 120-second budget ### 📊 Changes **2 files changed** (+3 additions, -0 deletions) <details> <summary>View changed files</summary> 📝 `CHANGELOG.md` (+2 -0) 📝 `e2e/game-native-dice.e2e.ts` (+1 -0) </details> ### 📄 Description ## Linked issue Closes #6141 ## Why this change The existing native-dice browser scenario performs several complete flows and exhausted the 60-second test deadline twice on mobile WebKit after earlier product assertions passed. Its same-head dark-theme control already takes 50.4 seconds. ## What changed - Give only that scenario a 120-second total test budget while retaining its existing 10-second action/assertion limits. - Record the contributor-facing CI reliability fix in the changelog. ## Validation Completed automated checks: - `pnpm check` passed (the existing GameNarration hook-dependency warning remains). - `PLAYWRIGHT_ONLY_PROJECT=mobile PLAYWRIGHT_MOBILE_CLIENT_PORT=5187 PLAYWRIGHT_MOBILE_SERVER_PORT=7980 pnpm exec playwright test e2e/game-native-dice.e2e.ts --project=mobile-webkit --grep 'Game queues every native roll and skill check and retains their history' --workers=1` passed: 2/2, dark 34.2s and light 32.1s. - `pnpm exec prettier --check e2e/game-native-dice.e2e.ts CHANGELOG.md` and `git diff --check` passed. - [ ] `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 the native-dice scenario still reports action/assertion failures promptly. The automated browser run completed the existing dice, skill-check, history, translation, continuation, and regeneration assertions in both themes. All validation boxes remain unchecked for the maintainer. ## Docs and release impact - [ ] No docs changes needed - [ ] Updated docs (README / CONTRIBUTING / android/README / CHANGELOG) as needed - [ ] Translated docs on the `docs-i18n` branch updated to match, or a `[docs-i18n]` follow-up issue opened - [ ] Version/release files updated (only if this PR includes a version bump) Only the test budget and changelog changed. No product UI, user-documentation, or release-version changes are included. <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit - **Tests** - Increased the total time allowed for the native-dice WebKit browser test to support its multi-stage scenario. - Individual action and assertion timeouts remain unchanged. <!-- 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-23 04:16:16 +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#7070
No description provided.