Skip to content

fix: update E2E tests for Radix dialog changes#87

Merged
wesbillman merged 1 commit intomainfrom
fix-e2e-ci
Apr 2, 2026
Merged

fix: update E2E tests for Radix dialog changes#87
wesbillman merged 1 commit intomainfrom
fix-e2e-ci

Conversation

@wesbillman
Copy link
Copy Markdown
Collaborator

Summary

  • Fix 6 failing E2E tests in skills.spec.ts and personas.spec.ts broken by the Tailwind v4 / boss-ui upgrade (feat: import boss-ui components + Tailwind v4 upgrade #85)
  • Replace aria-label assertions with DialogTitle h2 text checks (new Radix dialogs use aria-labelledby instead of aria-label)
  • Replace getByLabel("Close") with getByRole("button", { name: "Close" }) for the X close button

Test plan

  • All 218 unit tests pass
  • All 34 E2E tests pass (skills + personas specs)
  • Biome lint/format clean
  • TypeScript compiles clean
  • Pre-commit and pre-push hooks pass

🤖 Generated with Claude Code

The Tailwind v4 upgrade (#85) replaced dialog components with Radix UI
primitives that use aria-labelledby instead of aria-label. Update E2E
tests to check DialogTitle h2 text instead of missing aria-label attrs,
and use getByRole("button", { name: "Close" }) for the X close button.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@wesbillman wesbillman merged commit 2649718 into main Apr 2, 2026
8 checks passed
@wesbillman wesbillman deleted the fix-e2e-ci branch April 2, 2026 22:13
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.

1 participant