Skip to content

Commit

Permalink
fix: hardcode /usr/local/bin/tauri-driver path
Browse files Browse the repository at this point in the history
  • Loading branch information
ndom91 committed Sep 11, 2024
1 parent 25b130f commit b822d04
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/desktop/wdio.conf.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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]
Expand Down

0 comments on commit b822d04

Please sign in to comment.