-
Notifications
You must be signed in to change notification settings - Fork 29
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
Fix(canvas): Show confirmation dialog for replacing a step with children #1441
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #1441 +/- ##
=======================================
Coverage ? 68.63%
Complexity ? 25
=======================================
Files ? 269
Lines ? 7716
Branches ? 1532
=======================================
Hits ? 5296
Misses ? 2371
Partials ? 49 ☔ View full report in Codecov by Sentry. |
94a9cab
to
f4a61d8
Compare
f4a61d8
to
73037d6
Compare
73037d6
to
97fe010
Compare
Quality Gate passedIssues Measures |
@@ -0,0 +1,37 @@ | |||
import { fireEvent, render } from '@testing-library/react'; |
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.
Awesome, thanks a lot for adding tests 💪
@@ -102,6 +103,30 @@ describe('FlowsList.tsx', () => { | |||
expect(onCloseSpy).toHaveBeenCalledTimes(1); | |||
}); | |||
|
|||
it('should show delete confirmation modal when clicking on a delete icon', async () => { |
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.
Awesome, thanks a lot for adding tests 💪
@@ -0,0 +1,54 @@ | |||
import { fireEvent, render, waitFor } from '@testing-library/react'; |
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.
Awesome, thanks a lot for adding tests 💪
Fixes #1433