webdriverio / webdriverio-schematics

Add WebdriverIO to an Angular CLI project
https://webdriver.io
MIT License
18 stars 8 forks source link

Current build is failing #117

Open christian-bromann opened 2 years ago

christian-bromann commented 2 years ago

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.

seanpoulter commented 6 months ago

The build is still failing. It looks like there are now warnings from using Node v14 and TypeScript.

christian-bromann commented 6 months ago

This package could use a general overhaul. I haven't been able to maintaining it after the initial release.