cypress-graphql-mock-network icon indicating copy to clipboard operation
cypress-graphql-mock-network copied to clipboard

Failed to run example in the Chrome

Open vaclav-stummer-ooo opened this issue 3 years ago • 4 comments

Firstly, thank you for the amazing library 🙏

I am trying to test your example, but it runs only in electron and not in Chrome (93).

Screenshot 2021-09-16 at 15 54 07 Screenshot 2021-09-16 at 15 54 17

Do you have ideat what could be wrong with it?

vaclav-stummer-ooo avatar Sep 16 '21 13:09 vaclav-stummer-ooo

Hey @vaclav-stummer-ooo are you also running the demo app? This runs on local host and is needed for cypress to run the tests against.

It's in ./demo and needs to be running in the background with yarn start.

warrenday avatar Sep 17 '21 23:09 warrenday

Yea I am running the local host of the demo and then the tests against it. Your documentation is fine. The problem might be somewhere else since the electron is running fine and all tests pass in it.

vaclav-stummer-ooo avatar Sep 20 '21 09:09 vaclav-stummer-ooo

@vaclav-stummer-ooo did you identify a cause for this? Unable to recreate issue on my end.

warrenday avatar Sep 30 '21 16:09 warrenday

It seems to be some cypress related issue. I am unable to run tests in UI in Google Chrome only in the Electron. Didn't find much about the problem yet.

vaclav-stummer-ooo avatar Sep 30 '21 19:09 vaclav-stummer-ooo