{"action":"created","issue":{"url":"https://api.github.com/repos/rpii/wdio-html-reporter/issues/5","repository_url":"https://api.github.com/repos/rpii/wdio-html-reporter","labels_url":"https://api.github.com/repos/rpii/wdio-html-reporter/issues/5/labels{/name}","comments_url":"https://api.github.com/repos/rpii/wdio-html-reporter/issues/5/comments","events_url":"https://api.github.com/repos/rpii/wdio-html-reporter/issues/5/events","html_url":"https://github.com/rpii/wdio-html-reporter/issues/5","id":473373306,"node_id":"MDU6SXNzdWU0NzMzNzMzMDY=","number":5,"title":"Can't see suites in reports","user":{"login":"oxsav","id":2349816,"node_id":"MDQ6VXNlcjIzNDk4MTY=","avatar_url":"https://avatars0.githubusercontent.com/u/2349816?v=4","gravatar_id":"","url":"https://api.github.com/users/oxsav","html_url":"https://github.com/oxsav","followers_url":"https://api.github.com/users/oxsav/followers","following_url":"https://api.github.com/users/oxsav/following{/other_user}","gists_url":"https://api.github.com/users/oxsav/gists{/gist_id}","starred_url":"https://api.github.com/users/oxsav/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/oxsav/subscriptions","organizations_url":"https://api.github.com/users/oxsav/orgs","repos_url":"https://api.github.com/users/oxsav/repos","events_url":"https://api.github.com/users/oxsav/events{/privacy}","received_events_url":"https://api.github.com/users/oxsav/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":19,"created_at":"2019-07-26T13:59:16Z","updated_at":"2019-08-16T13:12:21Z","closed_at":null,"author_association":"NONE","body":"Hey. I'm trying to use the @rpii/wdio-html-reporter.\r\nThe reports are being created but it seems that some validation in the reporter fails for my suites.\r\n\r\nhttps://github.com/rpii/wdio-html-reporter/blob/master/src/htmlGenerator.js#L34\r\n\r\nThe suite type should be `suite` , but for me is happening to be `suite:start`\r\nWhat am I doing wrong here?\r\n\r\n<img width=\"1182\" alt=\"Screenshot 2019-07-26 at 14 56 14\" src=\"https://user-images.githubusercontent.com/2349816/61956876-ed7f6000-afb5-11e9-9a5f-47c0077365db.png\">\r\n"},"comment":{"url":"https://api.github.com/repos/rpii/wdio-html-reporter/issues/comments/522003903","html_url":"https://github.com/rpii/wdio-html-reporter/issues/5#issuecomment-522003903","issue_url":"https://api.github.com/repos/rpii/wdio-html-reporter/issues/5","id":522003903,"node_id":"MDEyOklzc3VlQ29tbWVudDUyMjAwMzkwMw==","user":{"login":"oxsav","id":2349816,"node_id":"MDQ6VXNlcjIzNDk4MTY=","avatar_url":"https://avatars0.githubusercontent.com/u/2349816?v=4","gravatar_id":"","url":"https://api.github.com/users/oxsav","html_url":"https://github.com/oxsav","followers_url":"https://api.github.com/users/oxsav/followers","following_url":"https://api.github.com/users/oxsav/following{/other_user}","gists_url":"https://api.github.com/users/oxsav/gists{/gist_id}","starred_url":"https://api.github.com/users/oxsav/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/oxsav/subscriptions","organizations_url":"https://api.github.com/users/oxsav/orgs","repos_url":"https://api.github.com/users/oxsav/repos","events_url":"https://api.github.com/users/oxsav/events{/privacy}","received_events_url":"https://api.github.com/users/oxsav/received_events","type":"User","site_admin":false},"created_at":"2019-08-16T13:12:21Z","updated_at":"2019-08-16T13:12:21Z","author_association":"NONE","body":"Doesn't this work?\r\n`wdio.conf.js`\r\n```javascript\r\nconst {ReportAggregator, HtmlReporter} = require('@rpii/wdio-html-reporter');\r\n...\r\nexports.config = {\r\n  reporters: [\r\n        // 'dot',\r\n        'spec',\r\n        // [HtmlReporter, {\r\n        //     outputDir: './reports/html/screenshots',\r\n        //     outputFileFormat: function() { // optional\r\n        //         return 'index.html';\r\n        //     }\r\n        // }],\r\n        [HtmlReporter, {\r\n            debug: true,\r\n            outputDir: './reports/html-reports/',\r\n            filename: 'report.html',\r\n            reportTitle: 'Test Report',\r\n            showInBrowser: true,\r\n            useOnAfterCommandForScreenshot: true\r\n        }\r\n        ],\r\n        ['junit', {\r\n            outputDir: './reports/junit/',\r\n            outputFileFormat: function(opts) { // optional\r\n                return `SPEC-${opts.cid}.xml`;\r\n            }\r\n        }]\r\n    ],\r\n...\r\n}\r\n```"}}
{"actor":{"display_login":"oxsav"}}