generated from RealDevSquad/website-template
-
Notifications
You must be signed in to change notification settings - Fork 167
Open
Description
Context
A test was skipped in PR #1391 as part of a hotfix to show task status dropdown for backlog task status.
Skipped test:
it.skip('should show text Backlog when a task with Backlog status is passed down.', () => {
const oldProgress = 100;
const oldStatus = BACKEND_TASK_STATUS.BACKLOG;
render(
<TaskStatusDropdown
oldProgress={oldProgress}
oldStatus={oldStatus}
onChange={onChange}
/>
);
const element = screen.getByTestId('task-status-backlog');
expect(element).toHaveTextContent('Backlog');
});File: __tests__/Unit/Components/Tasks/TaskStatusDropdown.test.tsx
Task
- Unskip and fix the test for backlog status display
- Ensure the test properly validates the backlog status behavior in TaskStatusDropdown component
- Verify all related test cases are passing
References
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels