Enable screenshot on failure for bs

This commit is contained in:
Chi Vinh Le
2017-10-27 13:19:00 +02:00
parent b84daf0422
commit ad4a5595f9
+7 -1
View File
@@ -27,7 +27,13 @@ const nightwatch_config = {
// Disable this, as it makes bs slow and brittle.
'browserstack.networkLogs': false,
'browserstack.resolution': '1600x1200',
}
},
screenshots : {
enabled: true,
on_failure: true,
on_error: true,
path: process.env.REPORTS_FOLDER || './test/e2e/reports',
},
},
chrome: {
desiredCapabilities: {