{"id":17858553,"url":"https://github.com/asadhasan/cypress-react-component-testing","last_synced_at":"2026-02-17T15:32:20.257Z","repository":{"id":37789088,"uuid":"442260603","full_name":"AsadHasan/cypress-react-component-testing","owner":"AsadHasan","description":"Using Cypress to do component testing of basic React components (created via create-react-app, and deployed on Heroku via Terraform).","archived":false,"fork":false,"pushed_at":"2023-02-27T21:31:44.000Z","size":1948,"stargazers_count":0,"open_issues_count":5,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-07T21:51:41.489Z","etag":null,"topics":["create-react-app","cypress-component-testing","dependabot","docker","docker-compose","eslint","heroku","javascript","multi-stage-docker","npm","prettier","react","terraform-heroku"],"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/AsadHasan.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":"2021-12-27T19:59:43.000Z","updated_at":"2022-01-13T18:48:39.000Z","dependencies_parsed_at":"2024-10-28T05:52:37.631Z","dependency_job_id":"308beab4-3cc6-43dd-9b56-02c5129e3ee1","html_url":"https://github.com/AsadHasan/cypress-react-component-testing","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/AsadHasan/cypress-react-component-testing","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AsadHasan%2Fcypress-react-component-testing","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AsadHasan%2Fcypress-react-component-testing/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AsadHasan%2Fcypress-react-component-testing/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AsadHasan%2Fcypress-react-component-testing/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/AsadHasan","download_url":"https://codeload.github.com/AsadHasan/cypress-react-component-testing/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AsadHasan%2Fcypress-react-component-testing/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279002623,"owners_count":26083425,"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","status":"online","status_checked_at":"2025-10-10T02:00:06.843Z","response_time":62,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["create-react-app","cypress-component-testing","dependabot","docker","docker-compose","eslint","heroku","javascript","multi-stage-docker","npm","prettier","react","terraform-heroku"],"created_at":"2024-10-28T05:22:06.740Z","updated_at":"2025-10-10T03:34:48.873Z","avatar_url":"https://github.com/AsadHasan.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Cypress React Component Tests\n\nBasic component tests using the currently experimental `Cypress Component Testing` library, to test individual `React` components of a very basic app (which calls the NASA 'picture of the day' API, and displays image title as heading and the image itself, and offers a button to toggle the detailed description of the image) created using the `Create-React-App` tool and deployed on Heroku (https://simple-react-app-123456.herokuapp.com/). Heroku deployed is managed via Terraform.\n\n## Run the app locally\n\n**Prerequisites**: Environment variables `REACT_APP_URL` (API base url) and `REACT_APP_API_KEY` (API key for the API) need to be defined.\n\nApp can be run by either of following methods:\n\n- Via npm: Run `npm start`\n- Via `docker-compose`: Run `docker-compose up`\n\n## Running component tests\n\nRun `npm test`\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fasadhasan%2Fcypress-react-component-testing","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fasadhasan%2Fcypress-react-component-testing","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fasadhasan%2Fcypress-react-component-testing/lists"}