Search code examples
debuggingtestingautomated-testse2e-testingtestcafe

Where can i find info generated by --dev flag? or is there a way to make it more verbose?


Having an issue with testcafe/e2e tests - works fine in one containerized env, but fails in the other. Trying to debug/dig into what's wrong, but I only get a message of ERROR Unable to establish one or more of the specified browser connections. This can be caused by network issues or remote device failure.

I am trying to use the --dev flag mentioned in the docs, but I don't get any more info - my question is: if there's somewhere extra logs are being written to I'm not aware of? Or is there any other way to make it more verbose so I can see what's happening?


Solution

  • If you search TestCafe sources for developmentMode you can see that this option enables non-minified js files, so you can step through debugger in your browser.

    Since your problem is connecting to the browser, I guess this option won't help you.