Skip to content

Commit

Permalink
test: change app bin path per platform
Browse files Browse the repository at this point in the history
  • Loading branch information
reiniiriarios committed Apr 25, 2024
1 parent 4bd3de2 commit 3af9b51
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions wdio.conf.ts
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,12 @@ export const config: Options.Testrunner = {
// Electron service options
// see https://webdriver.io/docs/desktop-testing/electron/configuration/#service-options
"wdio:electronServiceOptions": {
appBinaryPath: path.join(
path.resolve("."),
"build",
process.platform === "win32" ? "win-unpacked" : `${process.platform}-unpacked`,
process.platform === "linux" ? "wordwyrm" : process.platform === "win32" ? "Wordwyrm.exe" : "Wordwyrm",
),
// custom application args
appArgs: [],
},
Expand Down

0 comments on commit 3af9b51

Please sign in to comment.