Skip to content

[ResponseOps] Fix embeddable alerts panel flaky tests#227999

Merged
cnasikas merged 35 commits intoelastic:mainfrom
cnasikas:fix_227748
Oct 29, 2025
Merged

[ResponseOps] Fix embeddable alerts panel flaky tests#227999
cnasikas merged 35 commits intoelastic:mainfrom
cnasikas:fix_227748

Conversation

@cnasikas
Copy link
Copy Markdown
Member

@cnasikas cnasikas commented Jul 15, 2025

Summary

Another attempt to fix the flaky tests with the embeddable alerts panel. The issue is that alerts are not being generated. I made the rules more sensitive so they will always produce alerts and use the event log to check the rules' execution status. I run the flaky test runner 3 x 200 without any issues.

Fixes: #227748
Fixes: #220807

Checklist

Check the PR satisfies following conditions.

Reviewers should verify this PR satisfies this list as well.

@cnasikas cnasikas self-assigned this Jul 15, 2025
@cnasikas cnasikas added release_note:skip Skip the PR/issue when compiling release notes Team:ResponseOps Platform ResponseOps team (formerly the Cases and Alerting teams) t// backport:version Backport to applied version labels v9.1.0 v8.19.0 v9.2.0 labels Jul 15, 2025
@kibanamachine
Copy link
Copy Markdown
Contributor

Flaky Test Runner Stats

🎉 All tests passed! - kibana-flaky-test-suite-runner#8652

[✅] x-pack/platform/test/functional_with_es_ssl/apps/embeddable_alerts_table/config.ts: 200/200 tests passed.

see run history

@kibanamachine
Copy link
Copy Markdown
Contributor

Flaky Test Runner Stats

🎉 All tests passed! - kibana-flaky-test-suite-runner#8668

[✅] x-pack/platform/test/functional_with_es_ssl/apps/embeddable_alerts_table/config.ts: 200/200 tests passed.

see run history

@cnasikas cnasikas marked this pull request as ready for review July 16, 2025 12:05
@cnasikas cnasikas requested a review from a team as a code owner July 16, 2025 12:05
@elasticmachine
Copy link
Copy Markdown
Contributor

Pinging @elastic/response-ops (Team:ResponseOps)

@kibanamachine
Copy link
Copy Markdown
Contributor

Flaky Test Runner Stats

🟠 Some tests failed. - kibana-flaky-test-suite-runner#8673

[❌] x-pack/platform/test/functional_with_es_ssl/apps/embeddable_alerts_table/config.ts: 0/200 tests passed.

see run history

@kibanamachine
Copy link
Copy Markdown
Contributor

Flaky Test Runner Stats

🟠 Some tests failed. - kibana-flaky-test-suite-runner#8895

[❌] x-pack/platform/test/alerting_api_integration/security_and_spaces/group3/config.ts: 0/200 tests passed.

see run history

@botelastic botelastic bot added the Team:actionable-obs Formerly "obs-ux-management", responsible for SLO, o11y alerting, significant events, & synthetics. label Oct 29, 2025
@cnasikas cnasikas removed the request for review from a team October 29, 2025 08:28
@elastic elastic deleted a comment from elasticmachine Oct 29, 2025
Copy link
Copy Markdown
Contributor

@js-jankisalvi js-jankisalvi left a comment

Choose a reason for hiding this comment

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

looks good 🤞

@kibanamachine
Copy link
Copy Markdown
Contributor

Flaky Test Runner Stats

🎉 All tests passed! - kibana-flaky-test-suite-runner#9654

[✅] x-pack/platform/test/functional_with_es_ssl/apps/embeddable_alerts_table/config.ts: 200/200 tests passed.

see run history

@cnasikas cnasikas enabled auto-merge (squash) October 29, 2025 09:34
@cnasikas cnasikas merged commit 3cb9979 into elastic:main Oct 29, 2025
13 checks passed
@cnasikas cnasikas deleted the fix_227748 branch October 29, 2025 10:17
@kibanamachine
Copy link
Copy Markdown
Contributor

