{"action":"created","issue":{"url":"https://api.github.com/repos/serenity-bdd/serenity-core/issues/631","repository_url":"https://api.github.com/repos/serenity-bdd/serenity-core","labels_url":"https://api.github.com/repos/serenity-bdd/serenity-core/issues/631/labels{/name}","comments_url":"https://api.github.com/repos/serenity-bdd/serenity-core/issues/631/comments","events_url":"https://api.github.com/repos/serenity-bdd/serenity-core/issues/631/events","html_url":"https://github.com/serenity-bdd/serenity-core/issues/631","id":196128159,"number":631,"title":"Report generated with wrong stats when using JBehave GivenStories","user":{"login":"wilker7ribeiro","id":21000731,"avatar_url":"https://avatars.githubusercontent.com/u/21000731?v=3","gravatar_id":"","url":"https://api.github.com/users/wilker7ribeiro","html_url":"https://github.com/wilker7ribeiro","followers_url":"https://api.github.com/users/wilker7ribeiro/followers","following_url":"https://api.github.com/users/wilker7ribeiro/following{/other_user}","gists_url":"https://api.github.com/users/wilker7ribeiro/gists{/gist_id}","starred_url":"https://api.github.com/users/wilker7ribeiro/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wilker7ribeiro/subscriptions","organizations_url":"https://api.github.com/users/wilker7ribeiro/orgs","repos_url":"https://api.github.com/users/wilker7ribeiro/repos","events_url":"https://api.github.com/users/wilker7ribeiro/events{/privacy}","received_events_url":"https://api.github.com/users/wilker7ribeiro/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2016-12-16T18:45:25Z","updated_at":"2016-12-20T07:36:23Z","closed_at":null,"body":"After executing all tests, my html report (target/site/serenity/index.html) counts my tests incorrectly.\r\n\r\nThe problem is that Serenity is discarting the examples from scenarios that use GivenStories, and counting examples from the scenary of the GivenStory story.\r\n\r\nMy Stories are something like that:\r\n___\r\nLogin\r\n**Narrative:**\r\n**In order to** .... log-in\r\n**As A** User\r\n**I want** .... log-in\r\n\r\n**Scenary**: Login - Successful\r\n**Meta**: @id1 scenary1\r\n**Given** the user be at login page.\r\n**When** insert `<login>`\r\n**When** insert `<password>`\r\n**When** click the button log-in\r\n**Then** the site should navigate to home page\r\n**Examples**:\r\n|login  |password|\r\n|login1|Test123|\r\n___\r\nEdit Profile\r\nLogin\r\n**Narrative:**\r\n**In order to** .... edit my profile\r\n**As A** User\r\n**I want** .... edit\r\n\r\n**Scenary**: Edit Profile - Field Required\r\n**Meta**: @id1 scenary1\r\n**GivenStories**: path/to/my/login.story\r\n**Given** the user be at home page.\r\n**When** click the button edit profile\r\n**When** insert `<Name>`\r\n**When** insert `<Last Name>` \r\n**When** insert `<Age>`\r\n**When** insert `<CPF>`\r\n**Then** the site should show `<message>`\r\nExamples:\r\n|Name|Last Name|Age|CPF                   |message                 |\r\n|------|Smith       |35  |072.651.495-05|* Name field is required |\r\n|John  |----------|35  |072.651.495-05|* Last Name field is required |\r\n|John  |Smith       |----|072.651.495-05|* Age field is required    |\r\n|John  |Smith       |35  |-----------------|* CPF field is required    |\r\n___\r\nMy report:\r\n\r\n![serenityerro2](https://cloud.githubusercontent.com/assets/21000731/21273253/cdf8f14c-c3a9-11e6-8f38-1520c9263733.png)\r\n\r\nScenary Edit Profile with wrong results:\r\n![serenityerro](https://cloud.githubusercontent.com/assets/21000731/21273177/82758a64-c3a9-11e6-9112-a69f39289ce3.png)\r\n\r\nThe example table above must be the Edit Profile scenary.\r\nI can reproduce this bug with larger tests\r\nIf the GivenStory scenary doesn't have example table, this problem doesn't occur.\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/serenity-bdd/serenity-core/issues/comments/268175470","html_url":"https://github.com/serenity-bdd/serenity-core/issues/631#issuecomment-268175470","issue_url":"https://api.github.com/repos/serenity-bdd/serenity-core/issues/631","id":268175470,"user":{"login":"wakaleo","id":55986,"avatar_url":"https://avatars.githubusercontent.com/u/55986?v=3","gravatar_id":"","url":"https://api.github.com/users/wakaleo","html_url":"https://github.com/wakaleo","followers_url":"https://api.github.com/users/wakaleo/followers","following_url":"https://api.github.com/users/wakaleo/following{/other_user}","gists_url":"https://api.github.com/users/wakaleo/gists{/gist_id}","starred_url":"https://api.github.com/users/wakaleo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wakaleo/subscriptions","organizations_url":"https://api.github.com/users/wakaleo/orgs","repos_url":"https://api.github.com/users/wakaleo/repos","events_url":"https://api.github.com/users/wakaleo/events{/privacy}","received_events_url":"https://api.github.com/users/wakaleo/received_events","type":"User","site_admin":false},"created_at":"2016-12-20T07:36:23Z","updated_at":"2016-12-20T07:36:23Z","body":"Could you try with 1.2.2-rc.1 (serenity-core) 1.17.0 (serenity-jbehave)?"}}
{"actor":{"display_login":"wakaleo"}}