Skip to content
This repository has been archived by the owner on Feb 8, 2019. It is now read-only.

Commit

Permalink
⚡ impromvement(e2e): record screenshots for e2e test failures
Browse files Browse the repository at this point in the history
  • Loading branch information
kazupon committed Jun 14, 2016
1 parent 276e6be commit ff57a83
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion template/config/nightwatch.conf.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,13 @@ module.exports = {
default: {
selenium_port: 4444,
selenium_host: 'localhost',
silent: true
silent: true,
screenshots: {
enabled: true,
on_failure: true,
on_error: false,
path: 'test/e2e/screenshots'
}
},

chrome: {
Expand Down

0 comments on commit ff57a83

Please sign in to comment.