Starting backport for target branches: 8.19, 9.1, 9.2

https://github.com/elastic/kibana/actions/runs/18904466326

@elasticmachine
Copy link
Copy Markdown
Contributor

💛 Build succeeded, but was flaky

Failed CI Steps

Test Failures

  • [job] [logs] FTR Configs #67 / home app sample data installing should install ecommerce sample data set

Metrics [docs]

Async chunks

Total size of all lazy-loaded chunks that will be downloaded as the user navigates the app

id before after diff
embeddableAlertsTable 1000.8KB 1000.8KB +11.0B

History

cc @cnasikas

kibanamachine added a commit to kibanamachine/kibana that referenced this pull request Oct 29, 2025
## Summary

Another attempt to fix the flaky tests with the embeddable alerts panel.
The issue is that alerts are not being generated. I made the rules more
sensitive so they will always produce alerts and use the event log to
check the rules' execution status. I run the flaky test runner 3 x 200
without any issues.

Fixes: elastic#227748
Fixes: elastic#220807

### Checklist

Check the PR satisfies following conditions.

Reviewers should verify this PR satisfies this list as well.

- [x] [Unit or functional
tests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)
were updated or added to match the most common scenarios

---------

Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
(cherry picked from commit 3cb9979)
@kibanamachine
Copy link
Copy Markdown
Contributor

💔 Some backports could not be created

Status Branch Result
8.19 Backport failed because of merge conflicts
9.1 Backport failed because of merge conflicts
9.2

Note: Successful backport PRs will be merged automatically after passing CI.

Manual backport

To create the backport manually run:

node scripts/backport --pr 227999

Questions ?

Please refer to the Backport tool documentation

kibanamachine added a commit that referenced this pull request Oct 29, 2025
…#241100)

# Backport

