Add Component Integration Test for Opening a Closed Index#114404
Add Component Integration Test for Opening a Closed Index#114404cuff-links merged 10 commits intoelastic:mainfrom
Conversation
|
Pinging @elastic/kibana-stack-management (Team:Stack Management) |
|
@elasticmachine merge upstream |
💚 Build SucceededMetrics [docs]Async chunks
History
To update your PR or re-run it, just comment with: |
sabarasaba
left a comment
There was a problem hiding this comment.
Thanks for working on this @cuff-links! Changes LGTM, just had a suggestions for simplifying the button selector and maybe abstracting the clicking logic into a new action:
x-pack/plugins/index_management/__jest__/client_integration/home/indices_tab.test.ts
Outdated
Show resolved
Hide resolved
yuliacech
left a comment
There was a problem hiding this comment.
Hi @cuff-links, let me know if I can help you with this PR, it probably needs some updates since #114900 merged.
|
This PR is waiting on the merging of #120912 to correct the CI errors happening. |
|
@elasticmachine merge upstream |
x-pack/plugins/index_management/__jest__/client_integration/home/indices_tab.test.ts
Outdated
Show resolved
Hide resolved
…lidate boilerplate.
…/kibana into Add_CIT_For_Open_Index_Action
|
@elasticmachine merge upstream |
sabarasaba
left a comment
There was a problem hiding this comment.
Thanks for fixing the tests @cuff-links! I left two small comments that I think we should address before merging 🚀
x-pack/plugins/index_management/__jest__/client_integration/home/indices_tab.test.ts
Show resolved
Hide resolved
x-pack/plugins/index_management/__jest__/client_integration/helpers/test_subjects.ts
Outdated
Show resolved
Hide resolved
…/kibana into Add_CIT_For_Open_Index_Action
|
@elasticmachine merge upstream |
💚 Build Succeeded
Metrics [docs]
History
To update your PR or re-run it, just comment with: |
💔 Backport failed
To backport manually run: |
…4404) * Added Component Integration Test for Opening A closed Index. * Fixed open index test and changed the structure of the tests to consolidate boilerplate. * Fixed PR based on feedback. Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com> # Conflicts: # x-pack/plugins/index_management/__jest__/client_integration/home/indices_tab.test.ts
…4404) * Added Component Integration Test for Opening A closed Index. * Fixed open index test and changed the structure of the tests to consolidate boilerplate. * Fixed PR based on feedback. Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com> # Conflicts: # x-pack/plugins/index_management/__jest__/client_integration/home/indices_tab.test.ts
…4404) (#121708) * Add Component Integration Test for Opening a Closed Index (#114404) * Added Component Integration Test for Opening A closed Index. * Fixed open index test and changed the structure of the tests to consolidate boilerplate. * Fixed PR based on feedback. Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com> # Conflicts: # x-pack/plugins/index_management/__jest__/client_integration/home/indices_tab.test.ts * Fixed test. Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
…4404) * Added Component Integration Test for Opening A closed Index. * Fixed open index test and changed the structure of the tests to consolidate boilerplate. * Fixed PR based on feedback. Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
|
Looks like this PR has backport PRs but they still haven't been merged. Please merge them ASAP to keep the branches relatively in sync. |
…121706) * Added Component Integration Test for Opening A closed Index. * Fixed open index test and changed the structure of the tests to consolidate boilerplate. * Fixed PR based on feedback. Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com> # Conflicts: # x-pack/plugins/index_management/__jest__/client_integration/home/indices_tab.test.ts
Summary
This PR adds a component integration test that checks that we are able to click the open index button for a closed index and check the last request to ensure that it was made to the open index API.