File tree Expand file tree Collapse file tree 5 files changed +18
-18
lines changed Expand file tree Collapse file tree 5 files changed +18
-18
lines changed Original file line number Diff line number Diff line change @@ -4,4 +4,5 @@ node_modules/
4
4
.DS_Store
5
5
.grunt
6
6
_SpecRunner.html
7
- tests /bundle /
7
+ tests /bundle /
8
+ .idea /
Original file line number Diff line number Diff line change @@ -12,5 +12,5 @@ install:
12
12
before_script :
13
13
- npm install -g grunt-cli
14
14
script :
15
- - node_modules/grunt-protractor-runner/node_modules/.bin/ webdriver-manager update
15
+ - npm run webdriver-update
16
16
- npm test
Original file line number Diff line number Diff line change @@ -210,5 +210,5 @@ Included in the code base is an extensive list examples on how to use all the fe
210
210
To run these tests locally, please follow these steps from the root directory:
211
211
212
212
1 . ` npm install `
213
- 2 . ` node_modules/.bin/ webdriver-manager update`
213
+ 2 . ` npm webdriver-update`
214
214
3 . ` npm run example `
Original file line number Diff line number Diff line change @@ -15,18 +15,17 @@ var config = {
15
15
} ;
16
16
17
17
if ( process . env . TRAVIS ) {
18
- //Run PhantomJS on Travis
19
- config . capabilities = {
20
- browserName : 'phantomjs' ,
21
- 'phantomjs.binary.path' : require ( 'phantomjs' ) . path ,
22
- 'phantomjs.ghostdriver.cli.args' : [ '--loglevel=DEBUG' ] ,
23
- shardTestFiles : true ,
24
- maxInstances : 2
25
- } ;
18
+ //Run PhantomJS on Travis
19
+ config . capabilities = {
20
+ browserName : 'phantomjs' ,
21
+ 'phantomjs.binary.path' : require ( 'phantomjs' ) . path ,
22
+ 'phantomjs.ghostdriver.cli.args' : [ '--loglevel=DEBUG' ] ,
23
+ shardTestFiles : true ,
24
+ maxInstances : 2
25
+ } ;
26
26
} else {
27
- config . capabilities = {
28
- browserName : 'chrome'
29
- }
30
- config . chromeDriver = '../node_modules/protractor/selenium/chromedriver' ;
27
+ config . capabilities = {
28
+ browserName : 'chrome'
29
+ } ;
31
30
}
32
31
exports . config = config ;
Original file line number Diff line number Diff line change 5
5
"main" : " index.js" ,
6
6
"scripts" : {
7
7
"example" : " grunt example" ,
8
- "test" : " node_modules/.bin/grunt verify"
8
+ "test" : " node_modules/.bin/grunt verify" ,
9
+ "webdriver-update" : " node_modules/grunt-protractor-runner/node_modules/protractor/bin/webdriver-manager update"
9
10
},
10
11
"author" : " Carlos Atencio" ,
11
12
"license" : " BSD-2-Clause" ,
17
18
"grunt-contrib-jshint" : " ~0.10.0" ,
18
19
"grunt-jasmine-node" : " ~0.2.1" ,
19
20
"grunt-protractor-runner" : " ^1.1.4" ,
20
- "phantomjs" : " 2.1.3" ,
21
- "protractor" : " 2.5.1"
21
+ "phantomjs" : " 2.1.3"
22
22
},
23
23
"repository" : {
24
24
"type" : " git" ,
You can’t perform that action at this time.
0 commit comments