Debug mode is interfering with Testcafe browsertests

Hi!

I have an application where we run browser tests using Testcafe. When a test fails, it takes a screenshot. However, the resulting screenshot if often half obscured by Piwik “Debug Mode”, as seen in a real example below:

We don’t really use this feature, and it’s either causing my browser tests to fail, or at least makes it hard to see why they failed in the screenshot. Can I disable this tool somehow?

It opens after adding ?stg_debug param to the URL or after setting the stg_debug cookie to 1. Try to troubleshoot why this happens while running the tests.

Thanks @kuba I’ll see if I can find why it opens, but is there a way to disable it?

There’s no recommended way to disable the debug mode entirely. The best solution is to not trigger it at all.