Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Reporting] Add protocolTimeout to screenshotting plugin (elastic#167335
) ## Summary Timeout settings for the screenshotting plugin that uses puppeteer is facing an issue where the connection is closed too quickly for reporting to work. Test this fixes the protocolTimeout puppeteer with example plugin and modifying the x-pack/examples/reporting_example/public/containers/main.tsx useEffect. ```jsx useEffect(() => { Rx.timer(22000) .pipe(takeWhile(() => logos.length < sourceLogos.length)) .subscribe(() => { setLogos([...sourceLogos.slice(0, logos.length + 1)]); }); }); ``` and then modifying the kibana.yml to `xpack.reporting.capture.timeouts.openUrl: 200000s` The report waits for all cards to load before capturing the screenshot
- Loading branch information