diff --git a/circle.yml b/circle.yml index 0b266dc5..4bda97de 100644 --- a/circle.yml +++ b/circle.yml @@ -248,7 +248,7 @@ workflows: verify-command: echo 'Already verified' no-workspace: true working_directory: examples/visual-testing-with-happo - command: npm test + command: npm run test:happo store_artifacts: true - cypress/run: diff --git a/examples/visual-testing-with-happo/package.json b/examples/visual-testing-with-happo/package.json index 302fb42e..effb46e0 100644 --- a/examples/visual-testing-with-happo/package.json +++ b/examples/visual-testing-with-happo/package.json @@ -4,7 +4,8 @@ "private": true, "scripts": { "test": "../../node_modules/.bin/cypress run", - "cy:open": "../../node_modules/.bin/cypress open" + "cy:open": "../../node_modules/.bin/cypress open", + "test:happo": "../../node_modules/.bin/happo-cypress -- npm test" }, "devDependencies": { "cypress-react-unit-test": "file:../.." diff --git a/package-lock.json b/package-lock.json index c60a3d59..9a408fe9 100644 --- a/package-lock.json +++ b/package-lock.json @@ -15675,9 +15675,9 @@ } }, "happo-cypress": { - "version": "0.2.0", - "resolved": "https://registry.npmjs.org/happo-cypress/-/happo-cypress-0.2.0.tgz", - "integrity": "sha512-5DjMwLZc8iG6PB2Xff+TAjjf6Qzd67Zpcfd0xZEtdJd/NXGpakMBHsUG9hX4uwrcJBkZgaJHPSdz8TVUN7XLoA==", + "version": "1.4.1", + "resolved": "https://registry.npmjs.org/happo-cypress/-/happo-cypress-1.4.1.tgz", + "integrity": "sha512-B6VgR3Ff+qSH9RdUttWzCk7ol+bN4hQmqkUnJXVj6XFRnU43qDQcIbrdykBXN8kI2lKiovXyBjQVaujGXNsPcA==", "dev": true, "requires": { "archiver": "^3.1.1", @@ -15686,9 +15686,9 @@ } }, "happo.io": { - "version": "5.4.0", - "resolved": "https://registry.npmjs.org/happo.io/-/happo.io-5.4.0.tgz", - "integrity": "sha512-O+JhXhc/I9UOawmjszVZ8Ia1K1mx28eO+sBbcfIB2CKVLg0fvk9pyD7Jj8ZCpa1BhnAwCwor8lwF3ml6LJATTw==", + "version": "5.6.1", + "resolved": "https://registry.npmjs.org/happo.io/-/happo.io-5.6.1.tgz", + "integrity": "sha512-zvzgU2SPEiHovEnMUBDDhXH5A6fRQNMzpHAa7efLBrzmi8HYkqBtXbyR2i+00MvHEXrcsDkGSliiOKiI7vsTsA==", "dev": true, "requires": { "archiver": "^3.0.0", @@ -15738,9 +15738,9 @@ "dev": true }, "fast-deep-equal": { - "version": "3.1.1", - "resolved": "https://registry.npmjs.org/fast-deep-equal/-/fast-deep-equal-3.1.1.tgz", - "integrity": "sha512-8UEa58QDLauDNfpbrX55Q9jrGHThw2ZMdOky5Gl1CDtVeJDPVrG4Jxx1N8jw2gkWaff5UUuX1KJd+9zGe2B+ZA==", + "version": "3.1.3", + "resolved": "https://registry.npmjs.org/fast-deep-equal/-/fast-deep-equal-3.1.3.tgz", + "integrity": "sha512-f3qQ9oQy9j2AhBe/H9VC91wLmKBCCU/gDOnKNAYG5hswO7BLKj09Hc5HYNz9cGI++xlpDCIgDaitVs03ATR84Q==", "dev": true }, "har-validator": { @@ -16700,9 +16700,9 @@ "dev": true }, "imagetracerjs": { - "version": "1.2.5", - "resolved": "https://registry.npmjs.org/imagetracerjs/-/imagetracerjs-1.2.5.tgz", - "integrity": "sha512-EQkBqvpW+36hx8ANxQ4RqqGxl6USmM3N8IiVw33lQlRW/P4eBpBxUJX36uzoyLfPc/0sBnX0ktyan/gCbJhtcw==", + "version": "1.2.6", + "resolved": "https://registry.npmjs.org/imagetracerjs/-/imagetracerjs-1.2.6.tgz", + "integrity": "sha512-LKJlnKmXFzDdh6IZtXTyBxXcCLTAkwgKYS+NMiPXiXVnlTLjQC8fq7U89laUSgHtypJB3TdMMDK4ecG5NI/Cgw==", "dev": true }, "immer": { diff --git a/package.json b/package.json index 46ba42d4..da75f0dd 100644 --- a/package.json +++ b/package.json @@ -78,8 +78,8 @@ "cypress-plugin-snapshots": "1.4.3", "cypress-react-selector": "1.0.2", "date-fns": "2.13.0", - "happo-cypress": "0.2.0", - "happo.io": "5.4.0", + "happo-cypress": "1.4.1", + "happo.io": "5.6.1", "husky": "3.1.0", "lint-staged": "9.5.0", "lodash": "4.17.15",