{"id":15552303,"url":"https://github.com/bahmutov/cypress-sendgrid-visual-testing-example","last_synced_at":"2025-09-28T22:30:35.712Z","repository":{"id":37030895,"uuid":"368870856","full_name":"bahmutov/cypress-sendgrid-visual-testing-example","owner":"bahmutov","description":"Visual testing for HTML emails sent via SendGrid design templates","archived":false,"fork":false,"pushed_at":"2024-10-23T08:04:09.000Z","size":1242,"stargazers_count":3,"open_issues_count":9,"forks_count":1,"subscribers_count":2,"default_branch":"main","last_synced_at":"2024-10-24T15:54:35.983Z","etag":null,"topics":["cypress-email-example","cypress-example"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/bahmutov.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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,"publiccode":null,"codemeta":null}},"created_at":"2021-05-19T13:00:53.000Z","updated_at":"2023-09-25T00:14:47.000Z","dependencies_parsed_at":"2023-12-30T22:26:16.336Z","dependency_job_id":"e3c9a47d-84b3-4df9-9185-04c5a1b6879f","html_url":"https://github.com/bahmutov/cypress-sendgrid-visual-testing-example","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/bahmutov%2Fcypress-sendgrid-visual-testing-example","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bahmutov%2Fcypress-sendgrid-visual-testing-example/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bahmutov%2Fcypress-sendgrid-visual-testing-example/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bahmutov%2Fcypress-sendgrid-visual-testing-example/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bahmutov","download_url":"https://codeload.github.com/bahmutov/cypress-sendgrid-visual-testing-example/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":234565370,"owners_count":18853283,"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":["cypress-email-example","cypress-example"],"created_at":"2024-10-02T14:15:09.248Z","updated_at":"2025-09-28T22:30:35.318Z","avatar_url":"https://github.com/bahmutov.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# cypress-sendgrid-visual-testing-example ![cypress version](https://img.shields.io/badge/cypress-8.3.1-brightgreen)\n\u003e Visual testing for HTML emails sent via SendGrid dynamic transactional templates\n\n## Prerequisites\n\nSendGrid account with API key and a verified email sender, see [this doc](https://sendgrid.com/docs/for-developers/sending-email/quickstart-nodejs/)\n\n## Install\n\n```shell\n$ npm install\n```\n\n## Run\n\nStart the server locally with injected `SENDGRID_API_KEY` and `SENDGRID_FROM` environment variables.\n\n```\nSENDGRID_API_KEY=... SENDGRID_FROM=... npm start\n```\n\n**Tip:** use [as-a](https://github.com/bahmutov/as-a) utility\n\n```shell\n$ as-a cypress-sendgrid-visual-testing-example npm start\n```\n\nWhen running the tests locally if we want to send visual results to Percy we need the `PERCY_TOKEN` environment variable.\n\n```shell\n# without visual tests\n$ npx cypress open\n# with visual tests\n$ PERCY_TOKEN=... npx percy exec -- npx cypress open\n$ as-a cypress-sendgrid-visual-testing-example-percy npx percy exec -- npx cypress open\n```\n\nYou can find the Percy visual results at [percy.io/bahmutov/cypress-sendgrid-visual-testing-example](https://percy.io/bahmutov/cypress-sendgrid-visual-testing-example)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbahmutov%2Fcypress-sendgrid-visual-testing-example","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbahmutov%2Fcypress-sendgrid-visual-testing-example","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbahmutov%2Fcypress-sendgrid-visual-testing-example/lists"}