{"id":16946346,"url":"https://github.com/abritopach/ionic-cypress","last_synced_at":"2026-02-14T09:39:16.837Z","repository":{"id":38684010,"uuid":"211150459","full_name":"abritopach/ionic-cypress","owner":"abritopach","description":"Sample project that shows how to integrate \u0026 use Cypress in Ionic app.","archived":false,"fork":false,"pushed_at":"2023-01-07T10:07:25.000Z","size":2041,"stargazers_count":0,"open_issues_count":26,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-10-09T12:42:43.647Z","etag":null,"topics":["cypress","e2e-testing","e2e-tests","ionic","ionic4","typescript"],"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/abritopach.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}},"created_at":"2019-09-26T17:57:41.000Z","updated_at":"2019-09-27T16:08:35.000Z","dependencies_parsed_at":"2023-02-06T21:16:15.610Z","dependency_job_id":null,"html_url":"https://github.com/abritopach/ionic-cypress","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/abritopach/ionic-cypress","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/abritopach%2Fionic-cypress","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/abritopach%2Fionic-cypress/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/abritopach%2Fionic-cypress/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/abritopach%2Fionic-cypress/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/abritopach","download_url":"https://codeload.github.com/abritopach/ionic-cypress/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/abritopach%2Fionic-cypress/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29442128,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-14T07:24:13.446Z","status":"ssl_error","status_checked_at":"2026-02-14T07:23:58.969Z","response_time":53,"last_error":"SSL_read: 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","e2e-testing","e2e-tests","ionic","ionic4","typescript"],"created_at":"2024-10-13T21:27:12.405Z","updated_at":"2026-02-14T09:39:16.819Z","avatar_url":"https://github.com/abritopach.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# IonicCypress\n\nSample project that shows how to integrate \u0026 use Cypress in Ionic app.\n\nTechnologies: Cypress, Ionic, TypeScript.\n\n![Technologies](readme_resources/technologies.png \"Technologies\")\n\n## Considerations\n\nCurrently cypress not support shadow dom and this issue is known by more than 2.5 years (https://github.com/cypress-io/cypress/issues/144).\n\nTo test shadow dom it is necessary to use [cypress-shadow-dom package](https://github.com/abramenal/cypress-shadow-dom).\n\n### cypress-shadow-dom\n\nExtend Cypress commands with shadow DOM support.\n\nThis package adds a custom Cypress command that allows you to make an abstraction on how exactly you upload files through you HTML controls and focus on testing the functionality.\n\n## Cypress E2E tests\n\nTests are located in cypress/integration/home folder.\n\nExample test\n\n```bash\n    it('Button is enabled when input is not empty', () =\u003e {\n        cy.get('ion-button')\n        .should('have.attr', 'disabled')\n        .shadowGet('ion-item') // Querying shadow DOM elements using cypress-shadow-dom package\n        .get('ion-input')\n        .get('input')\n        .type('SomeText')\n        .get('ion-button')\n        .should('not.have.attr', 'disabled');\n    });\n```\n\n## Running\n\nBefore you go through this example, you should have at least a basic understanding of Ionic concepts. You must also already have Ionic installed on your machine.\n\n* Test in localhost:\n\nTo run it, cd into `ionic-cypress` and run:\n\n```bash\nnpm install\nionic serve\n```\n\nTo run the e2e cypress tests open new terminal and run:\n\n```bash\nnpm run cypress\n```\n\n## Requirements\n\n* [Node.js](http://nodejs.org/)\n* [Ionic](https://ionicframework.com/getting-started#cli)\n* [Cypress](https://www.cypress.io/)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fabritopach%2Fionic-cypress","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fabritopach%2Fionic-cypress","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fabritopach%2Fionic-cypress/lists"}