Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion dashboard/src/__tests__/ConfirmDialog.test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ describe('ConfirmDialog', () => {
/>,
);
const confirmBtn = screen.getByText('Confirm');
expect(confirmBtn.className).toContain('text-red-300');
expect(confirmBtn.className).toContain('text-[var(--color-danger-glow)]');
});

it('applies warning variant styles to confirm button', () => {
Expand Down
2 changes: 1 addition & 1 deletion dashboard/src/__tests__/PipelineStatusBadge.test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ describe('PipelineStatusBadge', () => {
render(<PipelineStatusBadge status="completed" />);
const badge = screen.getByText('completed');
expect(badge).toBeDefined();
expect(badge.className).toContain('text-emerald-400');
expect(badge.className).toContain('text-[var(--color-success-glow)]');
});

it('renders failed status with red color', () => {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ describe('EmptyState', () => {
const { container } = render(<EmptyState variant="empty-error" title="Failed" />);
const h3 = container.querySelector('h3');
expect(h3).not.toBeNull();
expect(h3!.className).toContain('text-red-300');
expect(h3!.className).toContain('text-[var(--color-danger-glow)]');
});

it('applies feature-unavailable variant styles', () => {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ describe('LiveStatusIndicator', () => {
);
const { container } = render(<LiveStatusIndicator />);
const badge = container.querySelector('span.inline-flex');
expect(badge?.className).toContain('bg-emerald-500/10');
expect(badge?.className).toContain('bg-[var(--color-success)]/10');
});

it('applies warning styles when disconnected', () => {
Expand Down
Loading