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

[7.x] [Reporting] Revisit handling timeouts for different phases of screenshot capture (#113807) #115418

Merged
merged 1 commit into from
Oct 18, 2021

Conversation

tsullivan
Copy link
Member

Backports the following commits to 7.x:

…hot capture (elastic#113807)

* [Reporting] Revisit handling timeouts for different phases of screenshot capture

* remove translations for changed text

* add wip unit test

* simplify class

* todo more testing

* fix ts

* update snapshots

* simplify open_url

* fixup me

* move setupPage to a method of the ObservableHandler class

* do not pass entire config object to helper functions

* distinguish internal timeouts vs external timeout

* add tests for waitUntil

* checkIsPageOpen test

* restore passing of renderErrors

* updates per feedback

* Update x-pack/plugins/reporting/server/lib/screenshots/observable_handler.ts

Co-authored-by: Michael Dokolin <[email protected]>

* Update x-pack/plugins/reporting/server/lib/screenshots/observable_handler.ts

Co-authored-by: Michael Dokolin <[email protected]>

* Update x-pack/plugins/reporting/server/lib/screenshots/observable_handler.ts

Co-authored-by: Michael Dokolin <[email protected]>

* Update x-pack/plugins/reporting/server/lib/screenshots/observable_handler.ts

Co-authored-by: Michael Dokolin <[email protected]>

* Update x-pack/plugins/reporting/server/lib/screenshots/observable_handler.ts

Co-authored-by: Michael Dokolin <[email protected]>

* fix parsing

* apply simplifications consistently

* dont main waitUntil a higher order component

* resolve the timeouts options outside of the service

* comment correction

Co-authored-by: Kibana Machine <[email protected]>
Co-authored-by: Michael Dokolin <[email protected]>
@tsullivan tsullivan enabled auto-merge (squash) October 18, 2021 17:25
@kibanamachine
Copy link
Contributor

💚 Build Succeeded

Metrics [docs]

✅ unchanged

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

@tsullivan tsullivan merged commit d73038d into elastic:7.x Oct 18, 2021
@tsullivan tsullivan deleted the backport/7.x/pr-113807 branch December 27, 2021 20:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants