-
Notifications
You must be signed in to change notification settings - Fork 8.5k
[Security Solution] Install mock prebuilt rules package in Cypress to reduce flakiness #229689
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
[Security Solution] Install mock prebuilt rules package in Cypress to reduce flakiness #229689
Conversation
e2e54ee to
a66777f
Compare
a66777f to
10fd49e
Compare
|
Pinging @elastic/security-detections-response (Team:Detections and Resp) |
|
Pinging @elastic/security-solution (Team: SecuritySolution) |
|
Pinging @elastic/security-detection-rule-management (Team:Detection Rule Management) |
nikitaindik
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the PR, @maximpn! I reviewed the changes and ran tests that were refactored locally – they all passed. Let's run these tests via a Flaky Test Runner and we should be good to merge.
d3296d5 to
b59ab81
Compare
… reduce flakiness (elastic#229689) **Resolves: elastic#182441 **Resolves: elastic#182442 **Resolves: elastic#228942 **Relates to: elastic#227689 ## Summary This PR installs mock prebuilt rules package for e2e Cypress test to reduce flakniess caused by accessing to the real EPR. It's similar to the mock package installation in integration tests [PR](elastic#227689). **Flaky test runner** - ESS: https://buildkite.com/elastic/kibana-flaky-test-suite-runner/builds/9120 - Serverless: https://buildkite.com/elastic/kibana-flaky-test-suite-runner/builds/9121 (cherry picked from commit 980add1)
💔 Some backports could not be created
Note: Successful backport PRs will be merged automatically after passing CI. Manual backportTo create the backport manually run: Questions ?Please refer to the Backport tool documentation |
… reduce flakiness (elastic#229689) **Resolves: elastic#182441 **Resolves: elastic#182442 **Resolves: elastic#228942 **Relates to: elastic#227689 ## Summary This PR installs mock prebuilt rules package for e2e Cypress test to reduce flakniess caused by accessing to the real EPR. It's similar to the mock package installation in integration tests [PR](elastic#227689). **Flaky test runner** - ESS: https://buildkite.com/elastic/kibana-flaky-test-suite-runner/builds/9120 - Serverless: https://buildkite.com/elastic/kibana-flaky-test-suite-runner/builds/9121 (cherry picked from commit 980add1) # Conflicts: # x-pack/solutions/security/test/security_solution_cypress/cypress/e2e/detection_response/rule_management/prebuilt_rules/customization/revert_prebuilt_rule.cy.ts # x-pack/solutions/security/test/security_solution_cypress/cypress/e2e/detection_response/rule_management/rule_actions/bulk_actions/bulk_edit_rules_suppression.cy.ts # x-pack/solutions/security/test/security_solution_cypress/cypress/e2e/detection_response/rule_management/rule_actions/bulk_actions/bulk_edit_rules_suppression_basic_ess.cy.ts # x-pack/solutions/security/test/security_solution_cypress/cypress/e2e/detection_response/rule_management/rule_actions/bulk_actions/bulk_edit_rules_suppression_essentials_serverless.cy.ts # x-pack/test/security_solution_cypress/cypress/e2e/detection_response/rule_management/prebuilt_rules/customization/rule_customization.cy.ts # x-pack/test/security_solution_cypress/cypress/e2e/detection_response/rule_management/prebuilt_rules/installation/install_via_fleet.cy.ts # x-pack/test/security_solution_cypress/cypress/e2e/detection_response/rule_management/rule_actions/snoozing/rule_snoozing.cy.ts
💚 All backports created successfully
Note: Successful backport PRs will be merged automatically after passing CI. Questions ?Please refer to the Backport tool documentation |
… reduce flakiness (elastic#229689) **Resolves: elastic#182441 **Resolves: elastic#182442 **Resolves: elastic#228942 **Relates to: elastic#227689 ## Summary This PR installs mock prebuilt rules package for e2e Cypress test to reduce flakniess caused by accessing to the real EPR. It's similar to the mock package installation in integration tests [PR](elastic#227689). **Flaky test runner** - ESS: https://buildkite.com/elastic/kibana-flaky-test-suite-runner/builds/9120 - Serverless: https://buildkite.com/elastic/kibana-flaky-test-suite-runner/builds/9121 (cherry picked from commit 980add1) # Conflicts: # x-pack/solutions/security/test/security_solution_cypress/cypress/e2e/detection_response/rule_management/prebuilt_rules/customization/revert_prebuilt_rule.cy.ts # x-pack/solutions/security/test/security_solution_cypress/cypress/e2e/detection_response/rule_management/rule_actions/bulk_actions/bulk_edit_rules_suppression.cy.ts # x-pack/solutions/security/test/security_solution_cypress/cypress/e2e/detection_response/rule_management/rule_actions/bulk_actions/bulk_edit_rules_suppression_basic_ess.cy.ts # x-pack/solutions/security/test/security_solution_cypress/cypress/e2e/detection_response/rule_management/rule_actions/bulk_actions/bulk_edit_rules_suppression_essentials_serverless.cy.ts # x-pack/test/security_solution_cypress/cypress/e2e/detection_response/rule_management/prebuilt_rules/customization/rule_customization.cy.ts # x-pack/test/security_solution_cypress/cypress/e2e/detection_response/rule_management/prebuilt_rules/installation/install_via_fleet.cy.ts # x-pack/test/security_solution_cypress/cypress/e2e/detection_response/rule_management/rule_actions/snoozing/rule_snoozing.cy.ts
💚 All backports created successfully
Note: Successful backport PRs will be merged automatically after passing CI. Questions ?Please refer to the Backport tool documentation |
…ress to reduce flakiness (#229689) (#231628) # Backport This will backport the following commits from `main` to `8.18`: - [[Security Solution] Install mock prebuilt rules package in Cypress to reduce flakiness (#229689)](#229689) <!--- Backport version: 10.0.1 --> ### Questions ? Please refer to the [Backport tool documentation](https://github.com/sorenlouv/backport) <!--BACKPORT [{"author":{"name":"Maxim Palenov","email":"[email protected]"},"sourceCommit":{"committedDate":"2025-08-13T12:31:26Z","message":"[Security Solution] Install mock prebuilt rules package in Cypress to reduce flakiness (#229689)\n\n**Resolves: https://github.com/elastic/kibana/issues/182441**\n**Resolves: https://github.com/elastic/kibana/issues/182442**\n**Resolves: https://github.com/elastic/kibana/issues/228942**\n**Relates to: https://github.com/elastic/kibana/pull/227689**\n\n## Summary\n\nThis PR installs mock prebuilt rules package for e2e Cypress test to\nreduce flakniess caused by accessing to the real EPR. It's similar to\nthe mock package installation in integration tests\n[PR](https://github.com/elastic/kibana/pull/227689).\n\n**Flaky test runner**\n- ESS:\nhttps://buildkite.com/elastic/kibana-flaky-test-suite-runner/builds/9120\n- Serverless:\nhttps://buildkite.com/elastic/kibana-flaky-test-suite-runner/builds/9121","sha":"980add17c585d370d555e93b9146bbaad5d7a2d4","branchLabelMapping":{"^v9.2.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["test","release_note:skip","impact:high","Team:Detections and Resp","Team: SecuritySolution","Team:Detection Rule Management","Feature:Prebuilt Detection Rules","backport:version","v9.2.0","v9.1.3","v8.19.3","v9.0.6","v8.18.6"],"title":"[Security Solution] Install mock prebuilt rules package in Cypress to reduce flakiness","number":229689,"url":"https://github.com/elastic/kibana/pull/229689","mergeCommit":{"message":"[Security Solution] Install mock prebuilt rules package in Cypress to reduce flakiness (#229689)\n\n**Resolves: https://github.com/elastic/kibana/issues/182441**\n**Resolves: https://github.com/elastic/kibana/issues/182442**\n**Resolves: https://github.com/elastic/kibana/issues/228942**\n**Relates to: https://github.com/elastic/kibana/pull/227689**\n\n## Summary\n\nThis PR installs mock prebuilt rules package for e2e Cypress test to\nreduce flakniess caused by accessing to the real EPR. It's similar to\nthe mock package installation in integration tests\n[PR](https://github.com/elastic/kibana/pull/227689).\n\n**Flaky test runner**\n- ESS:\nhttps://buildkite.com/elastic/kibana-flaky-test-suite-runner/builds/9120\n- Serverless:\nhttps://buildkite.com/elastic/kibana-flaky-test-suite-runner/builds/9121","sha":"980add17c585d370d555e93b9146bbaad5d7a2d4"}},"sourceBranch":"main","suggestedTargetBranches":["9.1","8.18"],"targetPullRequestStates":[{"branch":"main","label":"v9.2.0","branchLabelMappingKey":"^v9.2.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/229689","number":229689,"mergeCommit":{"message":"[Security Solution] Install mock prebuilt rules package in Cypress to reduce flakiness (#229689)\n\n**Resolves: https://github.com/elastic/kibana/issues/182441**\n**Resolves: https://github.com/elastic/kibana/issues/182442**\n**Resolves: https://github.com/elastic/kibana/issues/228942**\n**Relates to: https://github.com/elastic/kibana/pull/227689**\n\n## Summary\n\nThis PR installs mock prebuilt rules package for e2e Cypress test to\nreduce flakniess caused by accessing to the real EPR. It's similar to\nthe mock package installation in integration tests\n[PR](https://github.com/elastic/kibana/pull/227689).\n\n**Flaky test runner**\n- ESS:\nhttps://buildkite.com/elastic/kibana-flaky-test-suite-runner/builds/9120\n- Serverless:\nhttps://buildkite.com/elastic/kibana-flaky-test-suite-runner/builds/9121","sha":"980add17c585d370d555e93b9146bbaad5d7a2d4"}},{"branch":"9.1","label":"v9.1.3","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"8.19","label":"v8.19.3","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"url":"https://github.com/elastic/kibana/pull/231613","number":231613,"state":"OPEN"},{"branch":"9.0","label":"v9.0.6","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"url":"https://github.com/elastic/kibana/pull/231625","number":231625,"state":"OPEN"},{"branch":"8.18","label":"v8.18.6","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"}]}] BACKPORT-->
…ess to reduce flakiness (#229689) (#231625) # Backport This will backport the following commits from `main` to `9.0`: - [[Security Solution] Install mock prebuilt rules package in Cypress to reduce flakiness (#229689)](#229689) <!--- Backport version: 10.0.1 --> ### Questions ? Please refer to the [Backport tool documentation](https://github.com/sorenlouv/backport) <!--BACKPORT [{"author":{"name":"Maxim Palenov","email":"[email protected]"},"sourceCommit":{"committedDate":"2025-08-13T12:31:26Z","message":"[Security Solution] Install mock prebuilt rules package in Cypress to reduce flakiness (#229689)\n\n**Resolves: https://github.com/elastic/kibana/issues/182441**\n**Resolves: https://github.com/elastic/kibana/issues/182442**\n**Resolves: https://github.com/elastic/kibana/issues/228942**\n**Relates to: https://github.com/elastic/kibana/pull/227689**\n\n## Summary\n\nThis PR installs mock prebuilt rules package for e2e Cypress test to\nreduce flakniess caused by accessing to the real EPR. It's similar to\nthe mock package installation in integration tests\n[PR](https://github.com/elastic/kibana/pull/227689).\n\n**Flaky test runner**\n- ESS:\nhttps://buildkite.com/elastic/kibana-flaky-test-suite-runner/builds/9120\n- Serverless:\nhttps://buildkite.com/elastic/kibana-flaky-test-suite-runner/builds/9121","sha":"980add17c585d370d555e93b9146bbaad5d7a2d4","branchLabelMapping":{"^v9.2.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["test","release_note:skip","impact:high","Team:Detections and Resp","Team: SecuritySolution","Team:Detection Rule Management","Feature:Prebuilt Detection Rules","backport:version","v9.2.0","v9.1.3","v8.19.3","v9.0.6","v8.18.6"],"title":"[Security Solution] Install mock prebuilt rules package in Cypress to reduce flakiness","number":229689,"url":"https://github.com/elastic/kibana/pull/229689","mergeCommit":{"message":"[Security Solution] Install mock prebuilt rules package in Cypress to reduce flakiness (#229689)\n\n**Resolves: https://github.com/elastic/kibana/issues/182441**\n**Resolves: https://github.com/elastic/kibana/issues/182442**\n**Resolves: https://github.com/elastic/kibana/issues/228942**\n**Relates to: https://github.com/elastic/kibana/pull/227689**\n\n## Summary\n\nThis PR installs mock prebuilt rules package for e2e Cypress test to\nreduce flakniess caused by accessing to the real EPR. It's similar to\nthe mock package installation in integration tests\n[PR](https://github.com/elastic/kibana/pull/227689).\n\n**Flaky test runner**\n- ESS:\nhttps://buildkite.com/elastic/kibana-flaky-test-suite-runner/builds/9120\n- Serverless:\nhttps://buildkite.com/elastic/kibana-flaky-test-suite-runner/builds/9121","sha":"980add17c585d370d555e93b9146bbaad5d7a2d4"}},"sourceBranch":"main","suggestedTargetBranches":["9.1","9.0","8.18"],"targetPullRequestStates":[{"branch":"main","label":"v9.2.0","branchLabelMappingKey":"^v9.2.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/229689","number":229689,"mergeCommit":{"message":"[Security Solution] Install mock prebuilt rules package in Cypress to reduce flakiness (#229689)\n\n**Resolves: https://github.com/elastic/kibana/issues/182441**\n**Resolves: https://github.com/elastic/kibana/issues/182442**\n**Resolves: https://github.com/elastic/kibana/issues/228942**\n**Relates to: https://github.com/elastic/kibana/pull/227689**\n\n## Summary\n\nThis PR installs mock prebuilt rules package for e2e Cypress test to\nreduce flakniess caused by accessing to the real EPR. It's similar to\nthe mock package installation in integration tests\n[PR](https://github.com/elastic/kibana/pull/227689).\n\n**Flaky test runner**\n- ESS:\nhttps://buildkite.com/elastic/kibana-flaky-test-suite-runner/builds/9120\n- Serverless:\nhttps://buildkite.com/elastic/kibana-flaky-test-suite-runner/builds/9121","sha":"980add17c585d370d555e93b9146bbaad5d7a2d4"}},{"branch":"9.1","label":"v9.1.3","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"8.19","label":"v8.19.3","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"url":"https://github.com/elastic/kibana/pull/231613","number":231613,"state":"OPEN"},{"branch":"9.0","label":"v9.0.6","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"8.18","label":"v8.18.6","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"}]}] BACKPORT-->
… reduce flakiness (elastic#229689) **Resolves: elastic#182441 **Resolves: elastic#182442 **Resolves: elastic#228942 **Relates to: elastic#227689 ## Summary This PR installs mock prebuilt rules package for e2e Cypress test to reduce flakniess caused by accessing to the real EPR. It's similar to the mock package installation in integration tests [PR](elastic#227689). **Flaky test runner** - ESS: https://buildkite.com/elastic/kibana-flaky-test-suite-runner/builds/9120 - Serverless: https://buildkite.com/elastic/kibana-flaky-test-suite-runner/builds/9121 (cherry picked from commit 980add1)
… reduce flakiness (elastic#229689) **Resolves: elastic#182441 **Resolves: elastic#182442 **Resolves: elastic#228942 **Relates to: elastic#227689 ## Summary This PR installs mock prebuilt rules package for e2e Cypress test to reduce flakniess caused by accessing to the real EPR. It's similar to the mock package installation in integration tests [PR](elastic#227689). **Flaky test runner** - ESS: https://buildkite.com/elastic/kibana-flaky-test-suite-runner/builds/9120 - Serverless: https://buildkite.com/elastic/kibana-flaky-test-suite-runner/builds/9121 (cherry picked from commit 980add1)
… reduce flakiness (elastic#229689) **Resolves: elastic#182441 **Resolves: elastic#182442 **Resolves: elastic#228942 **Relates to: elastic#227689 ## Summary This PR installs mock prebuilt rules package for e2e Cypress test to reduce flakniess caused by accessing to the real EPR. It's similar to the mock package installation in integration tests [PR](elastic#227689). **Flaky test runner** - ESS: https://buildkite.com/elastic/kibana-flaky-test-suite-runner/builds/9120 - Serverless: https://buildkite.com/elastic/kibana-flaky-test-suite-runner/builds/9121 (cherry picked from commit 980add1) # Conflicts: # x-pack/test/security_solution_cypress/cypress/e2e/detection_response/rule_management/prebuilt_rules/installation/install_via_fleet.cy.ts # x-pack/test/security_solution_cypress/cypress/e2e/detection_response/rule_management/rule_actions/snoozing/rule_snoozing.cy.ts
💚 All backports created successfully
Note: Successful backport PRs will be merged automatically after passing CI. Questions ?Please refer to the Backport tool documentation |
… reduce flakiness (elastic#229689) **Resolves: elastic#182441 **Resolves: elastic#182442 **Resolves: elastic#228942 **Relates to: elastic#227689 ## Summary This PR installs mock prebuilt rules package for e2e Cypress test to reduce flakniess caused by accessing to the real EPR. It's similar to the mock package installation in integration tests [PR](elastic#227689). **Flaky test runner** - ESS: https://buildkite.com/elastic/kibana-flaky-test-suite-runner/builds/9120 - Serverless: https://buildkite.com/elastic/kibana-flaky-test-suite-runner/builds/9121
|
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. |
… reduce flakiness (elastic#229689) **Resolves: elastic#182441 **Resolves: elastic#182442 **Resolves: elastic#228942 **Relates to: elastic#227689 ## Summary This PR installs mock prebuilt rules package for e2e Cypress test to reduce flakniess caused by accessing to the real EPR. It's similar to the mock package installation in integration tests [PR](elastic#227689). **Flaky test runner** - ESS: https://buildkite.com/elastic/kibana-flaky-test-suite-runner/builds/9120 - Serverless: https://buildkite.com/elastic/kibana-flaky-test-suite-runner/builds/9121 (cherry picked from commit 980add1) # Conflicts: # x-pack/solutions/security/test/security_solution_cypress/cypress/e2e/detection_response/rule_management/prebuilt_rules/installation/install_via_fleet.cy.ts # x-pack/solutions/security/test/security_solution_cypress/cypress/e2e/detection_response/rule_management/rule_actions/snoozing/rule_snoozing.cy.ts
… reduce flakiness (elastic#229689) **Resolves: elastic#182441 **Resolves: elastic#182442 **Resolves: elastic#228942 **Relates to: elastic#227689 ## Summary This PR installs mock prebuilt rules package for e2e Cypress test to reduce flakniess caused by accessing to the real EPR. It's similar to the mock package installation in integration tests [PR](elastic#227689). **Flaky test runner** - ESS: https://buildkite.com/elastic/kibana-flaky-test-suite-runner/builds/9120 - Serverless: https://buildkite.com/elastic/kibana-flaky-test-suite-runner/builds/9121 (cherry picked from commit 980add1)
💚 All backports created successfully
Note: Successful backport PRs will be merged automatically after passing CI. Questions ?Please refer to the Backport tool documentation |
…ess to reduce flakiness (#229689) (#231823) # Backport This will backport the following commits from `main` to `9.1`: - [[Security Solution] Install mock prebuilt rules package in Cypress to reduce flakiness (#229689)](#229689) <!--- Backport version: 10.0.1 --> ### Questions ? Please refer to the [Backport tool documentation](https://github.com/sorenlouv/backport) <!--BACKPORT [{"author":{"name":"Maxim Palenov","email":"[email protected]"},"sourceCommit":{"committedDate":"2025-08-13T12:31:26Z","message":"[Security Solution] Install mock prebuilt rules package in Cypress to reduce flakiness (#229689)\n\n**Resolves: https://github.com/elastic/kibana/issues/182441**\n**Resolves: https://github.com/elastic/kibana/issues/182442**\n**Resolves: https://github.com/elastic/kibana/issues/228942**\n**Relates to: https://github.com/elastic/kibana/pull/227689**\n\n## Summary\n\nThis PR installs mock prebuilt rules package for e2e Cypress test to\nreduce flakniess caused by accessing to the real EPR. It's similar to\nthe mock package installation in integration tests\n[PR](https://github.com/elastic/kibana/pull/227689).\n\n**Flaky test runner**\n- ESS:\nhttps://buildkite.com/elastic/kibana-flaky-test-suite-runner/builds/9120\n- Serverless:\nhttps://buildkite.com/elastic/kibana-flaky-test-suite-runner/builds/9121","sha":"980add17c585d370d555e93b9146bbaad5d7a2d4","branchLabelMapping":{"^v9.2.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["test","release_note:skip","impact:high","Team:Detections and Resp","Team: SecuritySolution","Team:Detection Rule Management","Feature:Prebuilt Detection Rules","backport:version","v9.2.0","v9.1.3","v8.19.3","v9.0.6","v8.18.6"],"title":"[Security Solution] Install mock prebuilt rules package in Cypress to reduce flakiness","number":229689,"url":"https://github.com/elastic/kibana/pull/229689","mergeCommit":{"message":"[Security Solution] Install mock prebuilt rules package in Cypress to reduce flakiness (#229689)\n\n**Resolves: https://github.com/elastic/kibana/issues/182441**\n**Resolves: https://github.com/elastic/kibana/issues/182442**\n**Resolves: https://github.com/elastic/kibana/issues/228942**\n**Relates to: https://github.com/elastic/kibana/pull/227689**\n\n## Summary\n\nThis PR installs mock prebuilt rules package for e2e Cypress test to\nreduce flakniess caused by accessing to the real EPR. It's similar to\nthe mock package installation in integration tests\n[PR](https://github.com/elastic/kibana/pull/227689).\n\n**Flaky test runner**\n- ESS:\nhttps://buildkite.com/elastic/kibana-flaky-test-suite-runner/builds/9120\n- Serverless:\nhttps://buildkite.com/elastic/kibana-flaky-test-suite-runner/builds/9121","sha":"980add17c585d370d555e93b9146bbaad5d7a2d4"}},"sourceBranch":"main","suggestedTargetBranches":["9.1"],"targetPullRequestStates":[{"branch":"main","label":"v9.2.0","branchLabelMappingKey":"^v9.2.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/229689","number":229689,"mergeCommit":{"message":"[Security Solution] Install mock prebuilt rules package in Cypress to reduce flakiness (#229689)\n\n**Resolves: https://github.com/elastic/kibana/issues/182441**\n**Resolves: https://github.com/elastic/kibana/issues/182442**\n**Resolves: https://github.com/elastic/kibana/issues/228942**\n**Relates to: https://github.com/elastic/kibana/pull/227689**\n\n## Summary\n\nThis PR installs mock prebuilt rules package for e2e Cypress test to\nreduce flakniess caused by accessing to the real EPR. It's similar to\nthe mock package installation in integration tests\n[PR](https://github.com/elastic/kibana/pull/227689).\n\n**Flaky test runner**\n- ESS:\nhttps://buildkite.com/elastic/kibana-flaky-test-suite-runner/builds/9120\n- Serverless:\nhttps://buildkite.com/elastic/kibana-flaky-test-suite-runner/builds/9121","sha":"980add17c585d370d555e93b9146bbaad5d7a2d4"}},{"branch":"9.1","label":"v9.1.3","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"8.19","label":"v8.19.3","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"url":"https://github.com/elastic/kibana/pull/231613","number":231613,"state":"OPEN"},{"branch":"9.0","label":"v9.0.6","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"url":"https://github.com/elastic/kibana/pull/231625","number":231625,"state":"MERGED","mergeCommit":{"sha":"486b8164ee7c6eabf4cd31d183409fe5c366a553","message":"[9.0] [Security Solution] Install mock prebuilt rules package in Cypress to reduce flakiness (#229689) (#231625)\n\n# Backport\n\nThis will backport the following commits from `main` to `9.0`:\n- [[Security Solution] Install mock prebuilt rules package in Cypress to\nreduce flakiness\n(#229689)](https://github.com/elastic/kibana/pull/229689)\n\n\n\n### Questions ?\nPlease refer to the [Backport tool\ndocumentation](https://github.com/sorenlouv/backport)\n\n"}},{"branch":"8.18","label":"v8.18.6","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"url":"https://github.com/elastic/kibana/pull/231628","number":231628,"state":"MERGED","mergeCommit":{"sha":"931e5ea6edad4fad74a3b116fea66e8f440eab43","message":"[8.18] [Security Solution] Install mock prebuilt rules package in Cypress to reduce flakiness (#229689) (#231628)\n\n# Backport\n\nThis will backport the following commits from `main` to `8.18`:\n- [[Security Solution] Install mock prebuilt rules package in Cypress to\nreduce flakiness\n(#229689)](https://github.com/elastic/kibana/pull/229689)\n\n\n\n### Questions ?\nPlease refer to the [Backport tool\ndocumentation](https://github.com/sorenlouv/backport)\n\n"}}]}] BACKPORT--> Co-authored-by: Maxim Palenov <[email protected]>
…ress to reduce flakiness (#229689) (#231998) # Backport This will backport the following commits from `main` to `8.19`: - [[Security Solution] Install mock prebuilt rules package in Cypress to reduce flakiness (#229689)](#229689) <!--- Backport version: 10.0.0 --> ### Questions ? Please refer to the [Backport tool documentation](https://github.com/sorenlouv/backport) <!--BACKPORT [{"author":{"name":"Maxim Palenov","email":"[email protected]"},"sourceCommit":{"committedDate":"2025-08-13T12:31:26Z","message":"[Security Solution] Install mock prebuilt rules package in Cypress to reduce flakiness (#229689)\n\n**Resolves: https://github.com/elastic/kibana/issues/182441**\n**Resolves: https://github.com/elastic/kibana/issues/182442**\n**Resolves: https://github.com/elastic/kibana/issues/228942**\n**Relates to: https://github.com/elastic/kibana/pull/227689**\n\n## Summary\n\nThis PR installs mock prebuilt rules package for e2e Cypress test to\nreduce flakniess caused by accessing to the real EPR. It's similar to\nthe mock package installation in integration tests\n[PR](https://github.com/elastic/kibana/pull/227689).\n\n**Flaky test runner**\n- ESS:\nhttps://buildkite.com/elastic/kibana-flaky-test-suite-runner/builds/9120\n- Serverless:\nhttps://buildkite.com/elastic/kibana-flaky-test-suite-runner/builds/9121","sha":"980add17c585d370d555e93b9146bbaad5d7a2d4","branchLabelMapping":{"^v9.2.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["test","release_note:skip","impact:high","backport missing","Team:Detections and Resp","Team: SecuritySolution","Team:Detection Rule Management","Feature:Prebuilt Detection Rules","backport:version","v9.2.0","v9.1.3","v8.19.3","v9.0.6","v8.18.6"],"title":"[Security Solution] Install mock prebuilt rules package in Cypress to reduce flakiness","number":229689,"url":"https://github.com/elastic/kibana/pull/229689","mergeCommit":{"message":"[Security Solution] Install mock prebuilt rules package in Cypress to reduce flakiness (#229689)\n\n**Resolves: https://github.com/elastic/kibana/issues/182441**\n**Resolves: https://github.com/elastic/kibana/issues/182442**\n**Resolves: https://github.com/elastic/kibana/issues/228942**\n**Relates to: https://github.com/elastic/kibana/pull/227689**\n\n## Summary\n\nThis PR installs mock prebuilt rules package for e2e Cypress test to\nreduce flakniess caused by accessing to the real EPR. It's similar to\nthe mock package installation in integration tests\n[PR](https://github.com/elastic/kibana/pull/227689).\n\n**Flaky test runner**\n- ESS:\nhttps://buildkite.com/elastic/kibana-flaky-test-suite-runner/builds/9120\n- Serverless:\nhttps://buildkite.com/elastic/kibana-flaky-test-suite-runner/builds/9121","sha":"980add17c585d370d555e93b9146bbaad5d7a2d4"}},"sourceBranch":"main","suggestedTargetBranches":[],"targetPullRequestStates":[{"branch":"main","label":"v9.2.0","branchLabelMappingKey":"^v9.2.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/229689","number":229689,"mergeCommit":{"message":"[Security Solution] Install mock prebuilt rules package in Cypress to reduce flakiness (#229689)\n\n**Resolves: https://github.com/elastic/kibana/issues/182441**\n**Resolves: https://github.com/elastic/kibana/issues/182442**\n**Resolves: https://github.com/elastic/kibana/issues/228942**\n**Relates to: https://github.com/elastic/kibana/pull/227689**\n\n## Summary\n\nThis PR installs mock prebuilt rules package for e2e Cypress test to\nreduce flakniess caused by accessing to the real EPR. It's similar to\nthe mock package installation in integration tests\n[PR](https://github.com/elastic/kibana/pull/227689).\n\n**Flaky test runner**\n- ESS:\nhttps://buildkite.com/elastic/kibana-flaky-test-suite-runner/builds/9120\n- Serverless:\nhttps://buildkite.com/elastic/kibana-flaky-test-suite-runner/builds/9121","sha":"980add17c585d370d555e93b9146bbaad5d7a2d4"}},{"branch":"9.1","label":"v9.1.3","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"url":"https://github.com/elastic/kibana/pull/231823","number":231823,"state":"OPEN"},{"branch":"8.19","label":"v8.19.3","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"url":"https://github.com/elastic/kibana/pull/231613","number":231613,"state":"OPEN"},{"branch":"9.0","label":"v9.0.6","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"url":"https://github.com/elastic/kibana/pull/231625","number":231625,"state":"MERGED","mergeCommit":{"sha":"486b8164ee7c6eabf4cd31d183409fe5c366a553","message":"[9.0] [Security Solution] Install mock prebuilt rules package in Cypress to reduce flakiness (#229689) (#231625)\n\n# Backport\n\nThis will backport the following commits from `main` to `9.0`:\n- [[Security Solution] Install mock prebuilt rules package in Cypress to\nreduce flakiness\n(#229689)](https://github.com/elastic/kibana/pull/229689)\n\n\n\n### Questions ?\nPlease refer to the [Backport tool\ndocumentation](https://github.com/sorenlouv/backport)\n\n"}},{"branch":"8.18","label":"v8.18.6","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"url":"https://github.com/elastic/kibana/pull/231628","number":231628,"state":"MERGED","mergeCommit":{"sha":"931e5ea6edad4fad74a3b116fea66e8f440eab43","message":"[8.18] [Security Solution] Install mock prebuilt rules package in Cypress to reduce flakiness (#229689) (#231628)\n\n# Backport\n\nThis will backport the following commits from `main` to `8.18`:\n- [[Security Solution] Install mock prebuilt rules package in Cypress to\nreduce flakiness\n(#229689)](https://github.com/elastic/kibana/pull/229689)\n\n\n\n### Questions ?\nPlease refer to the [Backport tool\ndocumentation](https://github.com/sorenlouv/backport)\n\n"}}]}] BACKPORT--> Co-authored-by: Maxim Palenov <[email protected]>
… reduce flakiness (elastic#229689) **Resolves: elastic#182441 **Resolves: elastic#182442 **Resolves: elastic#228942 **Relates to: elastic#227689 ## Summary This PR installs mock prebuilt rules package for e2e Cypress test to reduce flakniess caused by accessing to the real EPR. It's similar to the mock package installation in integration tests [PR](elastic#227689). **Flaky test runner** - ESS: https://buildkite.com/elastic/kibana-flaky-test-suite-runner/builds/9120 - Serverless: https://buildkite.com/elastic/kibana-flaky-test-suite-runner/builds/9121
… reduce flakiness (elastic#229689) **Resolves: elastic#182441 **Resolves: elastic#182442 **Resolves: elastic#228942 **Relates to: elastic#227689 ## Summary This PR installs mock prebuilt rules package for e2e Cypress test to reduce flakniess caused by accessing to the real EPR. It's similar to the mock package installation in integration tests [PR](elastic#227689). **Flaky test runner** - ESS: https://buildkite.com/elastic/kibana-flaky-test-suite-runner/builds/9120 - Serverless: https://buildkite.com/elastic/kibana-flaky-test-suite-runner/builds/9121
Resolves: #182441
Resolves: #182442
Resolves: #228942
Relates to: #227689
Summary
This PR installs mock prebuilt rules package for e2e Cypress test to reduce flakniess caused by accessing to the real EPR. It's similar to the mock package installation in integration tests PR.
Flaky test runner