-
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
[Reporting] Fix screenshot diagnostics #116199
[Reporting] Fix screenshot diagnostics #116199
Conversation
268b1d3
to
0650585
Compare
Pinging @elastic/kibana-reporting-services (Team:Reporting Services) |
@elasticmachine merge upstream |
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, great job @tsullivan !
x-pack/plugins/reporting/server/lib/layouts/preserve_layout.test.ts
Outdated
Show resolved
Hide resolved
it('preserve layout allows customizable selectors', () => { | ||
const testPreserveLayout = new PreserveLayout( | ||
{ width: 16, height: 16 }, | ||
{ renderComplete: '[great-test-selectors]' } |
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.
@tsullivan always has "great" test inputs 😄
…07-screenshot-diagnostics
💚 Build Succeeded
Metrics [docs]
History
To update your PR or re-run it, just comment with: |
* [Reporting] Fix screenshot diagnostics * update snapshots * fix test * tersify test assertions Co-authored-by: Kibana Machine <[email protected]>
* [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]>
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
Checklist
Delete any items that are not applicable to this PR.