diff --git a/.circleci/docker-compose.cypress.yml b/.circleci/docker-compose.cypress.yml index eab54f9de6..fb0ce5ed2f 100644 --- a/.circleci/docker-compose.cypress.yml +++ b/.circleci/docker-compose.cypress.yml @@ -39,6 +39,8 @@ services: PERCY_BRANCH: ${CIRCLE_BRANCH} PERCY_COMMIT: ${CIRCLE_SHA1} PERCY_PULL_REQUEST: ${CIRCLE_PR_NUMBER} + CYPRESS_PROJECT_ID: ${CYPRESS_PROJECT_ID} + CYPRESS_RECORD_KEY: ${CYPRESS_RECORD_KEY} redis: image: redis:3.0-alpine restart: unless-stopped diff --git a/client/cypress/cypress.js b/client/cypress/cypress.js index effac4f8b7..4936d782f6 100644 --- a/client/cypress/cypress.js +++ b/client/cypress/cypress.js @@ -51,7 +51,6 @@ function runCypressCI() { process.env.CYPRESS_RECORD_KEY = atob(`${CYPRESS_RECORD_KEY_ENCODED}`); } } - console.log('vars', CIRCLE_REPOSITORY_URL, process.env.CYPRESS_PROJECT_ID, process.env.CYPRESS_RECORD_KEY); execSync( 'docker-compose run cypress ./node_modules/.bin/percy exec -- ./node_modules/.bin/cypress run --record --browser chrome',