[GH-ISSUE #4406] Fix character-card action sizing regression assertion #2395

Closed
opened 2026-10-21 05:47:51 +07:00 by bsakaguchi · 1 comment
Owner

Originally created by @SpicyMarinara on GitHub (Aug 1, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/4406

Problem

The full UI smoke suite passes 173 tests but fails the existing character-card action sizing assertion in both desktop and mobile Chromium.

The character-row action container is a three-column grid. In the failing flow, Add to active chat is intentionally hidden because the character is already assigned, but the grid still reserves all three columns. The assertion calculates the full-width Chat action from only the two visible Duplicate and Delete columns, so it undercounts one column and one gap.

Scope

Update the Playwright sizing assertion to account for the fixed three-column action grid. Keep this as a focused test-only correction with no runtime UI changes.

Acceptance criteria

  • The focused character action flow passes in desktop Chromium.
  • The focused character action flow passes in mobile Chromium.
  • The assertion continues checking consistent action heights, equal visible column widths, and full-row Chat sizing.
Originally created by @SpicyMarinara on GitHub (Aug 1, 2026). Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/4406 ## Problem The full UI smoke suite passes 173 tests but fails the existing character-card action sizing assertion in both desktop and mobile Chromium. The character-row action container is a three-column grid. In the failing flow, Add to active chat is intentionally hidden because the character is already assigned, but the grid still reserves all three columns. The assertion calculates the full-width Chat action from only the two visible Duplicate and Delete columns, so it undercounts one column and one gap. ## Scope Update the Playwright sizing assertion to account for the fixed three-column action grid. Keep this as a focused test-only correction with no runtime UI changes. ## Acceptance criteria - The focused character action flow passes in desktop Chromium. - The focused character action flow passes in mobile Chromium. - The assertion continues checking consistent action heights, equal visible column widths, and full-row Chat sizing.
bsakaguchi 2026-10-21 05:47:51 +07:00
Author
Owner

@SpicyMarinara commented on GitHub (Aug 1, 2026):

I’m taking this in a focused one-file follow-up PR against staging.

<!-- gh-comment-id:5151830244 --> @SpicyMarinara commented on GitHub (Aug 1, 2026): I’m taking this in a focused one-file follow-up PR against `staging`.
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#2395
No description provided.