mirror of
https://github.com/wassname/talk.git
synced 2026-07-20 12:40:47 +08:00
added logs to artifacts
This commit is contained in:
@@ -1,8 +1,10 @@
|
||||
const { ROOT_URL } = require('./config');
|
||||
|
||||
const REPORTS_FOLDER = process.env.REPORTS_FOLDER || './test/e2e/reports';
|
||||
|
||||
const nightwatch_config = {
|
||||
src_folders: './test/e2e/specs/',
|
||||
output_folder: process.env.REPORTS_FOLDER || './test/e2e/reports',
|
||||
output_folder: REPORTS_FOLDER,
|
||||
page_objects_path: './test/e2e/page_objects',
|
||||
globals_path: './test/e2e/globals',
|
||||
|
||||
@@ -34,7 +36,7 @@ const nightwatch_config = {
|
||||
enabled: true,
|
||||
on_failure: true,
|
||||
on_error: true,
|
||||
path: process.env.REPORTS_FOLDER || './test/e2e/reports',
|
||||
path: REPORTS_FOLDER,
|
||||
},
|
||||
},
|
||||
chrome: {
|
||||
|
||||
+5
-3
@@ -1,15 +1,17 @@
|
||||
const { ROOT_URL } = require('./config');
|
||||
|
||||
const REPORTS_FOLDER = process.env.REPORTS_FOLDER || './test/e2e/reports';
|
||||
|
||||
module.exports = {
|
||||
src_folders: './test/e2e/specs/',
|
||||
output_folder: process.env.REPORTS_FOLDER || './test/e2e/reports',
|
||||
output_folder: REPORTS_FOLDER,
|
||||
page_objects_path: './test/e2e/page_objects',
|
||||
globals_path: './test/e2e/globals',
|
||||
selenium: {
|
||||
start_process: true,
|
||||
server_path:
|
||||
'node_modules/selenium-standalone/.selenium/selenium-server/3.7.1-server.jar',
|
||||
log_path: './test/e2e/',
|
||||
log_path: REPORTS_FOLDER,
|
||||
host: '127.0.0.1',
|
||||
port: 6666,
|
||||
cli_args: {
|
||||
@@ -37,7 +39,7 @@ module.exports = {
|
||||
enabled: true,
|
||||
on_failure: true,
|
||||
on_error: true,
|
||||
path: process.env.REPORTS_FOLDER || './test/e2e/reports',
|
||||
path: REPORTS_FOLDER,
|
||||
},
|
||||
},
|
||||
chrome: {
|
||||
|
||||
Reference in New Issue
Block a user