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

Added Component Integration Test For Force Merging an Index #122176

Merged
merged 5 commits into from
Jan 1, 2022

Conversation

cuff-links
Copy link
Contributor

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.

…ar index cache test because there were overlapping act calls.
@cuff-links cuff-links added Feature:Index Management Index and index templates UI test-jest-integration Team:Kibana Management Dev Tools, Index Management, Upgrade Assistant, ILM, Ingest Node Pipelines, and more release_note:skip Skip the PR/issue when compiling release notes auto-backport Deprecated - use backport:version if exact versions are needed v8.1.0 v7.17.0 labels Dec 31, 2021
@cuff-links cuff-links marked this pull request as ready for review December 31, 2021 07:55
@cuff-links cuff-links requested a review from a team as a code owner December 31, 2021 07:55
@elasticmachine
Copy link
Contributor

Pinging @elastic/kibana-stack-management (Team:Stack Management)

Copy link
Member

@sabarasaba sabarasaba left a 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 🚀

cuff-links and others added 2 commits December 31, 2021 04:03
@cuff-links
Copy link
Contributor Author

@elasticmachine merge upstream

@kibana-ci
Copy link
Collaborator

💚 Build Succeeded

Metrics [docs]

✅ unchanged

History

To update your PR or re-run it, just comment with:
@elasticmachine merge upstream

cc @sabarasaba

@cuff-links cuff-links merged commit 87f753d into elastic:main Jan 1, 2022
@kibanamachine
Copy link
Contributor

💔 Backport failed

Status Branch Result
7.17 Commit could not be cherrypicked due to conflicts

To backport manually run:
node scripts/backport --pr 122176

@kibanamachine kibanamachine added the backport missing Added to PRs automatically when the are determined to be missing a backport. label Jan 4, 2022
@kibanamachine
Copy link
Contributor

Friendly reminder: Looks like this PR hasn’t been backported yet.
To create backports run node scripts/backport --pr 122176 or prevent reminders by adding the backport:skip label.

@cuff-links cuff-links added the backport:skip This commit does not require backporting label Jan 4, 2022
@kibanamachine kibanamachine removed the backport missing Added to PRs automatically when the are determined to be missing a backport. label Jan 4, 2022
cuff-links pushed a commit to cuff-links/kibana that referenced this pull request Jan 4, 2022
…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
cuff-links pushed a commit that referenced this pull request Jan 5, 2022
…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]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
auto-backport Deprecated - use backport:version if exact versions are needed backport:skip This commit does not require backporting Feature:Index Management Index and index templates UI release_note:skip Skip the PR/issue when compiling release notes Team:Kibana Management Dev Tools, Index Management, Upgrade Assistant, ILM, Ingest Node Pipelines, and more test-jest-integration v7.17.0 v8.1.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants