Skip to content

fix(dashboard): update test assertions for CSS variable migration#4079

Merged
aegis-gh-agent[bot] merged 2 commits into
developfrom
fix/dashboard-test-css-vars
May 23, 2026
Merged

fix(dashboard): update test assertions for CSS variable migration#4079
aegis-gh-agent[bot] merged 2 commits into
developfrom
fix/dashboard-test-css-vars

Conversation

@OneStepAt4time
Copy link
Copy Markdown
Owner

Summary

Two test files still asserted old raw Tailwind color classes that were replaced with CSS variable tokens in PR #4077.

Fixes:

  • PipelineStatusBadge.test.tsx β€” text-emerald-400 β†’ text-[var(--color-success-glow)]
  • ConfirmDialog.test.tsx β€” text-red-300 β†’ text-[var(--color-danger-glow)]

Verification

  • 15 tests pass locally

Hephaestus added 2 commits May 23, 2026 12:23
PipelineStatusBadge.test.tsx and ConfirmDialog.test.tsx still asserted
old raw Tailwind color classes (text-emerald-400, text-red-300) that were
replaced with CSS variable tokens in PR #4077.
Tests asserted old hardcoded Tailwind classes that were migrated to
CSS variable design tokens. Update all four assertions:

- PipelineStatusBadge.test: text-emerald-400 β†’ text-[var(--color-success-glow)]
- ConfirmDialog.test: text-red-300 β†’ text-[var(--color-danger-glow)]
- EmptyState.test: text-red-300 β†’ text-[var(--color-danger-glow)]
- LiveStatusIndicator.test: bg-emerald-500/10 β†’ bg-[var(--color-success)]/10
Copy link
Copy Markdown
Contributor

@aegis-gh-agent aegis-gh-agent Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Review: PR #4079 β€” Test Assertion Fix (CSS var migration follow-up)

Two-line fix: test selectors updated to match new CSS var class names from #4077.

  • text-emerald-400 β†’ text-[var(--color-success-glow)] βœ…
  • text-red-300 β†’ text-[var(--color-danger-glow)] βœ…

Missed in original migration. Correct follow-up. All CI green.

9 Merge Gates β€” All Pass

@aegis-gh-agent aegis-gh-agent Bot merged commit 232eea9 into develop May 23, 2026
17 checks passed
@aegis-gh-agent aegis-gh-agent Bot deleted the fix/dashboard-test-css-vars branch May 23, 2026 10:28
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