Skip to content

Fixes 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#85623

Merged
ymao1 merged 5 commits intoelastic:masterfrom
ymao1:flaky-test-savealert
Dec 16, 2020

Conversation

@ymao1
Copy link
Copy Markdown
Contributor

@ymao1 ymao1 commented Dec 10, 2020

Resolves #85105

Summary

Switched to defining a simpler alert with less click interaction for this test should show save confirmation before creating alert with no actions since this test is testing for the presence of the save confirmation modal

Flaky test runner results

@ymao1 ymao1 changed the title Unskipping test Fixes 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 Dec 16, 2020
it('should show save confirmation before creating alert with no actions', async () => {
const alertName = generateUniqueKey();
await defineAlert(alertName);
await defineAlwaysFiringAlert(alertName);
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

The test would occasionally receive TimeoutError: Waiting for element to be located By(css selector, #indexSelectSearchBox) when defining an index threshold alert before saving.

The same alert is defined in an above test should create an alert with no flakiness so I'm not really sure what's causing the flakiness in this test. Switched to defining a simpler alert with less click interaction for now.

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

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

Copy link
Copy Markdown
Contributor

@mikecote mikecote left a comment

Choose a reason for hiding this comment

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

Changes LGTM!

Copy link
Copy Markdown
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.

LGTM

@ymao1
Copy link
Copy Markdown
Contributor Author

ymao1 commented Dec 16, 2020

@elasticmachine merge upstream

@kibanamachine
Copy link
Copy Markdown
Contributor

💚 Build Succeeded

Metrics [docs]

Distributable file count

id before after diff
default 47280 48040 +760

History

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

@ymao1 ymao1 merged commit 7933f04 into elastic:master Dec 16, 2020
ymao1 added a commit to ymao1/kibana that referenced this pull request Dec 16, 2020
…ctional_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#85623)

* Unskipping test

* Using simpler alert type during test

* Fixing test

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
ymao1 added a commit that referenced this pull request Dec 16, 2020
…ctional_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 (#85623) (#86169)

* Unskipping test

* Using simpler alert type during test

* Fixing test

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

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
@ymao1 ymao1 deleted the flaky-test-savealert branch February 4, 2021 15:24
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 Platform ResponseOps team (formerly the Cases and Alerting teams) t// v7.12.0 v8.0.0

Projects

None yet

5 participants