{"action":"created","issue":{"url":"https://api.github.com/repos/cucumber/cucumber-js/issues/612","repository_url":"https://api.github.com/repos/cucumber/cucumber-js","labels_url":"https://api.github.com/repos/cucumber/cucumber-js/issues/612/labels{/name}","comments_url":"https://api.github.com/repos/cucumber/cucumber-js/issues/612/comments","events_url":"https://api.github.com/repos/cucumber/cucumber-js/issues/612/events","html_url":"https://github.com/cucumber/cucumber-js/issues/612","id":164845527,"node_id":"MDU6SXNzdWUxNjQ4NDU1Mjc=","number":612,"title":"Message undefined. implement with following snippet","user":{"login":"kamran-pervaiz","id":2331946,"node_id":"MDQ6VXNlcjIzMzE5NDY=","avatar_url":"https://avatars3.githubusercontent.com/u/2331946?v=4","gravatar_id":"","url":"https://api.github.com/users/kamran-pervaiz","html_url":"https://github.com/kamran-pervaiz","followers_url":"https://api.github.com/users/kamran-pervaiz/followers","following_url":"https://api.github.com/users/kamran-pervaiz/following{/other_user}","gists_url":"https://api.github.com/users/kamran-pervaiz/gists{/gist_id}","starred_url":"https://api.github.com/users/kamran-pervaiz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kamran-pervaiz/subscriptions","organizations_url":"https://api.github.com/users/kamran-pervaiz/orgs","repos_url":"https://api.github.com/users/kamran-pervaiz/repos","events_url":"https://api.github.com/users/kamran-pervaiz/events{/privacy}","received_events_url":"https://api.github.com/users/kamran-pervaiz/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":9,"created_at":"2016-07-11T14:06:21Z","updated_at":"2018-10-25T03:07:38Z","closed_at":"2016-07-19T10:08:35Z","author_association":"NONE","body":"Hi guys,\n\nI have written a small angular 2 app and trying to write acceptance tests but it keeps failing. I am not sure if its a cucumber bug or protractor bug, please find below info and help me out in this one.\n\n> $ npm -v\n> 3.10.3\n> \n> $ node -v\n> v4.4.5\n> \n> $ protractor --version\n> Version 3.3.0\n> \n> \"cucumber\": \"0.9.5\",\n> \"protractor-cucumber-framework\": \"0.3.4\"\n\nsteps.js\n\n```\nvar steps = function () {\n\n    this.Given(/^I am on the homepage$/, function (callback) {\n        // Write code here that turns the phrase above into concrete actions\n        browser.get(\"http://localhost:5001/\");\n        callback(null, 'pending');\n    });\n\n    this.Then(/^I should see a \"([^\"]*)\"$/, function (arg1, callback) {\n        // Write code here that turns the phrase above into concrete actions\n        callback(null, 'pending');\n    });\n\n};\n\nmodule.exports = steps;\n```\n\nhome.feature\n\n```\nFeature: Homepage \n  As a user\n  I want to visit the homepage\n  So that I can access the various features on offer\n\n  Scenario: Visit Homepage\n    Given I am on the homepage\n    Then I should see a \"app works!\"\n```\n\nprotractor.conf.js\n\n```\nexports.config = {\n    seleniumAddress: 'http://localhost:4444/wd/hub',\n    framework: 'custom',\n    frameworkPath: '../node_modules/protractor-cucumber-framework/',\n    capabilities: {\n        'browserName': 'chrome'\n    },\n    cucumberOpts: {\n        format: \"summary\"\n    },\n    specs: ['../e2e/features/*.feature'],\n\n    onPrepare: function () {\n        browser.baseUrl = \"http://localhost:5001/\";\n    }\n};\n```\n\nwhen i run using protractor <path to config file> I get below output. I am not sure what i am doing wrong.\n\n```\n$ protractor config/protractor.conf.js\n[15:05:25] I/hosted - Using the selenium server at http://localhost:4444/wd/hub\n[15:05:25] I/launcher - Running 1 instances of WebDriver\ncucumber event handlers attached via registerHandler are now passed the associated object instead of an event\ngetPayloadItem will be removed in the next major release\nWarnings:\n\n1) Scenario: Visit Homepage - e2e\\features\\homepage.feature:6\n   Step: Given I am on the homepage - e2e\\features\\homepage.feature:7\n   Message:\n     Undefined. Implement with the following snippet:\n\n       this.Given(/^I am on the homepage$/, function (callback) {\n         // Write code here that turns the phrase above into concrete actions\n         callback(null, 'pending');\n       });\n\n2) Scenario: Visit Homepage - e2e\\features\\homepage.feature:6\n   Step: Then I should see a \"app works!\" - e2e\\features\\homepage.feature:8\n   Message:\n     Undefined. Implement with the following snippet:\n\n       this.Then(/^I should see a \"([^\"]*)\"$/, function (arg1, callback) {\n         // Write code here that turns the phrase above into concrete actions\n         callback(null, 'pending');\n       });\n\n1 scenario (1 undefined)\n2 steps (2 undefined)\n0m00.000s\n[15:05:28] I/launcher - 0 instance(s) of WebDriver still running\n[15:05:28] I/launcher - chrome #01 passed\n```\n\nany help would be appreciated.\n"},"comment":{"url":"https://api.github.com/repos/cucumber/cucumber-js/issues/comments/432898661","html_url":"https://github.com/cucumber/cucumber-js/issues/612#issuecomment-432898661","issue_url":"https://api.github.com/repos/cucumber/cucumber-js/issues/612","id":432898661,"node_id":"MDEyOklzc3VlQ29tbWVudDQzMjg5ODY2MQ==","user":{"login":"lock[bot]","id":33595554,"node_id":"MDM6Qm90MzM1OTU1NTQ=","avatar_url":"https://avatars1.githubusercontent.com/in/6672?v=4","gravatar_id":"","url":"https://api.github.com/users/lock%5Bbot%5D","html_url":"https://github.com/apps/lock","followers_url":"https://api.github.com/users/lock%5Bbot%5D/followers","following_url":"https://api.github.com/users/lock%5Bbot%5D/following{/other_user}","gists_url":"https://api.github.com/users/lock%5Bbot%5D/gists{/gist_id}","starred_url":"https://api.github.com/users/lock%5Bbot%5D/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lock%5Bbot%5D/subscriptions","organizations_url":"https://api.github.com/users/lock%5Bbot%5D/orgs","repos_url":"https://api.github.com/users/lock%5Bbot%5D/repos","events_url":"https://api.github.com/users/lock%5Bbot%5D/events{/privacy}","received_events_url":"https://api.github.com/users/lock%5Bbot%5D/received_events","type":"Bot","site_admin":false},"created_at":"2018-10-25T03:07:38Z","updated_at":"2018-10-25T03:07:38Z","author_association":"NONE","body":"This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.\n"}}
{"actor":{"display_login":"lock"}}