-
Notifications
You must be signed in to change notification settings - Fork 8.3k
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
Added Component Integration Test For Force Merging an Index #122176
Added Component Integration Test For Force Merging an Index #122176
Conversation
…ar index cache test because there were overlapping act calls.
Pinging @elastic/kibana-stack-management (Team:Stack Management) |
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.
Thanks for adding this test @cuff-links! Changes lgtm, left 2 small things we should change before merging regarding a few comments 🚀
x-pack/plugins/index_management/__jest__/client_integration/home/indices_tab.test.ts
Outdated
Show resolved
Hide resolved
x-pack/plugins/index_management/__jest__/client_integration/home/indices_tab.test.ts
Outdated
Show resolved
Hide resolved
…me/indices_tab.test.ts Co-authored-by: Ignacio Rivas <[email protected]>
…me/indices_tab.test.ts Co-authored-by: Ignacio Rivas <[email protected]>
@elasticmachine merge upstream |
💚 Build Succeeded
Metrics [docs]
History
To update your PR or re-run it, just comment with: cc @sabarasaba |
💔 Backport failed
To backport manually run: |
Friendly reminder: Looks like this PR hasn’t been backported yet. |
…122176) * Added new test for force merge action. Also added an await in the clear index cache test because there were overlapping act calls. * Removed calls from previous copied test. * Update x-pack/plugins/index_management/__jest__/client_integration/home/indices_tab.test.ts Co-authored-by: Ignacio Rivas <[email protected]> * Update x-pack/plugins/index_management/__jest__/client_integration/home/indices_tab.test.ts Co-authored-by: Ignacio Rivas <[email protected]> Co-authored-by: Ignacio Rivas <[email protected]> Co-authored-by: Kibana Machine <[email protected]> # Conflicts: # x-pack/plugins/index_management/__jest__/client_integration/home/indices_tab.helpers.ts
…122176) (#122299) * Added Component Integration Test For Force Merging an Index (#122176) * Added new test for force merge action. Also added an await in the clear index cache test because there were overlapping act calls. * Removed calls from previous copied test. * Update x-pack/plugins/index_management/__jest__/client_integration/home/indices_tab.test.ts Co-authored-by: Ignacio Rivas <[email protected]> * Update x-pack/plugins/index_management/__jest__/client_integration/home/indices_tab.test.ts Co-authored-by: Ignacio Rivas <[email protected]> Co-authored-by: Ignacio Rivas <[email protected]> Co-authored-by: Kibana Machine <[email protected]> # Conflicts: # x-pack/plugins/index_management/__jest__/client_integration/home/indices_tab.helpers.ts * Update indices_tab.helpers.ts Co-authored-by: Kibana Machine <[email protected]>
This PR adds a component integration test that checks that we are able to click the force merge button for an index, click the force merge button on the confirmation dialogue and check the last request to ensure that it was made to the force merge API.