It seems that the current build is failing due to the fact that if you run the config wizard with the --yes flag the returned object for answers is:
{
backend: 'On my local machine',
framework: '@wdio/mocha-framework$--$mocha',
isUsingCompiler: 'TypeScript (https://www.typescriptlang.org/)',
specs: './test/specs/**/*.ts',
generateTestFiles: true,
usePageObjects: true,
pages: './test/pageobjects/**/*.ts',
reporters: [ '@wdio/spec-reporter$--$spec' ],
plugins: 'wdio-wait-for$--$wait-for', // <----- This should be an array
services: [ 'wdio-chromedriver-service$--$chromedriver' ],
baseUrl: 'http://localhost',
npmInstall: true
}
The plugins property should be an array here. This seems to be a bug in WebdriverIO. I will still file it here as a memory to get back to it once it is fixed there.
It seems that the current build is failing due to the fact that if you run the config wizard with the
--yesflag the returned object for answers is:The plugins property should be an array here. This seems to be a bug in WebdriverIO. I will still file it here as a memory to get back to it once it is fixed there.