{"id":13651706,"url":"https://github.com/novemberfiveco/visual-regression-testing-jest-chromeless","last_synced_at":"2025-04-12T13:31:06.419Z","repository":{"id":89533507,"uuid":"110119679","full_name":"novemberfiveco/visual-regression-testing-jest-chromeless","owner":"novemberfiveco","description":"Visual regression testing using Jest, Chromeless and AWS Lambda.","archived":false,"fork":false,"pushed_at":"2017-11-09T18:15:28.000Z","size":276,"stargazers_count":17,"open_issues_count":1,"forks_count":4,"subscribers_count":11,"default_branch":"master","last_synced_at":"2024-01-25T05:12:29.663Z","etag":null,"topics":["aws-lambda","chromeless","jest","react-static","testing","visual-regression-testing"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/novemberfiveco.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null}},"created_at":"2017-11-09T13:36:26.000Z","updated_at":"2024-04-15T07:12:11.953Z","dependencies_parsed_at":null,"dependency_job_id":"fbd12727-7e57-42d7-8b72-e29279e0f732","html_url":"https://github.com/novemberfiveco/visual-regression-testing-jest-chromeless","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/novemberfiveco%2Fvisual-regression-testing-jest-chromeless","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/novemberfiveco%2Fvisual-regression-testing-jest-chromeless/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/novemberfiveco%2Fvisual-regression-testing-jest-chromeless/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/novemberfiveco%2Fvisual-regression-testing-jest-chromeless/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/novemberfiveco","download_url":"https://codeload.github.com/novemberfiveco/visual-regression-testing-jest-chromeless/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":223518472,"owners_count":17158689,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["aws-lambda","chromeless","jest","react-static","testing","visual-regression-testing"],"created_at":"2024-08-02T02:00:51.696Z","updated_at":"2024-11-07T13:12:33.059Z","avatar_url":"https://github.com/novemberfiveco.png","language":"JavaScript","funding_links":[],"categories":["Blog posts  (a-z↓)"],"sub_categories":[],"readme":"visual-regression-testing-jest-chromeless\n=========\nVisual regression testing using Jest, Chromeless and AWS Lambda.\n\n Blogpost: https://novemberfive.co/blog/visual-regression-testing-jest-chromeless-lambda/\n\n# Requirements\n- NodeJS version 6.x or greater\n- [yarn](https://yarnpkg.com)\n- Chrome or Chrome Canary installed (version 60 or greater)\n\n# Getting started\n\n1. Clone this repository\n2. Run `yarn`\n3. Build project using `yarn build`\n\n## Run tests locally\n- Execute `yarn serve` (production build) or `yarn start` (dev server) to serve your static site\n- Run `yarn test`\n\n## Run tests locally in headless-mode\n- Execute `yarn serve` (production build) or `yarn start` (dev server) to serve your static site\n- Run Chrome or Canary in headless mode:\n```\nalias chrome=\"/Applications/Google\\ Chrome.app/Contents/MacOS/Google\\ Chrome\"\nchrome --remote-debugging-port=9222 --disable-gpu --headless\n```\n- Run `yarn test:headless`\n\n## Run tests remote on AWS\n- Setup AWS Lambda following this instructions: https://github.com/graphcool/chromeless/tree/master/serverless#setup\n- Create a `.env` file in the root directory:\n```\nCHROMELESS_REMOTE_URL=https://xxxxxxxxxxx.execute-api.eu-central-1.amazonaws.com/dev/\nCHROMELESS_API_KEY=YOUR_AWS_API_KEY\n```\n- Run `yarn test:remote`","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnovemberfiveco%2Fvisual-regression-testing-jest-chromeless","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnovemberfiveco%2Fvisual-regression-testing-jest-chromeless","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnovemberfiveco%2Fvisual-regression-testing-jest-chromeless/lists"}