Skip to content

cli-plugin-e2e-nightwatch: globals path not found #5171

Closed
@seanogdev

Description

@seanogdev

Version

4.2.2

Reproduction link

N/A

Environment info

  System:
    OS: macOS 10.15.3
    CPU: (8) x64 Intel(R) Core(TM) i7-6920HQ CPU @ 2.90GHz
  Binaries:
    Node: 13.8.0 - /usr/local/bin/node
    Yarn: Not Found
    npm: 6.13.7 - /usr/local/bin/npm
  Browsers:
    Chrome: 80.0.3987.87
    Firefox: 72.0.2
    Safari: 13.0.5
  npmPackages:
    @vue/babel-helper-vue-jsx-merge-props:  1.0.0
    @vue/babel-plugin-transform-vue-jsx:  1.1.2
    @vue/babel-preset-app:  4.2.2
    @vue/babel-preset-jsx:  1.1.2
    @vue/babel-sugar-functional-vue:  1.1.2
    @vue/babel-sugar-inject-h:  1.1.2
    @vue/babel-sugar-v-model:  1.1.2
    @vue/babel-sugar-v-on:  1.1.2
    @vue/cli-overlay:  4.2.2
    @vue/cli-plugin-babel: ~4.2.0 => 4.2.2
    @vue/cli-plugin-e2e-nightwatch: ^4.2.2 => 4.2.2
    @vue/cli-plugin-eslint: ~4.2.0 => 4.2.2
    @vue/cli-plugin-router: ~4.2.0 => 4.2.2
    @vue/cli-plugin-unit-mocha: ~4.2.0 => 4.2.2
    @vue/cli-plugin-vuex: ~4.2.0 => 4.2.2
    @vue/cli-service: ~4.2.0 => 4.2.2
    @vue/cli-shared-utils:  4.2.2
    @vue/component-compiler-utils:  3.1.1
    @vue/eslint-config-airbnb: ^5.0.2 => 5.0.2
    @vue/preload-webpack-plugin:  1.1.1
    @vue/test-utils: 1.0.0-beta.31 => 1.0.0-beta.31
    @vue/web-component-wrapper:  1.2.0
    babel-helper-vue-jsx-merge-props:  2.0.3
    eslint-plugin-vue: ^6.1.2 => 6.1.2
    highcharts-vue: ^1.3.5 => 1.3.5
    svg-to-vue:  0.6.0
    vue: ^2.6.11 => 2.6.11
    vue-cli-plugin-unit-karma: ~0.5.0 => 0.5.0
    vue-click-outside: ^1.0.7 => 1.0.7
    vue-eslint-parser:  7.0.0
    vue-hot-reload-api:  2.3.4
    vue-line-clamp: ^1.3.2 => 1.3.2
    vue-loader:  15.8.3
    vue-meta: ^2.3.2 => 2.3.2
    vue-multiselect: ^2.1.6 => 2.1.6
    vue-observable: ^0.1.4 => 0.1.4
    vue-resize:  0.4.5
    vue-router: ^3.1.5 => 3.1.5
    vue-style-loader:  4.1.2
    vue-svg-loader: ^0.15.0 => 0.15.0
    vue-template-compiler: ^2.6.11 => 2.6.11
    vue-template-es2015-compiler:  1.9.1
    vue2-hammer: ^2.1.2 => 2.1.2
    vuedraggable: ^2.23.2 => 2.23.2
    vuelidate: ^0.7.5 => 0.7.5
    vuex: ^3.1.2 => 3.1.2
    vuex-router-sync: ^5.0.0 => 5.0.0
  npmGlobalPackages:
    @vue/cli: 4.2.2

Steps to reproduce

Running into issues where I have my globals file at tests/e2e/globals.js & it doesnt get picked up by the resolved nightwatch config. Workaround possible by creating a custom nightwatch.conf.js in the root directory of my app, but itd be nice if it worked out of the box.

What is expected?

tests/e2e/globals.js gets picked up

What is actually happening?

It isn't found

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