-
Notifications
You must be signed in to change notification settings - Fork 8.3k
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][Detections] Flaky alert assignments tests #173284
[Security Solution][Detections] Flaky alert assignments tests #173284
Conversation
// FLAKY: elastic#172611 // FLAKY: elastic#172623 // FLAKY: elastic#172663
Pinging @elastic/security-solution (Team: SecuritySolution) |
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.
LGTM!
💛 Build succeeded, but was flaky
Failed CI StepsTest Failures
Metrics [docs]
To update your PR or re-run it, just comment with: cc @e40pud |
💔 All backports failed
Manual backportTo create the backport manually run:
Questions ?Please refer to the Backport tool documentation |
💚 All backports created successfully
Note: Successful backport PRs will be merged automatically after passing CI. Questions ?Please refer to the Backport tool documentation |
…c#173284) ## Summary With these changes we fix flaky tests caused by the flakiness of the alert actions button. There is a [`expandFirstAlertActions` method](https://github.com/elastic/kibana/blob/main/x-pack/test/security_solution_cypress/cypress/tasks/alerts.ts#L125) which workarounds this issue. ### Flaky tests: 1. elastic#172611 2. elastic#172623 3. elastic#172663 ### Flaky test runner (100 times) https://buildkite.com/elastic/kibana-flaky-test-suite-runner/builds/4538 (cherry picked from commit 17bc0c9) # Conflicts: # x-pack/test/security_solution_cypress/cypress/e2e/detection_response/detection_engine/detection_alerts/assignments/assignments.cy.ts
…173284) (#173344) # Backport This will backport the following commits from `main` to `8.12`: - [[Security Solution][Detections] Flaky alert assignments tests (#173284)](#173284) <!--- Backport version: 8.9.8 --> ### Questions ? Please refer to the [Backport tool documentation](https://github.com/sqren/backport) <!--BACKPORT [{"author":{"name":"Ievgen Sorokopud","email":"[email protected]"},"sourceCommit":{"committedDate":"2023-12-13T20:56:12Z","message":"[Security Solution][Detections] Flaky alert assignments tests (#173284)\n\n## Summary\r\n\r\nWith these changes we fix flaky tests caused by the flakiness of the\r\nalert actions button. There is a [`expandFirstAlertActions`\r\nmethod](https://github.com/elastic/kibana/blob/main/x-pack/test/security_solution_cypress/cypress/tasks/alerts.ts#L125)\r\nwhich workarounds this issue.\r\n\r\n### Flaky tests:\r\n1. https://github.com/elastic/kibana/issues/172611\r\n2. https://github.com/elastic/kibana/issues/172623\r\n3. https://github.com/elastic/kibana/issues/172663\r\n\r\n### Flaky test runner (100 times)\r\n\r\nhttps://buildkite.com/elastic/kibana-flaky-test-suite-runner/builds/4538","sha":"17bc0c9fa2f7a2d5d0f3ff0c71f848686f182373","branchLabelMapping":{"^v8.13.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","Team: SecuritySolution","backport:prev-minor","Team:Detection Engine","v8.13.0"],"number":173284,"url":"https://github.com/elastic/kibana/pull/173284","mergeCommit":{"message":"[Security Solution][Detections] Flaky alert assignments tests (#173284)\n\n## Summary\r\n\r\nWith these changes we fix flaky tests caused by the flakiness of the\r\nalert actions button. There is a [`expandFirstAlertActions`\r\nmethod](https://github.com/elastic/kibana/blob/main/x-pack/test/security_solution_cypress/cypress/tasks/alerts.ts#L125)\r\nwhich workarounds this issue.\r\n\r\n### Flaky tests:\r\n1. https://github.com/elastic/kibana/issues/172611\r\n2. https://github.com/elastic/kibana/issues/172623\r\n3. https://github.com/elastic/kibana/issues/172663\r\n\r\n### Flaky test runner (100 times)\r\n\r\nhttps://buildkite.com/elastic/kibana-flaky-test-suite-runner/builds/4538","sha":"17bc0c9fa2f7a2d5d0f3ff0c71f848686f182373"}},"sourceBranch":"main","suggestedTargetBranches":[],"targetPullRequestStates":[{"branch":"main","label":"v8.13.0","labelRegex":"^v8.13.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/173284","number":173284,"mergeCommit":{"message":"[Security Solution][Detections] Flaky alert assignments tests (#173284)\n\n## Summary\r\n\r\nWith these changes we fix flaky tests caused by the flakiness of the\r\nalert actions button. There is a [`expandFirstAlertActions`\r\nmethod](https://github.com/elastic/kibana/blob/main/x-pack/test/security_solution_cypress/cypress/tasks/alerts.ts#L125)\r\nwhich workarounds this issue.\r\n\r\n### Flaky tests:\r\n1. https://github.com/elastic/kibana/issues/172611\r\n2. https://github.com/elastic/kibana/issues/172623\r\n3. https://github.com/elastic/kibana/issues/172663\r\n\r\n### Flaky test runner (100 times)\r\n\r\nhttps://buildkite.com/elastic/kibana-flaky-test-suite-runner/builds/4538","sha":"17bc0c9fa2f7a2d5d0f3ff0c71f848686f182373"}}]}] BACKPORT--> Co-authored-by: Ievgen Sorokopud <[email protected]>
Summary
With these changes we fix flaky tests caused by the flakiness of the alert actions button. There is a
expandFirstAlertActions
method which workarounds this issue.Flaky tests:
More actions
in alerts table removing all assignees viaMore actions
in alerts table #172623Flaky test runner (100 times)
https://buildkite.com/elastic/kibana-flaky-test-suite-runner/builds/4538