|
|
|
@ -30,6 +30,15 @@ workflows: |
|
|
|
|
- prep-deps-npm |
|
|
|
|
- prep-deps-firefox |
|
|
|
|
- prep-build |
|
|
|
|
- test-e2e-beta-chrome: |
|
|
|
|
requires: |
|
|
|
|
- prep-deps-npm |
|
|
|
|
- prep-build |
|
|
|
|
- test-e2e-beta-firefox: |
|
|
|
|
requires: |
|
|
|
|
- prep-deps-npm |
|
|
|
|
- prep-deps-firefox |
|
|
|
|
- prep-build |
|
|
|
|
- test-unit: |
|
|
|
|
requires: |
|
|
|
|
- prep-deps-npm |
|
|
|
@ -57,6 +66,8 @@ workflows: |
|
|
|
|
- test-unit |
|
|
|
|
- test-e2e-chrome |
|
|
|
|
- test-e2e-firefox |
|
|
|
|
- test-e2e-beta-chrome |
|
|
|
|
- test-e2e-beta-firefox |
|
|
|
|
- test-integration-mascara-chrome |
|
|
|
|
- test-integration-mascara-firefox |
|
|
|
|
- test-integration-flat-chrome |
|
|
|
@ -203,15 +214,13 @@ jobs: |
|
|
|
|
- restore_cache: |
|
|
|
|
key: build-cache-{{ .Revision }} |
|
|
|
|
- run: |
|
|
|
|
name: Test |
|
|
|
|
name: test:e2e:chrome |
|
|
|
|
command: npm run test:e2e:chrome |
|
|
|
|
- store_artifacts: |
|
|
|
|
path: test-artifacts |
|
|
|
|
destination: test-artifacts |
|
|
|
|
|
|
|
|
|
test-e2e-firefox: |
|
|
|
|
environment: |
|
|
|
|
browsers: '["Firefox"]' |
|
|
|
|
docker: |
|
|
|
|
- image: circleci/node:8-browsers |
|
|
|
|
steps: |
|
|
|
@ -236,6 +245,47 @@ jobs: |
|
|
|
|
path: test-artifacts |
|
|
|
|
destination: test-artifacts |
|
|
|
|
|
|
|
|
|
test-e2e-beta-chrome: |
|
|
|
|
docker: |
|
|
|
|
- image: circleci/node:8-browsers |
|
|
|
|
steps: |
|
|
|
|
- checkout |
|
|
|
|
- restore_cache: |
|
|
|
|
key: dependency-cache-{{ .Revision }} |
|
|
|
|
- restore_cache: |
|
|
|
|
key: build-cache-{{ .Revision }} |
|
|
|
|
- run: |
|
|
|
|
name: test:e2e:chrome:beta |
|
|
|
|
command: npm run test:e2e:chrome:beta |
|
|
|
|
- store_artifacts: |
|
|
|
|
path: test-artifacts |
|
|
|
|
destination: test-artifacts |
|
|
|
|
|
|
|
|
|
test-e2e-beta-firefox: |
|
|
|
|
docker: |
|
|
|
|
- image: circleci/node:8-browsers |
|
|
|
|
steps: |
|
|
|
|
- checkout |
|
|
|
|
- restore_cache: |
|
|
|
|
key: dependency-cache-firefox-{{ .Revision }} |
|
|
|
|
- run: |
|
|
|
|
name: Install firefox |
|
|
|
|
command: > |
|
|
|
|
sudo rm -r /opt/firefox |
|
|
|
|
&& sudo mv firefox /opt/firefox58 |
|
|
|
|
&& sudo mv /usr/bin/firefox /usr/bin/firefox-old |
|
|
|
|
&& sudo ln -s /opt/firefox58/firefox /usr/bin/firefox |
|
|
|
|
- restore_cache: |
|
|
|
|
key: dependency-cache-{{ .Revision }} |
|
|
|
|
- restore_cache: |
|
|
|
|
key: build-cache-{{ .Revision }} |
|
|
|
|
- run: |
|
|
|
|
name: test:e2e:firefox:beta |
|
|
|
|
command: npm run test:e2e:firefox:beta |
|
|
|
|
- store_artifacts: |
|
|
|
|
path: test-artifacts |
|
|
|
|
destination: test-artifacts |
|
|
|
|
|
|
|
|
|
job-screens: |
|
|
|
|
docker: |
|
|
|
|
- image: circleci/node:8-browsers |
|
|
|
@ -415,4 +465,3 @@ jobs: |
|
|
|
|
- run: |
|
|
|
|
name: All Tests Passed |
|
|
|
|
command: echo 'weew - everything passed!' |
|
|
|
|
|
|
|
|
|