{"action":"created","issue":{"url":"https://api.github.com/repos/cucumber/cucumber-js/issues/260","labels_url":"https://api.github.com/repos/cucumber/cucumber-js/issues/260/labels{/name}","comments_url":"https://api.github.com/repos/cucumber/cucumber-js/issues/260/comments","events_url":"https://api.github.com/repos/cucumber/cucumber-js/issues/260/events","html_url":"https://github.com/cucumber/cucumber-js/issues/260","id":45621373,"number":260,"title":"console.log(scenario) gives me in two different projects different results","user":{"login":"desmond8519","id":8088549,"avatar_url":"https://avatars.githubusercontent.com/u/8088549?v=3","gravatar_id":"","url":"https://api.github.com/users/desmond8519","html_url":"https://github.com/desmond8519","followers_url":"https://api.github.com/users/desmond8519/followers","following_url":"https://api.github.com/users/desmond8519/following{/other_user}","gists_url":"https://api.github.com/users/desmond8519/gists{/gist_id}","starred_url":"https://api.github.com/users/desmond8519/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/desmond8519/subscriptions","organizations_url":"https://api.github.com/users/desmond8519/orgs","repos_url":"https://api.github.com/users/desmond8519/repos","events_url":"https://api.github.com/users/desmond8519/events{/privacy}","received_events_url":"https://api.github.com/users/desmond8519/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/cucumber/cucumber-js/labels/bug","name":"bug","color":"FFBAB3"},{"url":"https://api.github.com/repos/cucumber/cucumber-js/labels/undecided","name":"undecided","color":"DDDDDD"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2014-10-13T08:56:04Z","updated_at":"2015-09-29T01:04:25Z","closed_at":"2015-09-29T01:04:25Z","body":"Hi I am using cucumber.js 0.4.4 with Appium and with Webdriver.\r\nIn both cases I want to see in the this.After if a scenario is failed.\r\nI am ussing isFailed() but for Webdriver it tells me that there is no method isFailed.\r\nI logged scenario in both cases and indeed I don't get it.\r\n\r\nSee the logs: \r\n\r\nThe on where I am missing it: \r\n\r\n{ payloadType: 'scenario',\r\n  setBackground: [Function: setBackground],\r\n  buildScenarios: [Function: buildScenarios],\r\n  getKeyword: [Function: getKeyword],\r\n  getName: [Function: getName],\r\n  getDescription: [Function: getDescription],\r\n  getUri: [Function: getUri],\r\n  getLine: [Function: getLine],\r\n  getBackground: [Function: getBackground],\r\n  addStep: [Function: addStep],\r\n  getLastStep: [Function: getLastStep],\r\n  getMaxStepLength: [Function],\r\n  setSteps: [Function: setSteps],\r\n  getSteps: [Function: getSteps],\r\n  addTags: [Function: addTags],\r\n  addInheritedtags: [Function: addInheritedtags],\r\n  getTags: [Function: getTags],\r\n  getOwnTags: [Function: getOwnTags],\r\n  acceptVisitor: [Function: acceptVisitor],\r\n  instructVisitorToVisitBackgroundSteps: [Function: instructVisitorToVisitBackgroundSteps],\r\n  instructVisitorToVisitScenarioSteps: [Function: instructVisitorToVisitScenarioSteps],\r\n  instructVisitorToVisitSteps: [Function: instructVisitorToVisitSteps] }\r\n\r\nThe one where it is in:\r\n\r\n{ getKeyword: [Function: getKeyword],\r\n  getName: [Function: getName],\r\n  getDescription: [Function: getDescription],\r\n  getUri: [Function: getUri],\r\n  getLine: [Function: getLine],\r\n  getTags: [Function: getTags],\r\n  isSuccessful: [Function: isSuccessful],\r\n  isFailed: [Function: isFailed],\r\n  isPending: [Function: isPending],\r\n  isUndefined: [Function: isUndefined],\r\n  getAttachments: [Function: getAttachments],\r\n  attach: [Function: attach] }\r\n\r\n\r\nThe code in both situations\r\n\r\nthis.After(function(scenario, done) {\r\nconsole.log(scenario)\r\n}\r\n\r\nPlease help me"},"comment":{"url":"https://api.github.com/repos/cucumber/cucumber-js/issues/comments/143914812","html_url":"https://github.com/cucumber/cucumber-js/issues/260#issuecomment-143914812","issue_url":"https://api.github.com/repos/cucumber/cucumber-js/issues/260","id":143914812,"user":{"login":"charlierudolph","id":1676758,"avatar_url":"https://avatars.githubusercontent.com/u/1676758?v=3","gravatar_id":"","url":"https://api.github.com/users/charlierudolph","html_url":"https://github.com/charlierudolph","followers_url":"https://api.github.com/users/charlierudolph/followers","following_url":"https://api.github.com/users/charlierudolph/following{/other_user}","gists_url":"https://api.github.com/users/charlierudolph/gists{/gist_id}","starred_url":"https://api.github.com/users/charlierudolph/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/charlierudolph/subscriptions","organizations_url":"https://api.github.com/users/charlierudolph/orgs","repos_url":"https://api.github.com/users/charlierudolph/repos","events_url":"https://api.github.com/users/charlierudolph/events{/privacy}","received_events_url":"https://api.github.com/users/charlierudolph/received_events","type":"User","site_admin":false},"created_at":"2015-09-29T01:04:25Z","updated_at":"2015-09-29T01:04:25Z","body":"Looks like in one version you have a Cucumber.Ast.Scenario and in one you have Cucumber.Api.Scenario (introduced in 0.4.2). Thus I believe you were running two different versions of cucumber. Please reopen if this is still an issue. "}}