Skip to content

bug(cli-ui): yarn run test:e2e does not run yarn run test:e2e:dev #2308

Closed
@Kocal

Description

@Kocal

Version

3.0.1

Reproduction link

https://github.com/vuejs/vue-cli

Node and OS info

Node 9.11.2 / Yarn 1.7.0 / Debian 9.4 (stretch)

Steps to reproduce

  • git clone https://github.com/vuejs/vue-cli.git
  • cd vue-cli
  • yarn
  • cd packages/cli-ui
  • yarn run test:e2e

What is expected?

When url http://localhost:4040/graphql is responding, it should automatically run yarn run test:e2e:dev.

What is actually happening?

It just run an apollo server (script apollo:run:test), url is responding, but it does not do anything after.

➜  cli-ui git:(chore/docs-cli-ui) yarn run test:e2e                  
yarn run v1.7.0
$ yarn run test:clear && start-server-and-test apollo:run:test http://localhost:4040 test:e2e:dev
$ rimraf ../../test/cli-ui-test && rimraf ./live-test
starting server using command "npm run apollo:run:test"
and when url "http://localhost:4040" is responding
running tests using command "test:e2e:dev"

> @vue/cli-ui@3.0.1 apollo:run:test /home/kocal/Dev/vue-cli/packages/@vue/cli-ui
> cross-env VUE_CLI_UI_TEST=true VUE_APP_GRAPHQL_PORT=4040 VUE_APP_CLI_UI_URL=ws://localhost:4040/graphql VUE_CLI_IPC=vue-cli-test vue-cli-service apollo:watch

$ cross-env VUE_CLI_DEBUG=true VUE_CLI_IPC=vue-cli-dev vue-cli-service apollo:run --delay
✔️  GraphQL Server is running on http://localhost:4040/graphql

Initial discussion: #2281 (comment)

Metadata

Metadata

Assignees

No one assigned

    Labels

    cannot reproduceWe cannot reproduce the problem with the given information. More env information needed.scope: ui

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions