{"action":"closed","issue":{"url":"https://api.github.com/repos/serenity-bdd/serenity-core/issues/178","labels_url":"https://api.github.com/repos/serenity-bdd/serenity-core/issues/178/labels{/name}","comments_url":"https://api.github.com/repos/serenity-bdd/serenity-core/issues/178/comments","events_url":"https://api.github.com/repos/serenity-bdd/serenity-core/issues/178/events","html_url":"https://github.com/serenity-bdd/serenity-core/issues/178","id":116407226,"number":178,"title":"Test overalpped in report if different test classes use same Steps class","user":{"login":"YamStranger","id":1667699,"avatar_url":"https://avatars.githubusercontent.com/u/1667699?v=3","gravatar_id":"","url":"https://api.github.com/users/YamStranger","html_url":"https://github.com/YamStranger","followers_url":"https://api.github.com/users/YamStranger/followers","following_url":"https://api.github.com/users/YamStranger/following{/other_user}","gists_url":"https://api.github.com/users/YamStranger/gists{/gist_id}","starred_url":"https://api.github.com/users/YamStranger/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/YamStranger/subscriptions","organizations_url":"https://api.github.com/users/YamStranger/orgs","repos_url":"https://api.github.com/users/YamStranger/repos","events_url":"https://api.github.com/users/YamStranger/events{/privacy}","received_events_url":"https://api.github.com/users/YamStranger/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-11-11T19:43:52Z","updated_at":"2015-12-16T08:18:26Z","closed_at":"2015-12-16T08:18:26Z","body":"Problem:\r\nIf you have some step class (MyClass for example), and two different Test classes, for example:\r\n\r\n```\r\n@RunWith(SerenityRunner.class)\r\npublic class WhenDuingSomethingOne{\r\n@Steps\r\nMyClass step;\r\n\r\n@Test \r\npublic void testImportant_1(){\r\n   step.when_doing_things();\r\n   step.then_all_correct\r\n}\r\n}\r\n```\r\nand \r\n```\r\n@RunWith(SerenityRunner.class)\r\npublic class WhenDuingSomethingTwo{\r\n@Steps\r\nMyClass step;\r\n\r\n@Test \r\npublic void testImportant_2(){\r\n   step.when_doing_things();\r\n   step.then_all_correct\r\n}\r\n}\r\n...\r\nSome test will be absent in serenity report (testImportant_1 or restImportant_2)"}}