{"action":"created","issue":{"url":"https://api.github.com/repos/maxgalbu/nightwatch-custom-commands-assertions/issues/12","labels_url":"https://api.github.com/repos/maxgalbu/nightwatch-custom-commands-assertions/issues/12/labels{/name}","comments_url":"https://api.github.com/repos/maxgalbu/nightwatch-custom-commands-assertions/issues/12/comments","events_url":"https://api.github.com/repos/maxgalbu/nightwatch-custom-commands-assertions/issues/12/events","html_url":"https://github.com/maxgalbu/nightwatch-custom-commands-assertions/issues/12","id":108666067,"number":12,"title":"Issues with assertions and pageObjects.","user":{"login":"drptbl","id":8177587,"avatar_url":"https://avatars.githubusercontent.com/u/8177587?v=3","gravatar_id":"","url":"https://api.github.com/users/drptbl","html_url":"https://github.com/drptbl","followers_url":"https://api.github.com/users/drptbl/followers","following_url":"https://api.github.com/users/drptbl/following{/other_user}","gists_url":"https://api.github.com/users/drptbl/gists{/gist_id}","starred_url":"https://api.github.com/users/drptbl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/drptbl/subscriptions","organizations_url":"https://api.github.com/users/drptbl/orgs","repos_url":"https://api.github.com/users/drptbl/repos","events_url":"https://api.github.com/users/drptbl/events{/privacy}","received_events_url":"https://api.github.com/users/drptbl/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-09-28T14:13:36Z","updated_at":"2015-10-18T17:42:24Z","closed_at":"2015-10-18T17:42:24Z","body":"Hello, today I've wanted to use pageObjects with `.assert.elHasChildren` command. It works without pageobjects, but when I try to combine it with pageObjects (I do this good way), I'm getting this error in console:\r\n```\r\nRunning:  Solutions page tests should check that articles list contains childs (articles)\r\nError while running execute command: Converting circular structure to JSON\r\n    at command (/x/assertions/elHasChildren.js:73:21)\r\n    at module.exports.BaseAssertion._scheduleAssertion (/usr/local/lib/node_modules/nightwatch/lib/core/assertion.js:86:17)\r\n    at module.exports.BaseAssertion._executeCommand (/usr/local/lib/node_modules/nightwatch/lib/core/assertion.js:81:17)\r\n    at AssertionInstance.commandFn [as _commandFn] (/usr/local/lib/node_modules/nightwatch/lib/core/assertion.js:163:21)\r\n    at AsyncTree.runCommand (/usr/local/lib/node_modules/nightwatch/lib/core/queue.js:157:30)\r\n    at AsyncTree.runChildNode (/usr/local/lib/node_modules/nightwatch/lib/core/queue.js:117:8)\r\n    at AsyncTree.walkDown (/usr/local/lib/node_modules/nightwatch/lib/core/queue.js:83:10)\r\n    at AsyncTree.walkUp (/usr/local/lib/node_modules/nightwatch/lib/core/queue.js:100:8)\r\n    at AsyncTree.walkDown (/usr/local/lib/node_modules/nightwatch/lib/core/queue.js:93:12)\r\n    at AsyncTree.traverse (/usr/local/lib/node_modules/nightwatch/lib/core/queue.js:71:10)\r\n```\r\nAny ideas? Would love to hear!"},"comment":{"url":"https://api.github.com/repos/maxgalbu/nightwatch-custom-commands-assertions/issues/comments/149033958","html_url":"https://github.com/maxgalbu/nightwatch-custom-commands-assertions/issues/12#issuecomment-149033958","issue_url":"https://api.github.com/repos/maxgalbu/nightwatch-custom-commands-assertions/issues/12","id":149033958,"user":{"login":"maxgalbu","id":1782571,"avatar_url":"https://avatars.githubusercontent.com/u/1782571?v=3","gravatar_id":"","url":"https://api.github.com/users/maxgalbu","html_url":"https://github.com/maxgalbu","followers_url":"https://api.github.com/users/maxgalbu/followers","following_url":"https://api.github.com/users/maxgalbu/following{/other_user}","gists_url":"https://api.github.com/users/maxgalbu/gists{/gist_id}","starred_url":"https://api.github.com/users/maxgalbu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/maxgalbu/subscriptions","organizations_url":"https://api.github.com/users/maxgalbu/orgs","repos_url":"https://api.github.com/users/maxgalbu/repos","events_url":"https://api.github.com/users/maxgalbu/events{/privacy}","received_events_url":"https://api.github.com/users/maxgalbu/received_events","type":"User","site_admin":false},"created_at":"2015-10-18T17:42:24Z","updated_at":"2015-10-18T17:42:24Z","body":"This is the same issue as this: https://github.com/maxgalbu/nightwatch-custom-commands-assertions/issues/11 (problems with sections)"}}