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
+2 -2
View File
@@ -15,8 +15,8 @@ client/coral-framework/graphql/introspection.json
*.DS_STORE
coverage/
tests_output/
local.log
test/e2e/tests_output/
test/e2e/bslocal.log
plugins.json
plugins/*
+1
View File
@@ -1,5 +1,6 @@
const nightwatch_config = {
src_folders: './test/e2e/specs/',
output_folder: './test/e2e/tests_output',
selenium : {
'start_process': false,
+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;