Skip to content

[Alerting] Failing test: Chrome X-Pack UI Functional Tests.x-pack/test/functional_with_es_ssl/apps/triggers_actions_ui/alert_create_flyout·ts - Actions and Triggers app create alert should show save confirmation before creating alert with no actions#112888

Merged
ymao1 merged 11 commits intoelastic:masterfrom
ymao1:flaky-test-saveconfirmation
Sep 29, 2021

Conversation

@ymao1
Copy link
Copy Markdown
Contributor

@ymao1 ymao1 commented Sep 22, 2021

Resolves #85105
Resolves #112749

Summary

The functional test is testing that a save confirmation modal correctly appears when a rule is saved. This part of the test passes correctly. After testing for the existence of the modal and testing for successful save, the test is searching for the newly created rule on the Rule Management page and testing that it shows up. This is the part of the test that is flaky which makes me think that perhaps we're doing it too quickly. Added a short delay before doing this search.

Flaky test runner runs:

@ymao1
Copy link
Copy Markdown
Contributor Author

ymao1 commented Sep 23, 2021

@elasticmachine merge upstream

@ymao1 ymao1 changed the title [Alerting] Fixing Failing test: Chrome X-Pack UI Functional Tests.x-pack/test/functional_with_es_ssl/apps/triggers_actions_ui/alert_create_flyout·ts - Actions and Triggers app create alert should show save confirmation before creating alert with no actions [Alerting] Fixing flaky tests in x-pack/test/functional_with_es_ssl/apps/triggers_actions_ui/alert_create_flyout·ts Sep 28, 2021
@ymao1 ymao1 changed the title [Alerting] Fixing flaky tests in x-pack/test/functional_with_es_ssl/apps/triggers_actions_ui/alert_create_flyout·ts [Alerting] Failing test: Chrome X-Pack UI Functional Tests.x-pack/test/functional_with_es_ssl/apps/triggers_actions_ui/alert_create_flyout·ts - Actions and Triggers app create alert should show save confirmation before creating alert with no actions Sep 28, 2021
@ymao1 ymao1 self-assigned this Sep 28, 2021
@ymao1
Copy link
Copy Markdown
Contributor Author

ymao1 commented Sep 28, 2021

@elasticmachine merge upstream

@ymao1 ymao1 added Feature:Alerting release_note:skip Skip the PR/issue when compiling release notes Team:ResponseOps Platform ResponseOps team (formerly the Cases and Alerting teams) t// v7.16.0 v8.0.0 labels Sep 29, 2021
@ymao1 ymao1 marked this pull request as ready for review September 29, 2021 11:43
@ymao1 ymao1 requested a review from a team as a code owner September 29, 2021 11:43
Copy link
Copy Markdown
Contributor

@pmuellr pmuellr left a comment

Choose a reason for hiding this comment

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

LGTM!

Copy link
Copy Markdown
Contributor

@chrisronline chrisronline left a comment

Choose a reason for hiding this comment

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

LGTM!

@ymao1
Copy link
Copy Markdown
Contributor Author

ymao1 commented Sep 29, 2021

@elasticmachine merge upstream

@ymao1 ymao1 enabled auto-merge (squash) September 29, 2021 18:56
@ymao1 ymao1 added the auto-backport Deprecated - use backport:version if exact versions are needed label Sep 29, 2021
@kibanamachine
Copy link
Copy Markdown
Contributor

💚 Build Succeeded

Metrics [docs]

✅ unchanged

History

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

cc @ymao1

@ymao1 ymao1 merged commit 3eb93a8 into elastic:master Sep 29, 2021
kibanamachine added a commit to kibanamachine/kibana that referenced this pull request Sep 29, 2021
…t/functional_with_es_ssl/apps/triggers_actions_ui/alert_create_flyout·ts - Actions and Triggers app create alert should show save confirmation before creating alert with no actions (elastic#112888)

* Adding delay

* Splitting tests

* Fixing tests

* Reverting change

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
@kibanamachine
Copy link
Copy Markdown
Contributor

💚 Backport successful

Status Branch Result
7.x

This backport PR will be merged automatically after passing CI.

kibanamachine added a commit that referenced this pull request Sep 29, 2021
…t/functional_with_es_ssl/apps/triggers_actions_ui/alert_create_flyout·ts - Actions and Triggers app create alert should show save confirmation before creating alert with no actions (#112888) (#113480)

* Adding delay

* Splitting tests

* Fixing tests

* Reverting change

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>

Co-authored-by: ymao1 <ying.mao@elastic.co>
@ymao1 ymao1 deleted the flaky-test-saveconfirmation branch September 29, 2021 23:48
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 Feature:Alerting release_note:skip Skip the PR/issue when compiling release notes Team:ResponseOps Platform ResponseOps team (formerly the Cases and Alerting teams) t// v7.16.0 v8.0.0

Projects

None yet

4 participants