Jest-puppeteer: create-react-app example fails (timeout)

Created on 11 Feb 2019  ·  1Comment  ·  Source: smooth-code/jest-puppeteer

💬 Questions and Help

I cloned examples/create-react-app folder from this repository to test this integration. Run npm i to install dependencies and then npm run test:integration. It appears all tests but the first one work. I arrived at this conclusion by progressively disabling the first test from the sample file and the result was always the same.


  ● app › should match a input with a "textInput" name then fill it with 
text

    Timeout - Async callback was not invoked within the 5000ms timeout specified by jest.setTimeout.

      at mapper (../node_modules/jest-jasmine2/build/queue_runner.js:41:52)

  ● app › should match a input with a "textInput" name then fill it with text

    Error

      Error: Execution context was destroyed, most likely because of a navigation.

The failing test context obviously changes, but the error message is always the same down to the offending line. Can anyone point out what I am missing here? Thanks!

question ❓

>All comments

please try to use yarn to install package

Was this page helpful?
0 / 5 - 0 ratings

Related issues

paperbackdragon picture paperbackdragon  ·  4Comments

joshpitzalis picture joshpitzalis  ·  3Comments

Pyrolistical picture Pyrolistical  ·  6Comments

songguohfut picture songguohfut  ·  6Comments

dptoot picture dptoot  ·  4Comments