-
Notifications
You must be signed in to change notification settings - Fork 86
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
adding cancel button to change policy #919
adding cancel button to change policy #919
Conversation
Signed-off-by: kohinoor98 <[email protected]>
@kohinoor98 looks like some snapshot unit tests failed. Could you run |
Signed-off-by: kohinoor98 <[email protected]>
Hi @AWSHurneyt The current test case that is failing is addressed in this PR #918. The other test case that is failing should be handled by the changes made to ChangePolicy.test.tsx.snap. Please advice on next steps. Thanks, |
@kohinoor98 Looks like there's still a unit test failing in the I see in the commits tab for this PR that changes from the |
Signed-off-by: kohinoor98 <[email protected]>
Codecov Report
@@ Coverage Diff @@
## main #919 +/- ##
=======================================
Coverage 63.36% 63.37%
=======================================
Files 341 341
Lines 11553 11554 +1
Branches 2243 2243
=======================================
+ Hits 7321 7322 +1
Misses 3658 3658
Partials 574 574 |
Hi @AWSHurneyt I have updated the PR with the latest code from I tested snapshots_spec.js on cypress and it kept failing in I am guessing @bowenlan-amzn noticed the same and created #925 for the same. Thanks, |
* adding cancel button to change policy Signed-off-by: kohinoor98 <[email protected]> * updated ChangePolicy snapshot to incl Cancel's div Signed-off-by: kohinoor98 <[email protected]> * auto fixing the ChangePolicy.test snapshot Signed-off-by: kohinoor98 <[email protected]> --------- Signed-off-by: kohinoor98 <[email protected]> Co-authored-by: bowenlan-amzn <[email protected]> (cherry picked from commit 1c8f0c6) Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
* adding cancel button to change policy * updated ChangePolicy snapshot to incl Cancel's div * auto fixing the ChangePolicy.test snapshot --------- (cherry picked from commit 1c8f0c6) Signed-off-by: kohinoor98 <[email protected]> Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> Co-authored-by: bowenlan-amzn <[email protected]>
Description
Added Cancel button to
ChangePolicy.tsx
Issues Resolved
#840
Check List
Cancel
button in Change Policy pageBy submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.