File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 5353 key : ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
5454 restore-keys : ${{ runner.os }}-yarn-
5555
56+ - name : Install the latest chromedriver compatible with the installed chrome version
57+ run : yarn global add chromedriver --detect_chromedriver_version
58+
5659 - name : Install Yarn dependencies
5760 run : yarn install --frozen-lockfile
5861
9497 run : curl http://localhost:8080/server/api
9598
9699 - name : Run e2e tests (integration tests)
97- run : yarn run e2e:ci
100+ run : |
101+ chromedriver &
102+ yarn run e2e:ci
98103
99104 - name : Shutdown Docker containers
100105 run : docker-compose -f ./docker/docker-compose-ci.yml down
Original file line number Diff line number Diff line change @@ -7,4 +7,8 @@ config.capabilities = {
77 }
88} ;
99
10+ // don't use protractor's webdriver, as it may be incompatible with the installed chrome version
11+ config . directConnect = false ;
12+ config . seleniumAddress = 'http://localhost:4444/wd/hub' ;
13+
1014exports . config = config ;
Original file line number Diff line number Diff line change 3232 "lint" : " ng lint" ,
3333 "lint-fix" : " ng lint --fix=true" ,
3434 "e2e" : " ng e2e" ,
35- "e2e:ci" : " ng e2e --protractor-config=./e2e/protractor-ci.conf.js" ,
35+ "e2e:ci" : " ng e2e --webdriver-update=false -- protractor-config=./e2e/protractor-ci.conf.js" ,
3636 "compile:server" : " webpack --config webpack.server.config.js --progress --color" ,
3737 "serve:ssr" : " node dist/server" ,
3838 "clean:coverage" : " rimraf coverage" ,
You can’t perform that action at this time.
0 commit comments