Skip to content

Commit

Permalink
fix(sidebar-pod-statuses): update description for starting pods (#1769)
Browse files Browse the repository at this point in the history
  • Loading branch information
RemiBonnet authored Nov 28, 2024
1 parent 5812356 commit 7be228f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -171,8 +171,9 @@ describe('SidebarPodStatuses', () => {
const toggleButton = screen.getByRole('button')
await userEvent.click(toggleButton)

expect(screen.getByText('1 running')).toBeInTheDocument()
expect(screen.getByText('1 warning')).toBeInTheDocument()
expect(screen.getByText('2 starting')).toBeInTheDocument()
expect(screen.getByText('1 starting')).toBeInTheDocument()
expect(screen.getByText('1 failing')).toBeInTheDocument()
})

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ export function SidebarPodStatuses({ organizationId, projectId, service, childre
.with('COMPLETED', () => ({ type: 'running', message: 'completed', color: 'bg-green-500' }))
.with('WARNING', () => ({ type: 'warning', message: 'warning', color: 'bg-yellow-500' }))
.with('STARTING', () => ({
type: 'running',
type: 'starting',
message: 'starting',
color: 'bg-purple-500',
}))
Expand Down

0 comments on commit 7be228f

Please sign in to comment.