This will backport the following commits from `main` to `9.2`:
- [[ResponseOps] Fix embeddable alerts panel flaky tests
(#227999)](#227999)

<!--- Backport version: 9.6.6 -->

### Questions ?
Please refer to the [Backport tool
documentation](https://github.com/sorenlouv/backport)

<!--BACKPORT [{"author":{"name":"Christos
Nasikas","email":"christos.nasikas@elastic.co"},"sourceCommit":{"committedDate":"2025-10-29T10:17:04Z","message":"[ResponseOps]
Fix embeddable alerts panel flaky tests (#227999)\n\n##
Summary\n\nAnother attempt to fix the flaky tests with the embeddable
alerts panel.\nThe issue is that alerts are not being generated. I made
the rules more\nsensitive so they will always produce alerts and use the
event log to\ncheck the rules' execution status. I run the flaky test
runner 3 x 200\nwithout any issues.\n\nFixes:
https://github.com/elastic/kibana/issues/227748\nFixes:
https://github.com/elastic/kibana/issues/220807\n\n###
Checklist\n\nCheck the PR satisfies following conditions. \n\nReviewers
should verify this PR satisfies this list as well.\n\n- [x] [Unit or
functional\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\nwere
updated or added to match the most common
scenarios\n\n---------\n\nCo-authored-by: kibanamachine
<42973632+kibanamachine@users.noreply.github.com>","sha":"3cb997977f9fe132c44de0216455852e8340f42e","branchLabelMapping":{"^v9.3.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","Team:ResponseOps","Team:obs-ux-management","backport:version","v9.3.0","v8.19.7","v9.1.7","v9.2.1"],"title":"[ResponseOps]
Fix embeddable alerts panel flaky
tests","number":227999,"url":"https://github.com/elastic/kibana/pull/227999","mergeCommit":{"message":"[ResponseOps]
Fix embeddable alerts panel flaky tests (#227999)\n\n##
Summary\n\nAnother attempt to fix the flaky tests with the embeddable
alerts panel.\nThe issue is that alerts are not being generated. I made
the rules more\nsensitive so they will always produce alerts and use the
event log to\ncheck the rules' execution status. I run the flaky test
runner 3 x 200\nwithout any issues.\n\nFixes:
https://github.com/elastic/kibana/issues/227748\nFixes:
https://github.com/elastic/kibana/issues/220807\n\n###
Checklist\n\nCheck the PR satisfies following conditions. \n\nReviewers
should verify this PR satisfies this list as well.\n\n- [x] [Unit or
functional\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\nwere
updated or added to match the most common
scenarios\n\n---------\n\nCo-authored-by: kibanamachine
<42973632+kibanamachine@users.noreply.github.com>","sha":"3cb997977f9fe132c44de0216455852e8340f42e"}},"sourceBranch":"main","suggestedTargetBranches":["8.19","9.1","9.2"],"targetPullRequestStates":[{"branch":"main","label":"v9.3.0","branchLabelMappingKey":"^v9.3.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/227999","number":227999,"mergeCommit":{"message":"[ResponseOps]
Fix embeddable alerts panel flaky tests (#227999)\n\n##
Summary\n\nAnother attempt to fix the flaky tests with the embeddable
alerts panel.\nThe issue is that alerts are not being generated. I made
the rules more\nsensitive so they will always produce alerts and use the
event log to\ncheck the rules' execution status. I run the flaky test
runner 3 x 200\nwithout any issues.\n\nFixes:
https://github.com/elastic/kibana/issues/227748\nFixes:
https://github.com/elastic/kibana/issues/220807\n\n###
Checklist\n\nCheck the PR satisfies following conditions. \n\nReviewers
should verify this PR satisfies this list as well.\n\n- [x] [Unit or
functional\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\nwere
updated or added to match the most common
scenarios\n\n---------\n\nCo-authored-by: kibanamachine
<42973632+kibanamachine@users.noreply.github.com>","sha":"3cb997977f9fe132c44de0216455852e8340f42e"}},{"branch":"8.19","label":"v8.19.7","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"9.1","label":"v9.1.7","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"9.2","label":"v9.2.1","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"}]}]
BACKPORT-->

Co-authored-by: Christos Nasikas <christos.nasikas@elastic.co>
tkajtoch pushed a commit to tkajtoch/kibana that referenced this pull request Oct 29, 2025
## Summary

Another attempt to fix the flaky tests with the embeddable alerts panel.
The issue is that alerts are not being generated. I made the rules more
sensitive so they will always produce alerts and use the event log to
check the rules' execution status. I run the flaky test runner 3 x 200
without any issues.

Fixes: elastic#227748
Fixes: elastic#220807

### Checklist

Check the PR satisfies following conditions. 

Reviewers should verify this PR satisfies this list as well.

- [x] [Unit or functional
tests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)
were updated or added to match the most common scenarios

---------

Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
@cnasikas
Copy link
Copy Markdown
Member Author

💚 All backports created successfully

Status Branch Result
9.1
8.19

Note: Successful backport PRs will be merged automatically after passing CI.

Questions ?

Please refer to the Backport tool documentation

cnasikas added a commit to cnasikas/kibana that referenced this pull request Oct 29, 2025
## Summary

Another attempt to fix the flaky tests with the embeddable alerts panel.
The issue is that alerts are not being generated. I made the rules more
sensitive so they will always produce alerts and use the event log to
check the rules' execution status. I run the flaky test runner 3 x 200
without any issues.

Fixes: elastic#227748
Fixes: elastic#220807

### Checklist

Check the PR satisfies following conditions.

Reviewers should verify this PR satisfies this list as well.

- [x] [Unit or functional
tests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)
were updated or added to match the most common scenarios

---------

Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
(cherry picked from commit 3cb9979)

# Conflicts:
#	x-pack/platform/test/functional_with_es_ssl/apps/embeddable_alerts_table/embeddable_alerts_table.ts
#	x-pack/platform/test/functional_with_es_ssl/plugins/alerts/tsconfig.json
qn895 pushed a commit to qn895/kibana that referenced this pull request Oct 30, 2025
## Summary

Another attempt to fix the flaky tests with the embeddable alerts panel.
The issue is that alerts are not being generated. I made the rules more
sensitive so they will always produce alerts and use the event log to
check the rules' execution status. I run the flaky test runner 3 x 200
without any issues.

Fixes: elastic#227748
Fixes: elastic#220807

### Checklist

Check the PR satisfies following conditions. 

Reviewers should verify this PR satisfies this list as well.

- [x] [Unit or functional
tests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)
were updated or added to match the most common scenarios

---------

Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
ana-davydova pushed a commit to ana-davydova/kibana that referenced this pull request Nov 3, 2025
## Summary

Another attempt to fix the flaky tests with the embeddable alerts panel.
The issue is that alerts are not being generated. I made the rules more
sensitive so they will always produce alerts and use the event log to
check the rules' execution status. I run the flaky test runner 3 x 200
without any issues.

Fixes: elastic#227748
Fixes: elastic#220807

### Checklist

Check the PR satisfies following conditions. 

Reviewers should verify this PR satisfies this list as well.

- [x] [Unit or functional
tests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)
were updated or added to match the most common scenarios

---------

Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
cnasikas added a commit that referenced this pull request Nov 3, 2025
…#241154)

# Backport

This will backport the following commits from `main` to `9.1`:
- [[ResponseOps] Fix embeddable alerts panel flaky tests
(#227999)](#227999)

<!--- Backport version: 10.1.0 -->

### Questions ?
Please refer to the [Backport tool
documentation](https://github.com/sorenlouv/backport)

<!--BACKPORT [{"author":{"name":"Christos
Nasikas","email":"christos.nasikas@elastic.co"},"sourceCommit":{"committedDate":"2025-10-29T10:17:04Z","message":"[ResponseOps]
Fix embeddable alerts panel flaky tests (#227999)\n\n##
Summary\n\nAnother attempt to fix the flaky tests with the embeddable
alerts panel.\nThe issue is that alerts are not being generated. I made
the rules more\nsensitive so they will always produce alerts and use the
event log to\ncheck the rules' execution status. I run the flaky test
runner 3 x 200\nwithout any issues.\n\nFixes:
https://github.com/elastic/kibana/issues/227748\nFixes:
https://github.com/elastic/kibana/issues/220807\n\n###
Checklist\n\nCheck the PR satisfies following conditions. \n\nReviewers
should verify this PR satisfies this list as well.\n\n- [x] [Unit or
functional\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\nwere
updated or added to match the most common
scenarios\n\n---------\n\nCo-authored-by: kibanamachine
<42973632+kibanamachine@users.noreply.github.com>","sha":"3cb997977f9fe132c44de0216455852e8340f42e","branchLabelMapping":{"^v9.3.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","Team:ResponseOps","Team:obs-ux-management","backport:version","v9.3.0","v8.19.7","v9.1.7","v9.2.1"],"title":"[ResponseOps]
Fix embeddable alerts panel flaky
tests","number":227999,"url":"https://github.com/elastic/kibana/pull/227999","mergeCommit":{"message":"[ResponseOps]
Fix embeddable alerts panel flaky tests (#227999)\n\n##
Summary\n\nAnother attempt to fix the flaky tests with the embeddable
alerts panel.\nThe issue is that alerts are not being generated. I made
the rules more\nsensitive so they will always produce alerts and use the
event log to\ncheck the rules' execution status. I run the flaky test
runner 3 x 200\nwithout any issues.\n\nFixes:
https://github.com/elastic/kibana/issues/227748\nFixes:
https://github.com/elastic/kibana/issues/220807\n\n###
Checklist\n\nCheck the PR satisfies following conditions. \n\nReviewers
should verify this PR satisfies this list as well.\n\n- [x] [Unit or
functional\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\nwere
updated or added to match the most common
scenarios\n\n---------\n\nCo-authored-by: kibanamachine
<42973632+kibanamachine@users.noreply.github.com>","sha":"3cb997977f9fe132c44de0216455852e8340f42e"}},"sourceBranch":"main","suggestedTargetBranches":["8.19","9.1"],"targetPullRequestStates":[{"branch":"main","label":"v9.3.0","branchLabelMappingKey":"^v9.3.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/227999","number":227999,"mergeCommit":{"message":"[ResponseOps]
Fix embeddable alerts panel flaky tests (#227999)\n\n##
Summary\n\nAnother attempt to fix the flaky tests with the embeddable
alerts panel.\nThe issue is that alerts are not being generated. I made
the rules more\nsensitive so they will always produce alerts and use the
event log to\ncheck the rules' execution status. I run the flaky test
runner 3 x 200\nwithout any issues.\n\nFixes:
https://github.com/elastic/kibana/issues/227748\nFixes:
https://github.com/elastic/kibana/issues/220807\n\n###
Checklist\n\nCheck the PR satisfies following conditions. \n\nReviewers
should verify this PR satisfies this list as well.\n\n- [x] [Unit or
functional\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\nwere
updated or added to match the most common
scenarios\n\n---------\n\nCo-authored-by: kibanamachine
<42973632+kibanamachine@users.noreply.github.com>","sha":"3cb997977f9fe132c44de0216455852e8340f42e"}},{"branch":"8.19","label":"v8.19.7","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"9.1","label":"v9.1.7","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"9.2","label":"v9.2.1","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"url":"https://github.com/elastic/kibana/pull/241100","number":241100,"state":"MERGED","mergeCommit":{"sha":"0679d9c9347d54986cd26c8c6e79914e6cfa7f93","message":"[9.2]
[ResponseOps] Fix embeddable alerts panel flaky tests (#227999)
(#241100)\n\n# Backport\n\nThis will backport the following commits from
`main` to `9.2`:\n- [[ResponseOps] Fix embeddable alerts panel flaky
tests\n(#227999)](https://github.com/elastic/kibana/pull/227999)\n\n\n\n###
Questions ?\nPlease refer to the [Backport
tool\ndocumentation](https://github.com/sorenlouv/backport)\n\n\n\nCo-authored-by:
Christos Nasikas <christos.nasikas@elastic.co>"}}]}] BACKPORT-->

---------

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
cnasikas added a commit that referenced this pull request Nov 3, 2025
#241155)

# Backport

This will backport the following commits from `main` to `8.19`:
- [[ResponseOps] Fix embeddable alerts panel flaky tests
(#227999)](#227999)

<!--- Backport version: 10.1.0 -->

### Questions ?
Please refer to the [Backport tool
documentation](https://github.com/sorenlouv/backport)

<!--BACKPORT [{"author":{"name":"Christos
Nasikas","email":"christos.nasikas@elastic.co"},"sourceCommit":{"committedDate":"2025-10-29T10:17:04Z","message":"[ResponseOps]
Fix embeddable alerts panel flaky tests (#227999)\n\n##
Summary\n\nAnother attempt to fix the flaky tests with the embeddable
alerts panel.\nThe issue is that alerts are not being generated. I made
the rules more\nsensitive so they will always produce alerts and use the
event log to\ncheck the rules' execution status. I run the flaky test
runner 3 x 200\nwithout any issues.\n\nFixes:
https://github.com/elastic/kibana/issues/227748\nFixes:
https://github.com/elastic/kibana/issues/220807\n\n###
Checklist\n\nCheck the PR satisfies following conditions. \n\nReviewers
should verify this PR satisfies this list as well.\n\n- [x] [Unit or
functional\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\nwere
updated or added to match the most common
scenarios\n\n---------\n\nCo-authored-by: kibanamachine
<42973632+kibanamachine@users.noreply.github.com>","sha":"3cb997977f9fe132c44de0216455852e8340f42e","branchLabelMapping":{"^v9.3.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","Team:ResponseOps","Team:obs-ux-management","backport:version","v9.3.0","v8.19.7","v9.1.7","v9.2.1"],"title":"[ResponseOps]
Fix embeddable alerts panel flaky
tests","number":227999,"url":"https://github.com/elastic/kibana/pull/227999","mergeCommit":{"message":"[ResponseOps]
Fix embeddable alerts panel flaky tests (#227999)\n\n##
Summary\n\nAnother attempt to fix the flaky tests with the embeddable
alerts panel.\nThe issue is that alerts are not being generated. I made
the rules more\nsensitive so they will always produce alerts and use the
event log to\ncheck the rules' execution status. I run the flaky test
runner 3 x 200\nwithout any issues.\n\nFixes:
https://github.com/elastic/kibana/issues/227748\nFixes:
https://github.com/elastic/kibana/issues/220807\n\n###
Checklist\n\nCheck the PR satisfies following conditions. \n\nReviewers
should verify this PR satisfies this list as well.\n\n- [x] [Unit or
functional\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\nwere
updated or added to match the most common
scenarios\n\n---------\n\nCo-authored-by: kibanamachine
<42973632+kibanamachine@users.noreply.github.com>","sha":"3cb997977f9fe132c44de0216455852e8340f42e"}},"sourceBranch":"main","suggestedTargetBranches":["8.19","9.1"],"targetPullRequestStates":[{"branch":"main","label":"v9.3.0","branchLabelMappingKey":"^v9.3.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/227999","number":227999,"mergeCommit":{"message":"[ResponseOps]
Fix embeddable alerts panel flaky tests (#227999)\n\n##
Summary\n\nAnother attempt to fix the flaky tests with the embeddable
alerts panel.\nThe issue is that alerts are not being generated. I made
the rules more\nsensitive so they will always produce alerts and use the
event log to\ncheck the rules' execution status. I run the flaky test
runner 3 x 200\nwithout any issues.\n\nFixes:
https://github.com/elastic/kibana/issues/227748\nFixes:
https://github.com/elastic/kibana/issues/220807\n\n###
Checklist\n\nCheck the PR satisfies following conditions. \n\nReviewers
should verify this PR satisfies this list as well.\n\n- [x] [Unit or
functional\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\nwere
updated or added to match the most common
scenarios\n\n---------\n\nCo-authored-by: kibanamachine
<42973632+kibanamachine@users.noreply.github.com>","sha":"3cb997977f9fe132c44de0216455852e8340f42e"}},{"branch":"8.19","label":"v8.19.7","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"9.1","label":"v9.1.7","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"9.2","label":"v9.2.1","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"url":"https://github.com/elastic/kibana/pull/241100","number":241100,"state":"MERGED","mergeCommit":{"sha":"0679d9c9347d54986cd26c8c6e79914e6cfa7f93","message":"[9.2]
[ResponseOps] Fix embeddable alerts panel flaky tests (#227999)
(#241100)\n\n# Backport\n\nThis will backport the following commits from
`main` to `9.2`:\n- [[ResponseOps] Fix embeddable alerts panel flaky
tests\n(#227999)](https://github.com/elastic/kibana/pull/227999)\n\n\n\n###
Questions ?\nPlease refer to the [Backport
tool\ndocumentation](https://github.com/sorenlouv/backport)\n\n\n\nCo-authored-by:
Christos Nasikas <christos.nasikas@elastic.co>"}}]}] BACKPORT-->

---------

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
albertoblaz pushed a commit to albertoblaz/kibana that referenced this pull request Nov 4, 2025
## Summary

Another attempt to fix the flaky tests with the embeddable alerts panel.
The issue is that alerts are not being generated. I made the rules more
sensitive so they will always produce alerts and use the event log to
check the rules' execution status. I run the flaky test runner 3 x 200
without any issues.

Fixes: elastic#227748
Fixes: elastic#220807

### Checklist

Check the PR satisfies following conditions. 

Reviewers should verify this PR satisfies this list as well.

- [x] [Unit or functional
tests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)
were updated or added to match the most common scenarios

---------

Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment