Skip to content

Commit 29c0c47

Browse files
update conf
1 parent 9bd4bbb commit 29c0c47

File tree

1 file changed

+8
-5
lines changed

1 file changed

+8
-5
lines changed

e2e/wdio.conf.js

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@ import { waitTauriDriverReady } from "@crabnebula/tauri-driver";
55
import { fileURLToPath } from "url";
66

77
const __dirname = fileURLToPath(new URL(".", import.meta.url));
8-
const isMac = process.platform === 'darwin';
98

109
let tauriDriver;
1110
let exit = false;
@@ -18,14 +17,18 @@ export const config = {
1817
maxInstances: 1,
1918
capabilities: [
2019
{
21-
browserName: 'tauri',
22-
platformName: isMac ? 'macOS' : 'Windows',
2320
maxInstances: 1,
2421
"tauri:options": {
2522
application:
2623
process.platform === "darwin"
27-
? path.resolve(__dirname, "../src-tauri/target/debug/bundle/macos/WebDriver Example.app")
28-
: path.resolve(__dirname, "../src-tauri/target/debug/webdriver-example"),
24+
? path.resolve(
25+
__dirname,
26+
"../src-tauri/target/debug/bundle/macos/WebDriver Example.app"
27+
)
28+
: path.resolve(
29+
__dirname,
30+
"../src-tauri/target/debug/webdriver-example"
31+
),
2932
},
3033
},
3134
],

0 commit comments

Comments
 (0)