nightwatchjs / nightwatch

Integrated end-to-end testing framework written in Node.js and using W3C Webdriver API. Developed at @browserstack
https://nightwatchjs.org
MIT License
11.79k stars 1.31k forks source link

Fix command args showing as '[object Object]' in reporter. #4195

Closed garg3133 closed 5 months ago

garg3133 commented 5 months ago

Right now, if the command arg is of type object, it gets stringified as '[object Object]' in the reporter.

image

This PR fixes this by stringifying the args correctly using JSON.stringify.

github-actions[bot] commented 5 months ago

Status

AutomatedTester commented 5 months ago

Looks like we need to update some tests