{"action":"opened","issue":{"url":"https://api.github.com/repos/getgauge/gauge/issues/1153","repository_url":"https://api.github.com/repos/getgauge/gauge","labels_url":"https://api.github.com/repos/getgauge/gauge/issues/1153/labels{/name}","comments_url":"https://api.github.com/repos/getgauge/gauge/issues/1153/comments","events_url":"https://api.github.com/repos/getgauge/gauge/issues/1153/events","html_url":"https://github.com/getgauge/gauge/issues/1153","id":351058044,"node_id":"MDU6SXNzdWUzNTEwNTgwNDQ=","number":1153,"title":"consecutive step and scenarios: incorrect validation","user":{"login":"sriv","id":389148,"node_id":"MDQ6VXNlcjM4OTE0OA==","avatar_url":"https://avatars0.githubusercontent.com/u/389148?v=4","gravatar_id":"","url":"https://api.github.com/users/sriv","html_url":"https://github.com/sriv","followers_url":"https://api.github.com/users/sriv/followers","following_url":"https://api.github.com/users/sriv/following{/other_user}","gists_url":"https://api.github.com/users/sriv/gists{/gist_id}","starred_url":"https://api.github.com/users/sriv/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sriv/subscriptions","organizations_url":"https://api.github.com/users/sriv/orgs","repos_url":"https://api.github.com/users/sriv/repos","events_url":"https://api.github.com/users/sriv/events{/privacy}","received_events_url":"https://api.github.com/users/sriv/received_events","type":"User","site_admin":false},"labels":[{"id":87920151,"node_id":"MDU6TGFiZWw4NzkyMDE1MQ==","url":"https://api.github.com/repos/getgauge/gauge/labels/bug","name":"bug","color":"fc2929","default":true}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-08-16T05:14:14Z","updated_at":"2018-08-16T05:14:14Z","closed_at":null,"author_association":"MEMBER","body":"### Expected behavior\r\n\r\nFor this spec:\r\n\r\n```\r\nSpecification 1\r\n===============\r\n\r\n* step 1\r\nScenario 1\r\n----------\r\n* step 2\r\n```\r\n\r\nThe context step is read as `step 1 Scenario 1` and this is ok (ref: #1147)\r\n\r\nHowever, gauge should now throw a parse error stating that the scenario name cannot be empty.\r\nAlso, the scenario underline should not be part of the step text.\r\n\r\n### Actual behavior\r\n\r\n- the scenario underline is also part of the step text now.\r\n- no parse error for scenario\r\n\r\n### Steps to reproduce\r\n1. `gauge init js`\r\n2. Copy the content of the above spec into a spec file.\r\n3. `gauge validate specs`\r\n4. Observe the suggested step text in the output. \r\n5. Note the validation errors do not account for empty scenario names\r\n\r\n### Gauge version\r\n```\r\nRun gauge -v on your system and paste the results here.\r\n```\r\n"}}
{"actor":{"display_login":"sriv"}}