29 lines
891 B
TypeScript
29 lines
891 B
TypeScript
import process from "process";
|
|
import {config as sharedConfig} from "./wdio.appium.config.js";
|
|
|
|
|
|
export const config = {
|
|
...sharedConfig,
|
|
...{
|
|
capabilities: [
|
|
{
|
|
// The defaults you need to have in your config
|
|
platformName: "iOS",
|
|
maxInstances: 1,
|
|
// For W3C the appium capabilities need to have an extension prefix
|
|
// This is `appium:` for all Appium Capabilities which can be found here
|
|
// http://appium.io/docs/en/writing-running-appium/caps/
|
|
"appium:deviceName": "iPhone 15 Pro",
|
|
"appium:platformVersion": "17.5",
|
|
"appium:orientation": "PORTRAIT",
|
|
"appium:automationName": "XCUITest",
|
|
"appium:autoWebview": true,
|
|
"appium:noReset": false,
|
|
// The path to the app
|
|
"appium:app": process.env.APP_PATH,
|
|
"appium:newCommandTimeout": 240,
|
|
},
|
|
],
|
|
},
|
|
};
|