{"id":20681623,"url":"https://github.com/dually8/cypress-template","last_synced_at":"2026-04-23T10:33:55.548Z","repository":{"id":76869049,"uuid":"534885438","full_name":"dually8/cypress-template","owner":"dually8","description":"This project is more or less a template for setting up cypress in any given JS/TS app.","archived":false,"fork":false,"pushed_at":"2024-07-21T15:24:31.000Z","size":415,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-03-10T20:45:48.776Z","etag":null,"topics":["cypress","template","testing"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","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/dually8.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,"publiccode":null,"codemeta":null}},"created_at":"2022-09-10T04:01:12.000Z","updated_at":"2024-07-21T15:24:35.000Z","dependencies_parsed_at":null,"dependency_job_id":"7e916ff5-de5c-4bf2-b9e6-3a942f9af20e","html_url":"https://github.com/dually8/cypress-template","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/dually8/cypress-template","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dually8%2Fcypress-template","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dually8%2Fcypress-template/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dually8%2Fcypress-template/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dually8%2Fcypress-template/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dually8","download_url":"https://codeload.github.com/dually8/cypress-template/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dually8%2Fcypress-template/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32176759,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-23T02:19:40.750Z","status":"ssl_error","status_checked_at":"2026-04-23T02:17:55.737Z","response_time":53,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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","template","testing"],"created_at":"2024-11-16T22:11:29.668Z","updated_at":"2026-04-23T10:33:50.523Z","avatar_url":"https://github.com/dually8.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Cypress Template\n\nThis is a template project that shows how to setup Cypress with a React project.\n\n## Getting Started\n\n1. Install [NodeJS 16.x](https://nodejs.org/en/download/)\n2. Run `npm install`\n3. Run `npm run e2e`\n\n## Adding Cypress To A New Project\n\n1. Run `npm i --save-dev cypress`\n2. Run `npx cypress open` to open cypress for the first time\n3. Go through the setup, select E2E testing and have cypress auto generate the given files.\n4. Create a new `tsconfig.json` in the `cypress/` directory. Feel free to use this project's `cypress/tsconfig.json` as a template.\n\nIf you're looking to add custom commands, you'll need to do the following:\n\n1. Create a file `cypress/global.d.ts` to hold your typings.\n2. In your `cypress/support/commands.ts` file, add your custom command. Your typings for that will go in the `global.d.ts` you created earlier.\n\nI also like to setup interceptors as a function, as seen in [`utils.ts`](cypress/support/utils.ts). This lets me import it and use it in a `beforeEach` block in my tests.\n\nFor scripting, I like to add [concurrently](https://www.npmjs.com/package/concurrently) and sometimes [cross-env](https://www.npmjs.com/package/cross-env), depending on the situation.\n\nThis allows me to add scripts like `e2e` and `e2e:watch` as seen in this project's [`package.json`](package.json).\n\n## Further Reading\n\n- [Create React App](https://create-react-app.dev/docs/getting-started/)\n- [Cypress](https://docs.cypress.io/guides/overview/why-cypress)\n- [Cypress Real World App](https://github.com/cypress-io/cypress-realworld-app)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdually8%2Fcypress-template","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdually8%2Fcypress-template","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdually8%2Fcypress-template/lists"}