@@ -3,43 +3,43 @@ var config = require('../../config')
33
44// http://nightwatchjs.org/guide#settings-file
55module . exports = {
6- ' src_folders' : [ 'test/e2e/specs' ] ,
7- ' output_folder' : 'test/e2e/reports' ,
8- ' custom_assertions_path' : [ 'test/e2e/custom-assertions' ] ,
6+ src_folders : [ 'test/e2e/specs' ] ,
7+ output_folder : 'test/e2e/reports' ,
8+ custom_assertions_path : [ 'test/e2e/custom-assertions' ] ,
99
10- ' selenium' : {
11- ' start_process' : true ,
12- ' server_path' : 'node_modules/selenium-server/lib/runner/selenium-server-standalone-2.53.1.jar' ,
13- ' host' : '127.0.0.1' ,
14- ' port' : 4444 ,
15- ' cli_args' : {
10+ selenium : {
11+ start_process : true ,
12+ server_path : 'node_modules/selenium-server/lib/runner/selenium-server-standalone-2.53.1.jar' ,
13+ host : '127.0.0.1' ,
14+ port : 4444 ,
15+ cli_args : {
1616 'webdriver.chrome.driver' : require ( 'chromedriver' ) . path
1717 }
1818 } ,
1919
20- ' test_settings' : {
21- ' default' : {
22- ' selenium_port' : 4444 ,
23- ' selenium_host' : 'localhost' ,
24- ' silent' : true ,
25- ' globals' : {
26- ' devServerURL' : 'http://localhost:' + ( process . env . PORT || config . dev . port )
20+ test_settings : {
21+ default : {
22+ selenium_port : 4444 ,
23+ selenium_host : 'localhost' ,
24+ silent : true ,
25+ globals : {
26+ devServerURL : 'http://localhost:' + ( process . env . PORT || config . dev . port )
2727 }
2828 } ,
2929
30- ' chrome' : {
31- ' desiredCapabilities' : {
32- ' browserName' : 'chrome' ,
33- ' javascriptEnabled' : true ,
34- ' acceptSslCerts' : true
30+ chrome : {
31+ desiredCapabilities : {
32+ browserName : 'chrome' ,
33+ javascriptEnabled : true ,
34+ acceptSslCerts : true
3535 }
3636 } ,
3737
38- ' firefox' : {
39- ' desiredCapabilities' : {
40- ' browserName' : 'firefox' ,
41- ' javascriptEnabled' : true ,
42- ' acceptSslCerts' : true
38+ firefox : {
39+ desiredCapabilities : {
40+ browserName : 'firefox' ,
41+ javascriptEnabled : true ,
42+ acceptSslCerts : true
4343 }
4444 }
4545 }
0 commit comments