webdriverio-schematics
webdriverio-schematics copied to clipboard
Current build is failing
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.
The build is still failing. It looks like there are now warnings from using Node v14 and TypeScript.
This package could use a general overhaul. I haven't been able to maintaining it after the initial release.