diff --git a/apps/desktop/wdio.conf.ts b/apps/desktop/wdio.conf.ts index b3544c7224..003b4f7c98 100644 --- a/apps/desktop/wdio.conf.ts +++ b/apps/desktop/wdio.conf.ts @@ -51,7 +51,7 @@ export const config: Options.WebdriverIO = { // ensure we are running `tauri-driver` before the session starts so that we can proxy the webdriver requests beforeSession: () => { const tauriDriverPath = process.env.CI - ? path.resolve('usr', 'local', 'bin', 'tauri-driver') + ? '/usr/local/bin/tauri-driver' : path.resolve(os.homedir(), '.cargo', 'bin', 'tauri-driver'); tauriDriver = spawn(tauriDriverPath, [], { stdio: [null, process.stdout, process.stderr]