Closed g-kozinets closed 1 year ago
Hi, thank you for fixing previous issues, but now I've got a new one) When I use my config file, I get this error:
failed load WDIO configuration:Expecting string at name but instead got: undefined
Config file:
exports.config = { hostname: '0.0.0.0', path: '/wd/hub', port: 4723, specs: [ './test/specs/**/*.js' ], maxInstances: 1, capabilities: [{ "platformName": "Android", "appium:platformVersion": "13", "appium:deviceName": "Pixel_3a_API_33_x86_64", "appium:automationName": "UIAutomator2", "appium:app": "C:/Users/User/Downloads/Android-NativeDemoApp-0.4.0.apk", "appium:appWaitActivity": "com.wdiodemoapp.MainActivity", 'appium:newCommandTimeout': 240 }], logLevel: 'debug', waitforTimeout: 45000, connectionRetryTimeout: 120000, connectionRetryCount: 3, framework: 'mocha', reporters: ['spec'], mochaOpts: { ui: 'bdd', timeout: 60000 } }
Almost surely was not the config file, but your package.json lacking mandatory field name. Anyway latest version should work now
@g-kozinets is it working now?
Hi, thank you for fixing previous issues, but now I've got a new one) When I use my config file, I get this error:
Config file: