{"action":"created","issue":{"url":"https://api.github.com/repos/TheBrainFamily/chimpy/issues/64","repository_url":"https://api.github.com/repos/TheBrainFamily/chimpy","labels_url":"https://api.github.com/repos/TheBrainFamily/chimpy/issues/64/labels{/name}","comments_url":"https://api.github.com/repos/TheBrainFamily/chimpy/issues/64/comments","events_url":"https://api.github.com/repos/TheBrainFamily/chimpy/issues/64/events","html_url":"https://github.com/TheBrainFamily/chimpy/issues/64","id":343286557,"node_id":"MDU6SXNzdWUzNDMyODY1NTc=","number":64,"title":"No error feedback when using Cucumber and webdriverio","user":{"login":"samhatoum","id":2021955,"node_id":"MDQ6VXNlcjIwMjE5NTU=","avatar_url":"https://avatars2.githubusercontent.com/u/2021955?v=4","gravatar_id":"","url":"https://api.github.com/users/samhatoum","html_url":"https://github.com/samhatoum","followers_url":"https://api.github.com/users/samhatoum/followers","following_url":"https://api.github.com/users/samhatoum/following{/other_user}","gists_url":"https://api.github.com/users/samhatoum/gists{/gist_id}","starred_url":"https://api.github.com/users/samhatoum/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/samhatoum/subscriptions","organizations_url":"https://api.github.com/users/samhatoum/orgs","repos_url":"https://api.github.com/users/samhatoum/repos","events_url":"https://api.github.com/users/samhatoum/events{/privacy}","received_events_url":"https://api.github.com/users/samhatoum/received_events","type":"User","site_admin":false},"labels":[{"id":1000262380,"node_id":"MDU6TGFiZWwxMDAwMjYyMzgw","url":"https://api.github.com/repos/TheBrainFamily/chimpy/labels/imported","name":"imported","color":"ededed","default":false}],"state":"open","locked":false,"assignee":{"login":"lucetius","id":3426608,"node_id":"MDQ6VXNlcjM0MjY2MDg=","avatar_url":"https://avatars2.githubusercontent.com/u/3426608?v=4","gravatar_id":"","url":"https://api.github.com/users/lucetius","html_url":"https://github.com/lucetius","followers_url":"https://api.github.com/users/lucetius/followers","following_url":"https://api.github.com/users/lucetius/following{/other_user}","gists_url":"https://api.github.com/users/lucetius/gists{/gist_id}","starred_url":"https://api.github.com/users/lucetius/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lucetius/subscriptions","organizations_url":"https://api.github.com/users/lucetius/orgs","repos_url":"https://api.github.com/users/lucetius/repos","events_url":"https://api.github.com/users/lucetius/events{/privacy}","received_events_url":"https://api.github.com/users/lucetius/received_events","type":"User","site_admin":false},"assignees":[{"login":"lucetius","id":3426608,"node_id":"MDQ6VXNlcjM0MjY2MDg=","avatar_url":"https://avatars2.githubusercontent.com/u/3426608?v=4","gravatar_id":"","url":"https://api.github.com/users/lucetius","html_url":"https://github.com/lucetius","followers_url":"https://api.github.com/users/lucetius/followers","following_url":"https://api.github.com/users/lucetius/following{/other_user}","gists_url":"https://api.github.com/users/lucetius/gists{/gist_id}","starred_url":"https://api.github.com/users/lucetius/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lucetius/subscriptions","organizations_url":"https://api.github.com/users/lucetius/orgs","repos_url":"https://api.github.com/users/lucetius/repos","events_url":"https://api.github.com/users/lucetius/events{/privacy}","received_events_url":"https://api.github.com/users/lucetius/received_events","type":"User","site_admin":false}],"milestone":null,"comments":1,"created_at":"2018-07-21T01:39:50Z","updated_at":"2018-07-21T01:39:59Z","closed_at":null,"author_association":"COLLABORATOR","body":"<a href=\"https://github.com/maxmckenzie\"><img src=\"https://avatars0.githubusercontent.com/u/796499?v=4\" align=\"left\" width=\"96\" height=\"96\" hspace=\"10\"></img></a> **Issue by [maxmckenzie](https://github.com/maxmckenzie)**\n_Saturday Dec 31, 2016 at 15:24 GMT_\n_Originally opened as https://github.com/xolvio/chimp/issues/546_\n\n----\n\nChimp seems to abstract away the feedback from the testing framworks. \r\n\r\n```\r\n  @watch\r\n  Scenario: As a user I want to add an event to the diary\r\n\tSigning out...\r\n  - Given I open the url \"/diary\"\r\n\r\nFailures:\r\n\r\n1) Scenario: As a user I want to add an event to the diary - features/diary.feature:6\r\n   Step: Before\r\n   Step Definition: features/steps/global.js:10\r\n   Message:\r\n     TypeError: Cannot read property 'trim' of undefined\r\n         at World.<anonymous> (features/steps/global.js:14:8)\r\n```\r\n\r\nI've used webdriver and cucumber before on their own and this would have returned something along the lines of `could not find selector '.logout_link'` The same goes for the ruby capybara port.\r\n\r\nSurely we should pass these errors forward. It makes it a nightmare to work with.\r\n\r\nor am I missing something here\r\n\r\nhere is the args I pass in.\r\n\r\n\"test\": \"chimp --chai --compiler=js:babel-register --jsonOutput=cucumber_output.json\",\r\n\r\n#####  Expected behaviour\r\nWhen I add a `browser.click('selector')` to my test steps\r\nAnd I run the test on a page where this selector does not exist\r\nThen I expect to be told in the command line that the element does not exist\r\n\r\n#####  Actual behaviour\r\nWhen I add a `browser.click('selector')` to my test steps\r\nAnd I run the test on a page where this selector does not exist\r\nThen i get the error ` TypeError: Cannot read property 'trim' of undefined` returned\r\n\r\n##### Some example code for context of dependencies and run scripts\r\nhttps://gist.github.com/maxmckenzie/475383187e989394c9d9e66a5c3a6128\r\n\r\n#####  Version & tools:\r\n\r\n* Chimp command line used: *The exact command you used*\r\nchimp --chai --compiler=js:babel-register --jsonOutput=cucumber_output.json\r\n\r\n* Chimp config file: *Please provide a Gist if you use a config file*\r\n\r\n* Chimp: *type `chimp -v`*\r\n0.45.1\r\n\r\n* Node.js: *type `node -v`*\r\nv7.2.1\r\n\r\n* Java: *type `java -version`*\r\njava version \"1.8.0_111\"\r\nJava(TM) SE Runtime Environment (build 1.8.0_111-b14)\r\nJava HotSpot(TM) 64-Bit Server VM (build 25.111-b14, mixed mode)\r\n\r\n* Operation system: *type `uname -v`*\r\nDarwin Kernel Version 16.3.0: Thu Nov 17 20:23:58 PST 2016; root:xnu-3789.31.2~1/RELEASE_X86_64\r\n\r\n#####  Console / Log Output\r\n\r\n<!-- please leave the content below this line as it helps others find help -->\r\n------- \r\n*Join our Slack [xolv.io/community](http://xolv.io/community) #chimp channel, where you can find help and help others.*\n"},"comment":{"url":"https://api.github.com/repos/TheBrainFamily/chimpy/issues/comments/406761788","html_url":"https://github.com/TheBrainFamily/chimpy/issues/64#issuecomment-406761788","issue_url":"https://api.github.com/repos/TheBrainFamily/chimpy/issues/64","id":406761788,"node_id":"MDEyOklzc3VlQ29tbWVudDQwNjc2MTc4OA==","user":{"login":"samhatoum","id":2021955,"node_id":"MDQ6VXNlcjIwMjE5NTU=","avatar_url":"https://avatars2.githubusercontent.com/u/2021955?v=4","gravatar_id":"","url":"https://api.github.com/users/samhatoum","html_url":"https://github.com/samhatoum","followers_url":"https://api.github.com/users/samhatoum/followers","following_url":"https://api.github.com/users/samhatoum/following{/other_user}","gists_url":"https://api.github.com/users/samhatoum/gists{/gist_id}","starred_url":"https://api.github.com/users/samhatoum/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/samhatoum/subscriptions","organizations_url":"https://api.github.com/users/samhatoum/orgs","repos_url":"https://api.github.com/users/samhatoum/repos","events_url":"https://api.github.com/users/samhatoum/events{/privacy}","received_events_url":"https://api.github.com/users/samhatoum/received_events","type":"User","site_admin":false},"created_at":"2018-07-21T01:39:59Z","updated_at":"2018-07-21T01:39:59Z","author_association":"COLLABORATOR","body":"<a href=\"https://github.com/samhatoum\"><img src=\"https://avatars2.githubusercontent.com/u/2021955?v=4\" align=\"left\" width=\"48\" height=\"48\" hspace=\"10\"></img></a> **Comment by [samhatoum](https://github.com/samhatoum)**\n_Thursday Jan 05, 2017 at 14:50 GMT_\n\n----\n\nThe issue above was solved. It was due to confusion with using async commands.\r\n\r\nWhat's your specific case @markelog ?\n"}}
{"actor":{"display_login":"samhatoum"}}