diff --git a/wdio.conf.ts b/wdio.conf.ts index c026797..8ead0c2 100644 --- a/wdio.conf.ts +++ b/wdio.conf.ts @@ -139,7 +139,19 @@ export const config: WebdriverIO.Config = { // Services take over a specific job you don't want to take care of. They enhance // your test setup with almost no effort. Unlike plugins, they don't add new // commands. Instead, they hook themselves up into the test process. - services: ['appium'], + services: [ + [ + 'appium', + { + // Keep Appium deterministic in CI and persist logs for artifacts. + args: { + address: '127.0.0.1', + port: 4723, + }, + logPath: path.join(__dirname, 'artifacts', 'appium'), + }, + ], + ], // Framework you want to run your specs with. // The following are supported: Mocha, Jasmine, and Cucumber