Skip to content

fix: SW-2054 correct DataAppShell Storybook E2E test assertions for icon-only rail#155

Draft
Copilot wants to merge 2 commits into
mainfrom
copilot/fix-storybook-e2e-tests-again
Draft

fix: SW-2054 correct DataAppShell Storybook E2E test assertions for icon-only rail#155
Copilot wants to merge 2 commits into
mainfrom
copilot/fix-storybook-e2e-tests-again

Conversation

Copilot AI commented Jun 24, 2026

Copy link
Copy Markdown
Contributor

Three play-test assertions in DataAppShell.stories.tsx were not updated to match the component changes landed in PR #138 (icon-only nav rail, removed count display, narrowed rail width), causing the Storybook E2E job to fail.

Summary

Root cause: PR #138 changed the DataAppShell component but left three stale test assertions:

Story Stale assertion Fix
Workflow Panel Interactions getByText("1K") — count pills removed from WorkflowPanel Remove the assertion; rename step to "shows step labels"
Multiple Nav Groups getByText("Filters") within the icon rail — labels moved to aria-label getByRole("button", { name: "Filters" })
Compact Property railStyles.width === "60px" — rail narrowed from w-[60px] to w-12 Assert "48px"

Also carries the component changes from PR #138 (DataAppShell.tsx: icon-only compact buttons with aria-label, w-12 rail, 30px icon box, removed label span).

Type of Change

  • Feature (new functionality)
  • Bug fix
  • Refactor
  • Documentation
  • Chore (build, CI, dependencies)
  • Breaking change

Checklist

  • yarn lint passes
  • yarn build passes
  • yarn test:all passes
  • Storybook stories added/updated
  • Code coverage remains the same or increased

Testing

SW-T4672 (Workflow Panel Interactions), SW-T4673 (Multiple Nav Groups), SW-T4677 (Compact Property)

Verification

  • Deploys to preview environment for manual verification
  • All CI/E2E checks pass

Screenshots

N/A — test-only corrections; no visual change beyond what PR #138 already introduced.

@vercel

vercel Bot commented Jun 24, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
ts-lib-ui-kit-storybook Ready Ready Preview, Comment Jun 24, 2026 1:36am

Request Review

…d counts

Three Storybook play-test fixes for PR #138 (feat/dataappshell-rail-style):

1. WorkflowPanelInteractions: remove "1K" count assertion — WorkflowPanel
   no longer renders inputCount/outputCount pill text.

2. MultipleNavGroups: replace getByText("Filters") / getAllByText("Filters")
   with getByRole("button", { name: "Filters" }) — nav buttons in the
   icon rail are now icon-only (label moved to aria-label + tooltip).

3. CompactProperty: update railStyles.width assertion from "60px" to "48px"
   — rail width changed from w-[60px] to w-12 (48 px).
Copilot AI changed the title [WIP] Fix failing GitHub Actions job for Storybook E2E Tests fix: SW-2054 correct DataAppShell Storybook E2E test assertions for icon-only rail Jun 24, 2026
Copilot AI requested a review from 54321jenn-ts June 24, 2026 01:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants