Skip to content
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] Automate observability case file screenshot #156775

Merged
merged 1 commit into from
May 8, 2023

Conversation

lcawl
Copy link
Contributor

@lcawl lcawl commented May 5, 2023

Summary

Relates to elastic/observability-docs#2914, #154881

This PR automates a screenshot for https://www.elastic.co/guide/en/observability/master/manage-cases.html. The screenshot captures the "Files" tab in an Observability case that has a single image attachment.

The PR also widens another existing screenshot, so that the columns aren't so compressed in the output.

@lcawl lcawl added Team:ResponseOps Label for the ResponseOps team (formerly the Cases and Alerting teams) docs Feature:Cases Cases feature v8.8.0 v8.9.0 labels May 5, 2023
@apmmachine
Copy link
Contributor

🤖 GitHub comments

Expand to view the GitHub comments

Just comment with:

  • /oblt-deploy : Deploy a Kibana instance using the Observability test environments.
  • run elasticsearch-ci/docs : Re-trigger the docs validation. (use unformatted text in the comment!)

});

it('case detail screenshot', async () => {
await common.navigateToUrlWithBrowserHistory('observability', `/cases/${caseIdMonitoring}`);
Copy link
Contributor Author

@lcawl lcawl May 5, 2023

Choose a reason for hiding this comment

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

  await common.navigateToUrlWithBrowserHistory('observability', `/cases/${caseIdMonitoring}`);

Interestingly, I couldn't get navigateToSingleCase to work here, since observability/cases seemed to be deemed an invalid app.

@kibana-ci
Copy link
Collaborator

💚 Build Succeeded

Metrics [docs]

Unknown metric groups

ESLint disabled line counts

id before after diff
enterpriseSearch 19 21 +2
securitySolution 398 401 +3
total +5

Total ESLint disabled count

id before after diff
enterpriseSearch 20 22 +2
securitySolution 478 481 +3
total +5

To update your PR or re-run it, just comment with:
@elasticmachine merge upstream

@lcawl lcawl marked this pull request as ready for review May 5, 2023 14:58
@elasticmachine
Copy link
Contributor

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

@elasticmachine
Copy link
Contributor

Pinging @elastic/response-ops-cases (Feature:Cases)

@lcawl lcawl requested a review from a team May 5, 2023 14:58
@lcawl lcawl added the release_note:skip Skip the PR/issue when compiling release notes label May 5, 2023
@lcawl lcawl added the backport:prev-minor Backport to (9.0) the previous minor version (i.e. one version back from main) label May 8, 2023
@lcawl lcawl merged commit aaa77f4 into elastic:main May 8, 2023
@lcawl lcawl deleted the observability-case-screenshots branch May 8, 2023 14:20
kibanamachine pushed a commit to kibanamachine/kibana that referenced this pull request May 8, 2023
@kibanamachine
Copy link
Contributor

💚 All backports created successfully

Status Branch Result
8.8

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

Questions ?

Please refer to the Backport tool documentation

kibanamachine added a commit that referenced this pull request May 8, 2023
…157003)

# Backport

This will backport the following commits from `main` to `8.8`:
- [[DOCS] Automate observability case file screenshot
(#156775)](#156775)

<!--- Backport version: 8.9.7 -->

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

<!--BACKPORT [{"author":{"name":"Lisa
Cawley","email":"lcawley@elastic.co"},"sourceCommit":{"committedDate":"2023-05-08T14:20:15Z","message":"[DOCS]
Automate observability case file screenshot
(#156775)","sha":"aaa77f462396c323dc47fb68888899cdb20d5cd6","branchLabelMapping":{"^v8.9.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","Team:ResponseOps","docs","Feature:Cases","backport:prev-minor","v8.8.0","v8.9.0"],"number":156775,"url":"https://github.com/elastic/kibana/pull/156775","mergeCommit":{"message":"[DOCS]
Automate observability case file screenshot
(#156775)","sha":"aaa77f462396c323dc47fb68888899cdb20d5cd6"}},"sourceBranch":"main","suggestedTargetBranches":["8.8"],"targetPullRequestStates":[{"branch":"8.8","label":"v8.8.0","labelRegex":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"main","label":"v8.9.0","labelRegex":"^v8.9.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/156775","number":156775,"mergeCommit":{"message":"[DOCS]
Automate observability case file screenshot
(#156775)","sha":"aaa77f462396c323dc47fb68888899cdb20d5cd6"}}]}]
BACKPORT-->

Co-authored-by: Lisa Cawley <lcawley@elastic.co>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport:prev-minor Backport to (9.0) the previous minor version (i.e. one version back from main) docs Feature:Cases Cases feature release_note:skip Skip the PR/issue when compiling release notes Team:ResponseOps Label for the ResponseOps team (formerly the Cases and Alerting teams) v8.8.0 v8.9.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants