Skip to content

Commit

Permalink
add firefox driver integration tests in ci
Browse files Browse the repository at this point in the history
  • Loading branch information
kuceb committed Aug 29, 2019
1 parent b6611e2 commit edbb977
Showing 1 changed file with 30 additions and 3 deletions.
33 changes: 30 additions & 3 deletions circle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ defaults: &defaults
working_directory: ~/cypress
docker:
# the Docker image with Cypress dependencies and Chrome browser
- image: cypress/browsers:chrome64
- image: cypress/browsers:node8.9.3-npm6.10.1-chrome76-ff68
environment:
## set specific timezone
TZ: "/usr/share/zoneinfo/America/New_York"
Expand Down Expand Up @@ -323,7 +323,7 @@ jobs:
- store_test_results:
path: /tmp/cypress

"3x-driver-integration-tests":
"3x-driver-integration-tests-chrome":
<<: *defaults
parallelism: 3
steps:
Expand All @@ -347,6 +347,30 @@ jobs:
- store_artifacts:
path: /tmp/artifacts

"3x-driver-integration-tests-firefox":
<<: *defaults
parallelism: 3
steps:
- attach_workspace:
at: ~/
- run:
command: npm start
background: true
working_directory: packages/driver
- run:
command: $(npm bin)/wait-on http://localhost:3500
working_directory: packages/driver
- run:
command: |
CYPRESS_KONFIG_ENV=production \
CYPRESS_RECORD_KEY=$PACKAGES_RECORD_KEY \
npm run cypress:run -- --record --parallel --group 3x-driver-firefox --browser firefox
working_directory: packages/driver
- store_test_results:
path: /tmp/cypress
- store_artifacts:
path: /tmp/artifacts

"2x-desktop-gui-integration-tests":
<<: *defaults
parallelism: 2
Expand Down Expand Up @@ -620,7 +644,10 @@ workflows:
- server-e2e-tests-8:
requires:
- build
- 3x-driver-integration-tests:
- 3x-driver-integration-tests-chrome:
requires:
- build
- 3x-driver-integration-tests-firefox:
requires:
- build
- 2x-desktop-gui-integration-tests:
Expand Down

0 comments on commit edbb977

Please sign in to comment.