diff --git a/.circleci/config.yml b/.circleci/config.yml index f2eab3378..5126bf1fb 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -445,6 +445,7 @@ workflows: branches: only: master # Update base branch snapshots + # and record a Cypress dashboard test run - cypress/run: name: 'Generate Percy Snapshots' executor: cypress/browsers-chrome76 diff --git a/platform/viewer/package.json b/platform/viewer/package.json index 743ddba0c..329987eff 100644 --- a/platform/viewer/package.json +++ b/platform/viewer/package.json @@ -27,7 +27,7 @@ "dev:viewer": "yarn run dev", "start": "yarn run dev", "test:e2e": "cypress open", - "test:e2e:ci": "percy exec -- cypress run --browser chrome", + "test:e2e:ci": "percy exec -- cypress run --record --browser chrome", "test:e2e:dist": "start-server-and-test test:e2e:serve http://localhost:3000 test:e2e:ci", "test:e2e:serve": "serve -n -l 3000 -s dist", "test:unit": "jest --watchAll", @@ -85,7 +85,7 @@ "vtk.js": "^11.7.2" }, "devDependencies": { - "cypress": "^3.3.1", + "cypress": "^3.8.0", "gh-pages": "2.0.1", "identity-obj-proxy": "3.0.x", "lodash": "4.17.11", diff --git a/yarn.lock b/yarn.lock index 9beec7890..c46619380 100644 --- a/yarn.lock +++ b/yarn.lock @@ -6441,10 +6441,10 @@ cyclist@^1.0.1: resolved "https://registry.yarnpkg.com/cyclist/-/cyclist-1.0.1.tgz#596e9698fd0c80e12038c2b82d6eb1b35b6224d9" integrity sha1-WW6WmP0MgOEgOMK4LW6xs1tiJNk= -cypress@^3.3.1: - version "3.5.0" - resolved "https://registry.yarnpkg.com/cypress/-/cypress-3.5.0.tgz#e188bc8f48782953f6865d8830a4dc342334b81c" - integrity sha512-I1iSReD2C8CTP6s4BvQky4gEqHBnKLmhBIqFyCUZdj6BQ6ZDxGnmIbQPM5g79E2iP60KTIbTK99ZPSDVtsNUUg== +cypress@^3.8.0: + version "3.8.0" + resolved "https://registry.yarnpkg.com/cypress/-/cypress-3.8.0.tgz#7d4cd08f81f9048ee36760cc9ee3b9014f9e84ab" + integrity sha512-gtEbqCgKETRc3pQFMsELRgIBNgiQg7vbOWTrCi7WE7bgOwNCaW9PEX8Jb3UN8z/maIp9WwzoFfeySfelYY7nRA== dependencies: "@cypress/listr-verbose-renderer" "0.4.1" "@cypress/xvfb" "1.2.4"