mirror of
https://github.com/wassname/talk.git
synced 2026-07-10 01:56:36 +08:00
Fix paths, add headless env
This commit is contained in:
+2
-1
@@ -15,8 +15,9 @@ client/coral-framework/graphql/introspection.json
|
||||
*.DS_STORE
|
||||
|
||||
coverage/
|
||||
test/e2e/tests_output/
|
||||
test/e2e/reports/
|
||||
test/e2e/bslocal.log
|
||||
test/e2e/selenium-debug.log
|
||||
browserstack.err
|
||||
|
||||
plugins.json
|
||||
|
||||
@@ -4,13 +4,13 @@ const {
|
||||
|
||||
module.exports = {
|
||||
src_folders: './test/e2e/specs/',
|
||||
output_folder: './test/e2e/tests_output',
|
||||
output_folder: './test/e2e/reports',
|
||||
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.5.3-server.jar',
|
||||
log_path: './test/e2e/reports',
|
||||
log_path: './test/e2e/',
|
||||
host: '127.0.0.1',
|
||||
port: 6666,
|
||||
cli_args: {
|
||||
@@ -30,7 +30,7 @@ module.exports = {
|
||||
webStorageEnabled: true,
|
||||
databaseEnabled: true,
|
||||
applicationCacheEnabled: false,
|
||||
nativeEvents: true
|
||||
nativeEvents: true,
|
||||
},
|
||||
screenshots : {
|
||||
enabled: true,
|
||||
@@ -39,5 +39,12 @@ module.exports = {
|
||||
path: './test/e2e/tests_output'
|
||||
},
|
||||
},
|
||||
}
|
||||
headless: {
|
||||
desiredCapabilities: {
|
||||
chromeOptions : {
|
||||
args: ['--headless', '--disable-gpu']
|
||||
},
|
||||
},
|
||||
},
|
||||
},
|
||||
};
|
||||
|
||||
+1
-1
@@ -4,7 +4,7 @@ const {
|
||||
|
||||
const nightwatch_config = {
|
||||
src_folders: './test/e2e/specs/',
|
||||
output_folder: './test/e2e/tests_output',
|
||||
output_folder: './test/e2e/reports',
|
||||
page_objects_path: './test/e2e/page_objects',
|
||||
globals_path: './test/e2e/globals',
|
||||
|
||||
|
||||
Reference in New Issue
Block a user