webdriverio-community / wdio-html-reporter

Fork of wdio-html-format-reporter
MIT License
18 stars 28 forks source link

Support for custom html template #9

Closed msyrus closed 5 years ago

rpii commented 5 years ago

Could you indicate what you are looking for? perhaps a sample template for the report output?

msyrus commented 5 years ago

I would like to request an option to invoke custom template functions and use developer's own html template where a default option could be this.

msyrus commented 5 years ago

I would like to send an PR if you agree on this.

rpii commented 5 years ago

You can send a PR, but I mocked up something that you can easily play with. the 7.8 version will accept a templateFilename option that points to your template. Or you can directly edit src/wdio-html-reporter-alt-template.hbs.

Please let me know what alternate css you might come up with. If it looks great we can include it as an option.

ghost commented 5 years ago

Hey, does the last 0.7.8 release stopped generating master report? Should I change configuration?

rpii commented 5 years ago

yep looks like I broke it. Ill get it fixed Use 0.7.7 for now