Skip to content
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

Merged
merged 1 commit into from
Sep 19, 2024

Conversation

shivamG640
Copy link
Contributor

Fixes #1433

Copy link

codecov bot commented Sep 17, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Please upload report for BASE (main@6eb1529). Learn more about missing BASE report.

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.
📢 Have feedback on the report? Share it here.

Copy link

sonarcloud bot commented Sep 18, 2024

@shivamG640 shivamG640 marked this pull request as ready for review September 18, 2024 12:37
@@ -0,0 +1,37 @@
import { fireEvent, render } from '@testing-library/react';
Copy link
Member

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 () => {
Copy link
Member

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';
Copy link
Member

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 💪

@lordrip lordrip merged commit a308793 into KaotoIO:main Sep 19, 2024
13 checks passed
@shivamG640 shivamG640 deleted the Fix_1433 branch September 19, 2024 07:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Show confirmation dialog for replacing a step with children
2 participants