Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
.circleci/config.yml
version: 2
jobs:
build:
working_directory: ~/applitools-github-circleci
docker:
- image: cypress/base:10
steps:
- checkout
- restore_cache:
keys:
- v2-deps-{{ .Branch }}-{{ checksum "package-lock.json" }}
- v2-deps-{{ .Branch }}-
- v2-deps-
- run: npm ci
- save_cache:
key: v2-deps-{{ .Branch }}-{{ checksum "package-lock.json" }}
paths:
- ~/.npm
- ~/.cache
- run: # run tests
name: Run Applitools/Cypress visual UI tests
command: |
export APPLITOOLS_BATCH_ID=${CIRCLE_SHA1}
echo $APPLITOOLS_BATCH_ID
npm run cy:run -- --spec "cypress/integration/salesforce-contactus.spec.js"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.