Skip to content

--config option is not working for plugin cli-plugin-e2e-cypress #2047

Closed
@YuJianrong

Description

@YuJianrong

Version

3.0.0-rc.10

Node and OS info

node 8, npm 6, MacOS

Steps to reproduce

  1. Create an vue app with cypress e2e test supported by VueCLI
  2. Run e2e test with --config option for cypress:
vue-cli-service test:e2e --config video=false,viewportWidth=1280,viewportHeight=720

What is expected?

Cypress run correctly with config option setting

What is actually happening?

All the test cases failed with an error from cypress:

ERROR  Error: Command failed: /Users/xxxxx/node_modules/cypress/bin/cypress run --config baseUrl=http://localhost:8080/ --config video=false,viewportWidth=1280,viewportHeight=720

The error is caused by two config options set in the command for cypress-cli sent from the plugin.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions