Skip to content

Current build is failing #117

@christian-bromann

Description

@christian-bromann

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    help wantedExtra attention is needed

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions