All Projects → novemberfiveco → visual-regression-testing-jest-chromeless

novemberfiveco / visual-regression-testing-jest-chromeless

Licence: MIT license
Visual regression testing using Jest, Chromeless and AWS Lambda.

Programming Languages

javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to visual-regression-testing-jest-chromeless

percy-node
Utilities for visual regression testing in node based testing setups (like Protractor) for use with percy.io
Stars: ✭ 17 (+0%)
Mutual labels:  visual-regression-testing
jest-transform-css
👩‍🏭 Jest transformer to import CSS into Jest's jsdom
Stars: ✭ 26 (+52.94%)
Mutual labels:  visual-regression-testing
nightwatch-vrt
Visual Regression Testing tools for nightwatch.js
Stars: ✭ 59 (+247.06%)
Mutual labels:  visual-regression-testing
pythonista-chromeless
Serverless selenium which dynamically execute any given code.
Stars: ✭ 31 (+82.35%)
Mutual labels:  chromeless
CockpitCMS-React-Static
Example implementation using a combination of Cockpit Headless CMS and React Static
Stars: ✭ 24 (+41.18%)
Mutual labels:  react-static
vrt-react
Take a screenshot 📸 of React component. Push it and compare images in pull request.
Stars: ✭ 19 (+11.76%)
Mutual labels:  visual-regression-testing
Gazo-san
Detect difference between two images.
Stars: ✭ 40 (+135.29%)
Mutual labels:  visual-regression-testing
percy-agent
[Deprecated in favor of `@percy/cli`] An agent process for integrating with Percy.
Stars: ✭ 21 (+23.53%)
Mutual labels:  visual-regression-testing
percy-webdriverio
Visual testing with WebdriverIO and Percy
Stars: ✭ 25 (+47.06%)
Mutual labels:  visual-regression-testing
Jest Puppeteer
Run your tests using Jest & Puppeteer 🎪✨
Stars: ✭ 3,267 (+19117.65%)
Mutual labels:  chromeless
React Static
⚛️ 🚀 A progressive static site generator for React.
Stars: ✭ 9,946 (+58405.88%)
Mutual labels:  react-static

visual-regression-testing-jest-chromeless

Visual regression testing using Jest, Chromeless and AWS Lambda.

Blogpost: https://novemberfive.co/blog/visual-regression-testing-jest-chromeless-lambda/

Requirements

  • NodeJS version 6.x or greater
  • yarn
  • Chrome or Chrome Canary installed (version 60 or greater)

Getting started

  1. Clone this repository
  2. Run yarn
  3. Build project using yarn build

Run tests locally

  • Execute yarn serve (production build) or yarn start (dev server) to serve your static site
  • Run yarn test

Run tests locally in headless-mode

  • Execute yarn serve (production build) or yarn start (dev server) to serve your static site
  • Run Chrome or Canary in headless mode:
alias chrome="/Applications/Google\ Chrome.app/Contents/MacOS/Google\ Chrome"
chrome --remote-debugging-port=9222 --disable-gpu --headless
  • Run yarn test:headless

Run tests remote on AWS

CHROMELESS_REMOTE_URL=https://xxxxxxxxxxx.execute-api.eu-central-1.amazonaws.com/dev/
CHROMELESS_API_KEY=YOUR_AWS_API_KEY
  • Run yarn test:remote
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].