Move logs to test/e2e

This commit is contained in:
Chi Vinh Le
2017-10-11 20:01:27 +07:00
parent 3abbe3119d
commit cde3c4e17e
3 changed files with 7 additions and 3 deletions
+4 -1
View File
@@ -10,7 +10,10 @@ try {
// Code to start browserstack local before start of test
console.log('Connecting local');
Nightwatch.bs_local = bs_local;
bs_local.start({'key': process.env.BROWSERSTACK_KEY}, function(error) {
bs_local.start({
'key': process.env.BROWSERSTACK_KEY,
'logFile': './test/e2e/bslocal.log'
}, function(error) {
if (error) {
console.error(error);
throw error;