record screenshots for e2e test failures

This commit is contained in:
Evan You 2016-06-13 18:14:33 -04:00
parent bd71c06b6f
commit 9d57879de1
2 changed files with 8 additions and 1 deletions

1
.gitignore vendored
View File

@ -8,4 +8,5 @@ dist/*.map
dist/vue.common.min.js
selenium-debug.log
test/e2e/reports
test/e2e/screenshots
coverage

View File

@ -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': {