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

[Reporting] Fix screenshot diagnostics #116199

Merged

Conversation

tsullivan
Copy link
Member

@tsullivan tsullivan commented Oct 25, 2021

Summary

Closes #115107

The issue is that the diagnostics tool uses a customized "selectors dictionary" for capturing the screenshot of the home page. Using a custom selector dictionary broke in #109010

image

Checklist

Delete any items that are not applicable to this PR.

@tsullivan tsullivan requested review from a team as code owners October 25, 2021 19:01
@elasticmachine
Copy link
Contributor

Pinging @elastic/kibana-reporting-services (Team:Reporting Services)

@tsullivan tsullivan added the release_note:skip Skip the PR/issue when compiling release notes label Oct 25, 2021
@tsullivan
Copy link
Member Author

@elasticmachine merge upstream

Copy link
Contributor

@jloleysens jloleysens left a comment

Choose a reason for hiding this comment

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

LGTM, great job @tsullivan !

it('preserve layout allows customizable selectors', () => {
const testPreserveLayout = new PreserveLayout(
{ width: 16, height: 16 },
{ renderComplete: '[great-test-selectors]' }
Copy link
Contributor

Choose a reason for hiding this comment

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

@tsullivan always has "great" test inputs 😄

@tsullivan tsullivan enabled auto-merge (squash) October 26, 2021 17:27
@tsullivan tsullivan merged commit 1211149 into elastic:master Oct 26, 2021
@kibanamachine
Copy link
Contributor

💚 Build Succeeded

Metrics [docs]

✅ unchanged

History

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

tsullivan added a commit to tsullivan/kibana that referenced this pull request Oct 26, 2021
* [Reporting] Fix screenshot diagnostics

* update snapshots

* fix test

* tersify test assertions

Co-authored-by: Kibana Machine <[email protected]>
tsullivan added a commit that referenced this pull request Oct 26, 2021
* [Reporting] Fix screenshot diagnostics

* update snapshots

* fix test

* tersify test assertions

Co-authored-by: Kibana Machine <[email protected]>

Co-authored-by: Kibana Machine <[email protected]>
@tsullivan tsullivan deleted the reporting/fix-115107-screenshot-diagnostics branch February 11, 2022 17:47
@sophiec20 sophiec20 added the (Deprecated) Feature:Reporting Use Reporting:Screenshot, Reporting:CSV, or Reporting:Framework instead label Aug 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
(Deprecated) Feature:Reporting Use Reporting:Screenshot, Reporting:CSV, or Reporting:Framework instead release_note:skip Skip the PR/issue when compiling release notes v7.16.0 v8.0.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Reporting diagnostics capture screenshot timeout
5 participants