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

The test case fails to pass the test in the local environment. #1899

Closed
Alanscut opened this issue Dec 15, 2020 · 3 comments · Fixed by #1908
Closed

The test case fails to pass the test in the local environment. #1899

Alanscut opened this issue Dec 15, 2020 · 3 comments · Fixed by #1908
Labels
need repro Reproduction code is required

Comments

@Alanscut
Copy link
Contributor

Version

4.0.0-rc.2

Reproduction link

https://github.com/vuejs/vuex/tree/v4.0.0-rc.2

Steps to reproduce

  1. npm install
  2. npm run test:e2e or yarn test:e2e

What is expected?

All test cases pass in local environment.

What is actually happening?

test case todomvc failed


ENV:
Ubuntu 18.04.5 LTS

node: v12.20.0

npm: v6.14.8

yarn: 1.22.10

it's show failed by this:

FAIL test/e2e/todomvc.spec.js
          e2e/todomvc > todomvc app
          expect(received).toBe(expected) //  Object.is equality

          Expect: "edited!"
          Received: "test"

               123 |            await click('footer') //  blur
               124 |            expect(await count(' .todo.editing')).toBe(0)
               125 |            expect(await text('.todo:nth-child(1) label')).toBe('edited')
@kiaking
Copy link
Member

kiaking commented Jan 4, 2021

Can't reproduce in my environment. Could you test using yarn instead of npm and see how it goes?

@kiaking kiaking added the need repro Reproduction code is required label Jan 4, 2021
@Alanscut
Copy link
Contributor Author

Alanscut commented Jan 5, 2021

@kiaking ubuntu is not always failed, please reproduce it in Windows, whether using npm or yarn, the test result is same:
image

@kiaking
Copy link
Member

kiaking commented Jan 5, 2021

Hah, OK. Hmmm... might be puppeteer limitation...? Could you test updating puppeteer to the latest version and see if anything changes? I don't have windows env so not so easy for me to debug this 😢

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
need repro Reproduction code is required
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants