chippers / hello_tauri

Absolutely minimal example for a linux Tauri application.
Apache License 2.0
15 stars 5 forks source link

fix(webdriverio): set env variable before running wdio #5

Open mattyg opened 3 months ago

mattyg commented 3 months ago

I see that tauri-driver is setting this env variable, which in theory should pass down to the child processes WebKitWebDriver and then hello_tauri.

But in practice it does not seem to. Because of that, the request to start the webdriver session hangs and eventually times out.

Setting the env variable before running wdio resolves the issue, and webdriverio tests runs properly.