diff --git a/test-browser/commands/checkVariableDebug.js b/test-browser/commands/checkVariableDebug.js index 2527360006..d5ad7834e1 100644 --- a/test-browser/commands/checkVariableDebug.js +++ b/test-browser/commands/checkVariableDebug.js @@ -29,7 +29,7 @@ function checkDebug (browser, id, debugValue, done) { } var equal = deepequal(debugValue, value) if (!equal) { - browser.assert.fail('checkDebug on ' + id, 'info about error', '') + browser.assert.fail('checkDebug on ' + id, 'info about error\n ' + JSON.stringify(debugValue) + '\n ' + JSON.stringify(value), '') } done() })