Open amosjyng opened 9 months ago
Any updates around this? I forked it and made a few changes and got a bit closer, but its still broken for me https://github.com/jLynx/hello_tauri
Perhaps you were using an older version of Tauri, because the difference between versions 0.1.3 and 0.1.4 includes a change in the environment variable from TAURI_AUTOMATION to TAURI_WEBVIEW_AUTOMATION.
But the problem is still here Failed to match capabilities
I was with the same problem here on Linux, then i worked out like you've mentioned about the browser name as a empty string, now my Selenium tests started to run, but i'm receiving this error:
It seems that the driver initialization is hanging while trying to create a session, the WebdriverIO example is presenting the same behavior:
Maybe some tauri-driver
bug?
The example project being used is this.
I was with the same problem here on Linux, then i worked out like you've mentioned about the browser name as a empty Maybe some
tauri-driver
bug?
Yep same problem I am already investigating, works fine on Windows
so let's see.
tauri 1.6.8 > tauri-runtime-wry 0.14.8 > wry 0.24.10
when latest wry==0.41.0
I am checking this path
Edit @marcelsby :
$ cargo build -p tauri-runtime-wry
Updating crates.io index
error: failed to select a version for `wry`.
... required by package `tauri-runtime-wry v0.14.8 (C:\Users\buk\RustroverProjects\tauri2\core\tauri-runtime-wry)`
... which satisfies path dependency `tauri-runtime-wry` (locked to 0.14.8) of package `tauri v1.6.7 (C:\Users\buk\RustroverProjects\tauri2\core\tauri)`
versions that meet the requirements `^0.25.0` are: 0.25.0
the package `tauri-runtime-wry` depends on `wry`, with features: `tracing` but `wry` does not have these features.
failed to select a version for `wry` which could resolve this conflict
And here some breaking changes related to webkit
:
Well... just migrate to tauri v2
it works there ^^ but you need the browserName
set to wry
otherwise it fails ❌
Runs fine on my wsl ubuntu with Tauri v2... But timeouts on github actions. Xvfb takes a while to warmup, but still looks like cannot start in github actions
Hello, sorry for the late reply, i was a bit busy, but in this meantime i migrated my personal Tauri project to v2 and run the selenium test with the same setup of "hello_tauri", but the hanging behavior keeps the same.
I tested in Ubuntu 22.04.
Hello, sorry for the late reply, i was a bit busy, but in this meantime i migrated my personal Tauri project to v2 and run the selenium test with the same setup of "hello_tauri", but the hanging behavior keeps the same.
I tested in Ubuntu 22.04.
Take a look here, it works for me and in github actions https://github.com/bukowa/tauri-e2e
Upgrading to Tauri v2 and tauri-driver 2.0.1 magically fixed things for me. I'm using Webdriver
Describe the bug
My end-to-end tests on GitHub CI started breaking today:
Pinning the installed version to 0.1.3 gets them to pass again.
I have not looked into why this is, I'm just reporting this phenomenon. My yarn.lock has these versions:
webdriverio
at 8.29.1@wdio/local-runner
at 8.29.2Reproduction
I'm using an end-to-end test script based on https://github.com/chippers/hello_tauri
Expected behavior
Patch versions should ideally not result in breaking changes to my CI setup
Full
tauri info
outputI have yet to kick off a run on CI with this command, because I just want to be able to report it first in case anyone else runs into the same issue.