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

how to debug, mocha-chrome not detecting mocha.run #43

Open
acthp opened this issue Aug 28, 2020 · 0 comments
Open

how to debug, mocha-chrome not detecting mocha.run #43

acthp opened this issue Aug 28, 2020 · 0 comments

Comments

@acthp
Copy link

acthp commented Aug 28, 2020

Output:

Mocha-Chrome Failed: mocha was not found in the page within 10000ms of the page loading.
Mocha-Chrome Failed: mocha.run() was not called within 10000ms of the page loading.
  ChromeLauncher Killing Chrome instance 4439 +11s

Thing is, the page works fine when I load it in a browser. I can catch a breakpoint on mocha.run when it is executed, and window.mocha exists (which is what mocha-chrome is looking for). Setting log level to debug doesn't give any more information. How can I debug from here?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant