-
Notifications
You must be signed in to change notification settings - Fork 8.2k
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
[DOCS] Add TheHive connector to automated Observability case screenshots #193913
Conversation
🤖 GitHub commentsExpand to view the GitHub comments
Just comment with:
|
Pinging @elastic/response-ops (Team:ResponseOps) |
Pinging @elastic/response-ops-cases (Feature:Cases) |
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 but maybe we dont need all the retry.waitFor
? The failing tests you linked were only about common-flyout-cancel
.
💛 Build succeeded, but was flaky
Failed CI StepsMetrics [docs]
History
To update your PR or re-run it, just comment with: |
When I removed more of the retries, the screenshot generation started failing again, so I've left them for now. |
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.
Test changes LGTM
💚 Build Succeeded
Metrics [docs]
|
Starting backport for target branches: 8.x |
…ots (elastic#193913) (cherry picked from commit bdf62b6)
💚 All backports created successfully
Note: Successful backport PRs will be merged automatically after passing CI. Questions ?Please refer to the Backport tool documentation |
…reenshots (#193913) (#200113) # Backport This will backport the following commits from `main` to `8.x`: - [[DOCS] Add TheHive connector to automated Observability case screenshots (#193913)](#193913) <!--- Backport version: 9.4.3 --> ### Questions ? Please refer to the [Backport tool documentation](https://github.com/sqren/backport) <!--BACKPORT [{"author":{"name":"Lisa Cawley","email":"lcawley@elastic.co"},"sourceCommit":{"committedDate":"2024-11-14T03:40:55Z","message":"[DOCS] Add TheHive connector to automated Observability case screenshots (#193913)","sha":"bdf62b6b500f041d57a6ee74ddeee88138d42f26","branchLabelMapping":{"^v9.0.0$":"main","^v8.17.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","Team:ResponseOps","v9.0.0","docs","Feature:Cases","backport:version","v8.17.0"],"title":"[DOCS] Add TheHive connector to automated Observability case screenshots","number":193913,"url":"https://github.com/elastic/kibana/pull/193913","mergeCommit":{"message":"[DOCS] Add TheHive connector to automated Observability case screenshots (#193913)","sha":"bdf62b6b500f041d57a6ee74ddeee88138d42f26"}},"sourceBranch":"main","suggestedTargetBranches":["8.x"],"targetPullRequestStates":[{"branch":"main","label":"v9.0.0","branchLabelMappingKey":"^v9.0.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/193913","number":193913,"mergeCommit":{"message":"[DOCS] Add TheHive connector to automated Observability case screenshots (#193913)","sha":"bdf62b6b500f041d57a6ee74ddeee88138d42f26"}},{"branch":"8.x","label":"v8.17.0","branchLabelMappingKey":"^v8.17.0$","isSourceBranch":false,"state":"NOT_CREATED"}]}] BACKPORT--> Co-authored-by: Lisa Cawley <lcawley@elastic.co>
Summary
Relates to #180931
This PR adds TheHive connector to the automated screenshot that is used in https://www.elastic.co/docs/current/serverless/observability/case-settings#create-a-connector
The screenshot automation for that page and for https://www.elastic.co/docs/current/serverless/security/cases-settings#external-incident-management-systems had been turned off per #188997 and #189058
I could not replicate those timeout errors, but I added
retry.waitFor
around any clicks since that's what seems to be done in https://github.com/elastic/kibana/blob/main/x-pack/test_serverless/functional/test_suites/security/ftr/cases/configure.tsI have also removed one of the automated screenshots that is no longer required per elastic/security-docs#5859
Further updates were required related to #197041, which changes the location of the "Add connector" option within Case settings.