Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

npm test fails on Windows #11782

Closed
ygj6 opened this issue Nov 20, 2020 · 1 comment · Fixed by #11784
Closed

npm test fails on Windows #11782

ygj6 opened this issue Nov 20, 2020 · 1 comment · Fixed by #11784

Comments

@ygj6
Copy link
Member

ygj6 commented Nov 20, 2020

Version

2.6.11

Reproduction link

https://github.com/vuejs/vue/blob/dev/package.json

Steps to reproduce

After cloning the vue repo, run the following command

yarn
npm test

What is expected?

All the test cases passed

What is actually happening?

Failed at the [email protected] test:e2e script.

Running:  commits
 × Timed out while waiting for element <li> to be present for 5000 milliseconds.  - expected "visible" but got: "not found"
    at Object.commits (D:\git\vue\test\e2e\specs\commits.js:5:8)
    at processTicksAndRejections (internal/process/task_queues.js:79:11)

FAILED:  1 assertions failed (8.121s)

My OS version is windows 10 and node version is v12.16.1

ygj6 added a commit to ygj6/vue that referenced this issue Nov 21, 2020
@ygj6
Copy link
Member Author

ygj6 commented Nov 21, 2020

Hi @posva, it seems that the http-server didn't response correctly. After I upgrade the http-server to the latest version, the problem solved.

@posva posva closed this as completed Nov 21, 2020
@posva posva reopened this Nov 21, 2020
posva pushed a commit that referenced this issue Nov 21, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants