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

[Alerting] Saved object remover for all e2e triggers_actions_ui tests #86837

Merged
merged 10 commits into from
Jan 4, 2021

Conversation

ymao1
Copy link
Contributor

@ymao1 ymao1 commented Dec 22, 2020

Resolve #79779

Summary

Added object remover to functional tests inside x-pack/test/functional_with_es_ssl/apps/triggers_actions_ui. Also switched to using common supertest service for API calls to create alerts and actions instead of custom service.

@ymao1 ymao1 self-assigned this Dec 22, 2020
@ymao1 ymao1 added Feature:Alerting release_note:skip Skip the PR/issue when compiling release notes Team:ResponseOps Label for the ResponseOps team (formerly the Cases and Alerting teams) v7.12.0 v8.0.0 labels Dec 23, 2020
@ymao1 ymao1 marked this pull request as ready for review December 23, 2020 00:35
@ymao1 ymao1 requested a review from a team as a code owner December 23, 2020 00:35
@elasticmachine
Copy link
Contributor

Pinging @elastic/kibana-alerting-services (Team:Alerting Services)

Copy link
Contributor

@YulNaumenko YulNaumenko left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code LGTM! Great refactoring!

@ymao1
Copy link
Contributor Author

ymao1 commented Dec 23, 2020

If #86838 is merged first, the functional test added in that PR will need to be updated.

Copy link
Contributor

@gmmorris gmmorris left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Excellent clean up 👍

@ymao1
Copy link
Contributor Author

ymao1 commented Jan 4, 2021

@elasticmachine merge upstream

@kibanamachine
Copy link
Contributor

💚 Build Succeeded

Metrics [docs]

Distributable file count

id before after diff
default 47264 48024 +760

History

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

@ymao1 ymao1 merged commit b22210d into elastic:master Jan 4, 2021
ymao1 added a commit to ymao1/kibana that referenced this pull request Jan 4, 2021
…elastic#86837)

* wip

* Using object remover for alerts list

* wip - using supertest instead of axios

* wip - using supertest instead of axios

* Removing custom services in favor of supertest

* Fixing test

* Fixing test

* Fixing types check

Co-authored-by: Kibana Machine <[email protected]>
ymao1 added a commit that referenced this pull request Jan 4, 2021
…#86837) (#87158)

* wip

* Using object remover for alerts list

* wip - using supertest instead of axios

* wip - using supertest instead of axios

* Removing custom services in favor of supertest

* Fixing test

* Fixing test

* Fixing types check

Co-authored-by: Kibana Machine <[email protected]>

Co-authored-by: Kibana Machine <[email protected]>
@ymao1 ymao1 deleted the alerting-saved-object-remover branch February 4, 2021 15:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature:Alerting release_note:skip Skip the PR/issue when compiling release notes Team:ResponseOps Label for the ResponseOps team (formerly the Cases and Alerting teams) v7.12.0 v8.0.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Alerting] Implement saved object remover for all e2e alerting tests
5 participants