Skip to content

Commit

Permalink
Merge pull request #1249 from marmelab/fix-e2e-tests
Browse files Browse the repository at this point in the history
[RFR] Fix E2E tests
  • Loading branch information
jpetitcolas authored Nov 18, 2016
2 parents defaa6c + 06582cc commit b815032
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 5 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

install:
npm install
./node_modules/protractor/bin/webdriver-manager update
./node_modules/protractor/bin/webdriver-manager update --versions.chrome=2.24

run: examples/blog/build
@cp node_modules/fakerest/dist/FakeRest.min.js examples/blog/build/fakerest.js
Expand Down
8 changes: 4 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@
"url": "git://github.com/marmelab/ng-admin.git"
},
"files": [
"*.md",
"build/",
"lib/"
"*.md",
"build/",
"lib/"
],
"dependencies": {
"angular": "~1.4.8",
Expand Down Expand Up @@ -73,7 +73,7 @@
"ngtemplate-loader": "^1.3.0",
"node-sass": "^3.9.3",
"phantomjs-prebuilt": "~2.1.4",
"protractor": "~3.1.1",
"protractor": "~4.0.11",
"sass-loader": "^4.0.2",
"sinon": "~1.14.1",
"style-loader": "^0.13.1",
Expand Down
1 change: 1 addition & 0 deletions src/javascripts/test/protractor.conf.js
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ exports.config = {

specs: ['e2e/*.js'],
baseUrl: 'http://' + (process.env.CI ? 'ngadmin' : 'localhost') + ':8001',
chromeDriver: '../../../node_modules/protractor/node_modules/webdriver-manager/selenium/chromedriver_2.24',
maxSessions: 1,
multiCapabilities: [
{
Expand Down

0 comments on commit b815032

Please sign in to comment.