Skip to content

Commit

Permalink
Readme update
Browse files Browse the repository at this point in the history
  • Loading branch information
Evilweed committed May 16, 2017
1 parent 9138a18 commit e24128a
Showing 1 changed file with 13 additions and 1 deletion.
14 changes: 13 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
![HTML / Angular Test Report](https://raw.githubusercontent.com/Evilweed/protractor-beautiful-reporter/master/images/html-report.png "test report")

## Features
* Browser's Logs
* Browser's Logs (only for Chrome)
* Stack Trace (with suspected line highlight)
* Screenshot
* Screenshot only on failed spec
Expand Down Expand Up @@ -213,6 +213,18 @@ Default is `report.html`.
```
Default is `true`.


### Store Browser logs (optional)
You can preserve (or clear) the base directory using `preserveDirectory:` option:

```javascript
new HtmlReporter({
baseDirectory: '/tmp/screenshots'
, gatherBrowserLogs: false
});
```
Default is `true`.

## HTML Reporter

Upon running Protractor tests with the above config, the screenshot reporter will generate JSON and PNG files for each test.
Expand Down

0 comments on commit e24128a

Please sign in to comment.