Skip to content

eliminate calling deprecated method: close() in cli-plugin-e2e-cypress and cli-plugin-e2e-nightwatch #7157

Closed
@blzsaa

Description

@blzsaa

Version

5.0.4

Environment info

System:
    OS: Linux 5.15 Ubuntu 22.04 LTS 22.04 LTS (Jammy Jellyfish)
    CPU: (8) x64 Intel(R) Core(TM) i7-8550U CPU @ 1.80GHz
  Binaries:
    Node: 16.15.0 - /usr/bin/node
    Yarn: 1.22.18 - /usr/local/bin/yarn
    npm: 8.7.0 - /usr/local/bin/npm
  Browsers:
    Chrome: Not Found
    Firefox: 100.0.2
  npmPackages:
    @vue/babel-helper-vue-jsx-merge-props:  1.2.1 
    @vue/babel-helper-vue-transform-on:  1.0.2 
    @vue/babel-plugin-jsx:  1.1.1 
    @vue/babel-plugin-transform-vue-jsx:  1.2.1 
    @vue/babel-preset-app:  5.0.4 
    @vue/babel-preset-jsx:  1.2.4 
    @vue/babel-sugar-composition-api-inject-h:  1.2.1 
    @vue/babel-sugar-composition-api-render-instance:  1.2.4 
    @vue/babel-sugar-functional-vue:  1.2.2 
    @vue/babel-sugar-inject-h:  1.2.2 
    @vue/babel-sugar-v-model:  1.2.3 
    @vue/babel-sugar-v-on:  1.2.3 
    @vue/cli-overlay:  5.0.4 
    @vue/cli-plugin-babel: ~5.0.4 => 5.0.4 
    @vue/cli-plugin-e2e-cypress: ~5.0.4 => 5.0.4 
    @vue/cli-plugin-eslint: ~5.0.4 => 5.0.4 
    @vue/cli-plugin-router: ~5.0.4 => 5.0.4 
    @vue/cli-plugin-typescript: ~5.0.4 => 5.0.4 
    @vue/cli-plugin-unit-mocha: ~5.0.4 => 5.0.4 
    @vue/cli-plugin-vuex:  5.0.4 
    @vue/cli-service: ~5.0.4 => 5.0.4 
    @vue/cli-shared-utils:  5.0.4 
    @vue/compiler-core:  3.2.33 
    @vue/compiler-dom:  3.2.33 
    @vue/compiler-sfc: ^3.2.33 => 3.2.33 
    @vue/compiler-ssr:  3.2.33 
    @vue/component-compiler-utils:  3.3.0 
    @vue/devtools-api:  6.1.4 
    @vue/eslint-config-prettier: ^7.0.0 => 7.0.0 
    @vue/eslint-config-typescript: ^10.0.0 => 10.0.0 
    @vue/reactivity:  3.2.33 
    @vue/reactivity-transform:  3.2.33 
    @vue/runtime-core:  3.2.33 
    @vue/runtime-dom:  3.2.33 
    @vue/server-renderer:  3.2.33 
    @vue/shared:  3.2.33 
    @vue/test-utils: ^2.0.0-0 => 2.0.0-rc.21 
    @vue/web-component-wrapper:  1.3.0 
    eslint-plugin-vue: ^8.0.3 => 8.7.1 
    primevue: ^3.12.6 => 3.12.6 
    typescript: ~4.6.4 => 4.6.4 
    vue: ^3.2.33 => 3.2.33 
    vue-demi:  undefined (0.12.5)
    vue-eslint-parser:  8.3.0 
    vue-hot-reload-api:  2.3.4 
    vue-loader:  17.0.0 (15.9.8)
    vue-router: ^4.0.15 => 4.0.15 
    vue-style-loader:  4.1.3 
    vue-template-es2015-compiler:  1.9.1 
  npmGlobalPackages:
    @vue/cli: 5.0.4

Steps to reproduce

  • vue create asd
  • Manually select features
  • E2E Testing
  • later on E2E choose cypress or nightwatch
  • npm run test:e2e

What is expected?

no deprecation warning message to appear

What is actually happening?

the following deprecation warning appears:

(node:57724) [DEP_WEBPACK_DEV_SERVER_CLOSE] DeprecationWarning: 'close' is deprecated. Please use the async 'stop' or 'stopCallback' method.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions