Utilizing Linux and some programs to create a fake display, it is possible to run WebDriver tests with
tauri-driver
on your CI. The following example uses the WebdriverIO example we previously built together and
GitHub Actions.
This means the following assumptions:
- The Tauri application is in the repository root and the binary builds when running
cargo build --release
.
- The WebDriverIO test runner is in the
webdriver/webdriverio
directory and runs when yarn test
is used in that
directory.
The following is a commented GitHub Actions workflow file at .github/workflows/webdriver.yml
© 2024 Tauri Contributors. CC-BY / MIT