Skip to content

Comments

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

Merged
tsullivan merged 1 commit intoelastic:7.xfrom
tsullivan:backport/7.x/pr-113807
Oct 18, 2021
Merged

[7.x] [Reporting] Revisit handling timeouts for different phases of screenshot capture (#113807)#115418
tsullivan merged 1 commit intoelastic:7.xfrom
tsullivan:backport/7.x/pr-113807

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 <dokmic@gmail.com>

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

Co-authored-by: Michael Dokolin <dokmic@gmail.com>

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

Co-authored-by: Michael Dokolin <dokmic@gmail.com>

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

Co-authored-by: Michael Dokolin <dokmic@gmail.com>

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

Co-authored-by: Michael Dokolin <dokmic@gmail.com>

* 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 <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Michael Dokolin <dokmic@gmail.com>
@tsullivan tsullivan added the backport This PR is a backport of another PR label Oct 18, 2021
@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

backport This PR is a backport of another PR

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants