Commit aefa70d
# 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]>
1 parent 2b24193 commit aefa70d
File tree
37 files changed
+551
-384
lines changed- x-pack/solutions/security/test/security_solution_cypress/cypress
- e2e/detection_response/rule_management
- authorization
- coverage_overview
- maintenance_windows
- prebuilt_rules
- customization
- installation
- management
- upgrade
- rule_actions
- bulk_actions
- deletion
- import_export
- snoozing
- rule_details
- rules_table
- tasks/api_calls
37 files changed
+551
-384
lines changedLines changed: 8 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
10 | | - | |
| 10 | + | |
| 11 | + | |
11 | 12 | | |
12 | 13 | | |
13 | 14 | | |
| |||
28 | 29 | | |
29 | 30 | | |
30 | 31 | | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
31 | 36 | | |
32 | 37 | | |
33 | | - | |
| 38 | + | |
34 | 39 | | |
35 | 40 | | |
36 | | - | |
| 41 | + | |
37 | 42 | | |
38 | 43 | | |
39 | 44 | | |
| |||
Lines changed: 8 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
25 | | - | |
| 25 | + | |
26 | 26 | | |
27 | 27 | | |
| 28 | + | |
28 | 29 | | |
29 | 30 | | |
30 | 31 | | |
| |||
191 | 192 | | |
192 | 193 | | |
193 | 194 | | |
| 195 | + | |
| 196 | + | |
| 197 | + | |
| 198 | + | |
194 | 199 | | |
195 | 200 | | |
196 | 201 | | |
| |||
199 | 204 | | |
200 | 205 | | |
201 | 206 | | |
202 | | - | |
| 207 | + | |
203 | 208 | | |
204 | 209 | | |
205 | 210 | | |
206 | 211 | | |
207 | 212 | | |
208 | 213 | | |
209 | 214 | | |
210 | | - | |
| 215 | + | |
211 | 216 | | |
212 | 217 | | |
213 | 218 | | |
| |||
Lines changed: 5 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
| 11 | + | |
11 | 12 | | |
12 | 13 | | |
13 | 14 | | |
| |||
17 | 18 | | |
18 | 19 | | |
19 | 20 | | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
20 | 25 | | |
21 | 26 | | |
22 | 27 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
29 | 29 | | |
30 | 30 | | |
31 | 31 | | |
| 32 | + | |
32 | 33 | | |
33 | 34 | | |
34 | 35 | | |
| |||
44 | 45 | | |
45 | 46 | | |
46 | 47 | | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
47 | 52 | | |
48 | 53 | | |
49 | 54 | | |
| |||
52 | 57 | | |
53 | 58 | | |
54 | 59 | | |
55 | | - | |
56 | 60 | | |
57 | 61 | | |
58 | 62 | | |
59 | 63 | | |
60 | 64 | | |
| 65 | + | |
| 66 | + | |
61 | 67 | | |
62 | 68 | | |
63 | 69 | | |
| |||
0 commit comments