Skip to content

refactor: waitForWebview has now timeout support and documentation

Tomas Vik requested to merge 814-webview-test-error-reporting into main

This MR introduces a timeout for the waitForWebview utility function.

Screenshot_2023-07-14_at_13.30.43

Before: If the webview failed to initialize, the waitForWebview would hang indefinitely.

After: If the webview fails to initialize, we show an error after 500ms.

Related to #814 (closed)

Edited by Tomas Vik

Merge request reports