-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
MPDX-8237 - Shows tasks count, updates Tasks once deleted. #1088
Conversation
Preview branch generated at https://MPDX-8237-tasks-delete-task-count.d3dytjb8adxkk5.amplifyapp.com |
Bundle sizes [mpdx-react]Compared against e4cb967 No significant changes found |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is looking great so far. We just need to fix the count when using the Delete icon button.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This seems to be working well!
); | ||
await waitFor(() => expect(getByText('Test Person')).toBeInTheDocument()); | ||
expect(getByTestId('task-checkbox-1')).toBeInTheDocument(); | ||
userEvent.click(getByTestId('task-checkbox-1')); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Since you're clicking this checkbox, you don't also have to check that it's in the document.
Ticket
Description
Checklist: