{"id":15433948,"url":"https://github.com/abhinaba-ghosh/cypress-e2e-boilerplate","last_synced_at":"2025-09-13T13:13:09.411Z","repository":{"id":103997085,"uuid":"263738587","full_name":"abhinaba-ghosh/cypress-e2e-boilerplate","owner":"abhinaba-ghosh","description":":fire: Cypress starter pack for UI + API automation [Cypress + Typescript + Allure +Docker + Jenkins]","archived":false,"fork":false,"pushed_at":"2020-06-07T11:01:52.000Z","size":449,"stargazers_count":9,"open_issues_count":0,"forks_count":4,"subscribers_count":1,"default_branch":"master","last_synced_at":"2024-10-18T08:34:39.490Z","etag":null,"topics":["allure","api","circleci","cypress","cypress-io","docker","e2e","jenkins","starter-kit","typescript","ui"],"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/abhinaba-ghosh.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":"2020-05-13T20:41:30.000Z","updated_at":"2023-07-16T13:00:42.000Z","dependencies_parsed_at":"2023-07-10T15:32:44.577Z","dependency_job_id":null,"html_url":"https://github.com/abhinaba-ghosh/cypress-e2e-boilerplate","commit_stats":{"total_commits":36,"total_committers":2,"mean_commits":18.0,"dds":"0.13888888888888884","last_synced_commit":"827b4947b81abdb4fd67c1857f8bf2d4cd921625"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/abhinaba-ghosh%2Fcypress-e2e-boilerplate","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/abhinaba-ghosh%2Fcypress-e2e-boilerplate/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/abhinaba-ghosh%2Fcypress-e2e-boilerplate/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/abhinaba-ghosh%2Fcypress-e2e-boilerplate/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/abhinaba-ghosh","download_url":"https://codeload.github.com/abhinaba-ghosh/cypress-e2e-boilerplate/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":249758557,"owners_count":21321550,"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":["allure","api","circleci","cypress","cypress-io","docker","e2e","jenkins","starter-kit","typescript","ui"],"created_at":"2024-10-01T18:36:17.980Z","updated_at":"2025-04-19T18:08:49.825Z","avatar_url":"https://github.com/abhinaba-ghosh.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# cy-fy\n\nCypress starter pack for UI and API automation testing. Simple and neat folder structure in combination with typescript will help you write test faster. The Jenkinsfile and Dockerfiles will guide you to setup the CI/CD pipeline quickly.\n\n## Get started\n\n#### System Requirement\n\n- Git (download form [here](https://git-scm.com/downloads))\n- Node (download from [here](https://nodejs.org/en/download/))\n- Java Run Time (download from [here](https://www.oracle.com/in/java/technologies/javase-downloads.html))\n- Chrome, Firefox and Edge\n\n#### Project setup\n\n- Git clone the project\n- install dependencies by `npm ci`\n\n#### Test configuration setup\n\n#### Test configuration\n\n- UI test environment file is located at `config/ui.config.json`\n- API test environment file is located at `config/api.config.json`\n\n## Run Tests\n\n#### Run UI test scenarios\n\n```js\n// this will clean and run the UI cucumber scenarios in headless mode\nnpm run cy:e2e\n\n// At the time of develop test code, you may want to see and debug the execution\nnpm run cy:ui:dev\n```\n\n#### Run tests in multiple browsers\n\n```js\n// by-default test will be triggered in Electron\nnpm run cy:ui:run\n\n// to run in chrome\nnpm run cy:ui:run -- --browser chrome\n\n// to run in firefox\nnpm run cy:ui:run -- --browser firefox\n\n// to run in edge\nnpm run cy:ui:run -- --browser edge\n```\n\n#### Run API test scenarios\n\n```js\nnpm run cy:api\n```\n\n## Generate Reports\n\nAs this project deals with both API and UI, reports will be generated differently rather dumping everything into the same file.\n\n```js\n// to generate UI allure reports\nnpm run report:ui\n\n// to generate API allure reports\nnpm run report:api\n```\n\n## Lint test codes\n\nLinting is a great way to maintain coding standards and quality across the project. Here we use ESLint to ensure the same.\n\n```js\nnpm run lint\n```\n\n## Folder structure\n\n```bash\n├── cypress\n│   ├── fixtures\n│   ├── integration\n│   │  ├── api\n│   │      ├── **/*.spec.ts\n│   │  ├── ui\n│   │      ├── pages\n│   │      ├── specs\n│   ├── plugins\n│   ├── support\n```\n\n- _**fixures**_: fixtures are used as external pieces of static data that can be used by your tests. Read more [here](https://docs.cypress.io/guides/core-concepts/writing-and-organizing-tests.html#Fixture-Files)\n- _**plugins**_: plugin file contains the helper libraries to achieve a specific tasks. Different cypress plugins can be found [here](https://docs.cypress.io/plugins/index.html)\n- _**support**_: By default Cypress will automatically include the support file cypress/support/index.js. This file runs before every single spec file.\n- _**integration**_: integration folder contains the actual tests. The ui test scenarios are stored in `ui` folder. `specs` folder contains all test files. `pages` folder contains all page actions. `api` folder contains all api test cases.\n\n## Quick guide to write tests\n\n## Generate reports\n\nReports will be generated separately for API and UI test cases but will have the same essence of Allure.\n\n![allure-report](./docs/allure-report.png)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fabhinaba-ghosh%2Fcypress-e2e-boilerplate","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fabhinaba-ghosh%2Fcypress-e2e-boilerplate","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fabhinaba-ghosh%2Fcypress-e2e-boilerplate/lists"}