Timeline Reporter
wdio-timeline-reporter is a 3rd party package, for more information please see GitHub | npm
A one stop shop WebdriverIO reporter for an aggregated visualisation of your test results because "Seeing is believing"
Why
Because we spend a lot of time debugging failing tests switching from terminal output to viewing error screenshots etc. This reporter aggregates all the typical information you will need into one report. Run tests and have a nice timeline of events you can look back at to further verify everything looks ok.
Features include:
- Works great with Mocha and Jasmine frameworks. Also works with Cucumber but every step will be reported as a test
- Loud Summary of the Test Results.
- Detail of each test run including all screenshots captured during test execution.
- Test Results filtering. Great for focusing on failed tests
- Error stack trace attached to test.
- Ability to add additional information to test at runtime.
- No post processing required. On completion of wdio test process, a static html report file will get generated.
- Timeline service to manage the taking of screenshots including resizing of the images.
An example html report can be found here
Instructions on how to install WebdriverIO
can be found here.
Installation
FOR VERSION COMPATIBLE WITH WEBDRIVERIO V4 SEE HERE
npm install --save wdio-timeline-reporter
A dependency will be added to your package.json
{
"dependencies": {
"wdio-timeline-reporter": "^5.1.0"
}
}