{"id":15743131,"url":"https://github.com/waseemofficial/cypress_js","last_synced_at":"2026-05-17T06:32:34.595Z","repository":{"id":204194692,"uuid":"708338232","full_name":"waseemofficial/Cypress_js","owner":"waseemofficial","description":"Software testing in JavaScript using Cypress","archived":false,"fork":false,"pushed_at":"2025-07-23T12:20:13.000Z","size":55,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-10-24T13:28:22.835Z","etag":null,"topics":["cypress","javascript","json","test-automation"],"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/waseemofficial.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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2023-10-22T09:04:15.000Z","updated_at":"2025-07-23T12:20:17.000Z","dependencies_parsed_at":null,"dependency_job_id":"405dbf52-7e92-4bbf-99e4-284ae0acd3ce","html_url":"https://github.com/waseemofficial/Cypress_js","commit_stats":{"total_commits":16,"total_committers":1,"mean_commits":16.0,"dds":0.0,"last_synced_commit":"52c62b9492dfe61a7bf0e93fb43aaa3413cae18e"},"previous_names":["waseemofficial/cypress_js"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/waseemofficial/Cypress_js","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/waseemofficial%2FCypress_js","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/waseemofficial%2FCypress_js/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/waseemofficial%2FCypress_js/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/waseemofficial%2FCypress_js/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/waseemofficial","download_url":"https://codeload.github.com/waseemofficial/Cypress_js/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/waseemofficial%2FCypress_js/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33129247,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-17T06:27:06.342Z","status":"ssl_error","status_checked_at":"2026-05-17T06:26:59.432Z","response_time":107,"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","javascript","json","test-automation"],"created_at":"2024-10-04T03:01:26.799Z","updated_at":"2026-05-17T06:32:34.558Z","avatar_url":"https://github.com/waseemofficial.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cp align=\"center\" \u003e\n\u003cdiv align=\"center\" \u003e\n\u003cimg src=\"https://github.com/waseemofficial/DSA_Python/blob/main/Images/github_logo_blue.png\"/\u003e\n\u003c/div\u003e\n\n\u003cdiv align=\"center\"\u003e\n\u003ca href=\"https://github.com/waseemofficial\"\u003e\n\u003cimg src=\"https://img.shields.io/badge/syed-waseem-93b023?\u0026style=for-the-badge\u0026logo=\u0026logoColor=white\"/\u003e\u003c/a\u003e\n\u003cimg src=\"https://img.shields.io/badge/gitlab-%23181717.svg?style=for-the-badge\u0026logo=gitlab\u0026logoColor=white\"/\u003e\n\u003cimg src=\"https://img.shields.io/badge/Cypress-%23181717.svg?style=for-the-badge\u0026logo=cypress\u0026logoColor=green\"/\u003e\n\u003cimg src=\"https://img.shields.io/badge/Visual%20Studio%20Code-0078d7.svg?style=for-the-badge\u0026logo=visual-studio-code\u0026logoColor=white\"/\u003e\n\u003cimg src=\"https://img.shields.io/badge/markdown-%23000000.svg?style=for-the-badge\u0026logo=markdown\u0026logoColor=white\"/\u003e\n\u003c/div\u003e\u003c/p\u003e\n\n\n\u003cdiv align=\"center\"\u003e\n\u003cimg src=\"https://img.shields.io/github/license/waseemofficial/Cypress_js.svg?style=flat\"/\u003e \u003cimg src=\"https://img.shields.io/github/stars/waseemofficial/Cypress_js.svg?colorB=orange\u0026style=flat\"/\u003e \u003cimg sec=\"https://img.shields.io/github/languages/top/waseemofficial/Cypress_js.svg?style=flat\"/\u003e \u003cimg src=\"https://img.shields.io/github/languages/code-size/waseemofficial/Cypress_js.svg?style=flat\"/\u003e \u003cimg src=\"https://img.shields.io/github/issues-raw/waseemofficial/Cypress_js.svg?style=flat\" /\u003e\n\u003c/div\u003e\n\n\u003cdiv align=\"center\"\u003e \n\n### Languages\n\n![JavaScript](https://img.shields.io/badge/-JavaScript-000?\u0026logo=JavaScript)\n![SQL](https://img.shields.io/badge/-SQL-000?\u0026logo=MySQL)\n![Bash](https://img.shields.io/badge/-Bash-000?\u0026logo=gnu-bash\u0026logoColor=white)\n![Bash](https://img.shields.io/badge/-markdown-000?\u0026logo=markdown)\n\n\n\n### Technologies\n\n![Docker](https://img.shields.io/badge/-Docker-000?\u0026logo=Docker)\n![Linux](https://img.shields.io/badge/-Linux-000?\u0026logo=Linux)\n![Node.js](https://img.shields.io/badge/-Node.js-000?\u0026logo=node.js)\n![React](https://img.shields.io/badge/-React-000?\u0026logo=React)\n![Cypress](https://img.shields.io/badge/-Postman-000?\u0026logo=Postman)\n![Cypress](https://img.shields.io/badge/-Cypress-000?\u0026logo=Cypress)\n![GitHub](https://img.shields.io/badge/-GitHub-000?\u0026logo=GitHub)\n![GitHub](https://img.shields.io/badge/-Selenium-000?\u0026logo=Selenium)\n![GitHub](https://img.shields.io/badge/-Regex-000?\u0026logo=Regex)\n![GithubActions](https://img.shields.io/badge/-GithubActions-000?\u0026logo=GithubActions)\n\u003c/div\u003e\n\u003cdiv align=\"center\"\u003e\n \n# Cypress\n\n\u003c/div\u003e\n\n## Cypress JavaScript Automation Framework\n\nThis repository contains an automation framework for end-to-end testing of web applications using Cypress and JavaScript. The framework is designed to provide a robust, scalable, and maintainable solution for modern web application testing.\n\n## Features\n\n- Cypress Integration: Leverages the power of Cypress for fast, reliable, and easy-to-write tests.\n\n- Page Object Model (POM) Design Pattern: Promotes modularity and reusability by separating test logic from page-specific logic.\n\n- Custom Commands: Extends Cypress functionality with custom commands for reusable actions.\n\n- Fixtures for Test Data: Uses JSON files for managing test data, ensuring clean and maintainable test scripts.\n\n- Cross-Browser Testing: Supports testing across multiple browsers (Chrome, Firefox, Edge, etc.).\n\n- CI/CD Ready: Easily integrates with CI/CD tools like GitHub Actions, Jenkins, or CircleCI.\n\n- Detailed Reporting: Generates comprehensive test execution reports using Mochawesome.\n\n## Prerequisites\n\nBefore running the tests, ensure you have the following installed:\n\n- Node.js (v14 or higher)\n\n- npm (Node Package Manager)\n\n- Cypress (installed via npm)\n\n- IDE (Visual Studio Code, WebStorm, or any preferred IDE)\n\n## Setup Instructions\n\nClone the Repository:\n\n```bash\n   \n    git clone https://github.com/waseemofficial/Cypress_js.git\n    cd Cypress_js\n```\n### Install Dependencies:\n\nRun the following command to install all required dependencies:\n\n\u003e:information_source: **Information**\n\u003e\n\u003enpm install cypress --save-dev\n\n```bash\n    npm install\n\n    Run Tests:\n```\n\n### Execute the tests using the following command:\n\n```bash\n   \n    npx cypress run\n```\n\n### To open the Cypress Test Runner in interactive mode, use:\n\n```bash\n    npx cypress open\n```\n## Project Structure\n\n```\nCypress_js/\n├── cypress/\n│   ├── e2e/                       # Test specs\n│   ├── fixtures/                  # Test data (e.g., JSON files)\n│   ├── pages/                     # Page classes for POM\n│   ├── plugins/                   # Cypress plugins\n│   ├── support/                   # Custom commands and utilities\n│   └── videos/                    # Recorded test executions\n├── cypress.config.js              # Cypress configuration file\n├── package.json                   # npm dependencies and scripts\n├── README.md                      # Project documentation\n└── .gitignore                     # Files and directories to ignore\n```\n\n## Example Test\n\nHere’s an example of a test case using the Cypress framework:\n\n```javascript\n\n\nimport LoginPage from '../pages/LoginPage';\nimport HomePage from '../pages/HomePage';\n\ndescribe('Login Test Suite', () =\u003e {\n  it('should log in successfully with valid credentials', () =\u003e {\n    const loginPage = new LoginPage();\n    const homePage = new HomePage();\n\n    loginPage.visit();\n    loginPage.enterUsername('testuser');\n    loginPage.enterPassword('password123');\n    loginPage.clickLoginButton();\n    homePage.verifyWelcomeMessage('Welcome, testuser!');\n  });\n});\n```\n## Custom Commands\n\nCustom commands are defined in cypress/support/commands.js to simplify repetitive tasks. Example:\n\n```javascript\n\nCypress.Commands.add('login', (username, password) =\u003e {\n  cy.get('#username').type(username);\n  cy.get('#password').type(password);\n  cy.get('#login-button').click();\n});\n```\n## Reports\n\nAfter test execution, detailed reports are generated using Mochawesome. You can find the reports in the cypress/reports directory. To generate and view the report, run:\n\n```bash\nnpx cypress run --reporter mochawesome\n```\n## CI/CD Integration\n\nThis framework is CI/CD-ready and can be integrated with tools like GitHub Actions, Jenkins, or CircleCI. Example GitHub Actions workflow (.github/workflows/cypress-tests.yml):\n\n```yaml\n\nname: Cypress Tests\non: [push]\njobs:\n  test:\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkout code\n        uses: actions/checkout@v2\n      - name: Install dependencies\n        run: npm install\n      - name: Run Cypress tests\n        run: npx cypress run --headless\n```\n\n## Contributing\n\nContributions are welcome! If you'd like to contribute, please follow these steps:\n\n- Fork the repository.\n\n- Create a new branch for your feature or bugfix.\n  \n- Submit a pull request with a detailed description of your changes.\n\n## License\n\nThis project is licensed under the MIT License. See the LICENSE file for details.\n\n\n\u003cdiv class=\"alert alert-danger\" role=\"alert\"\u003e\n    \u003cdiv class=\"row vertical-align\"\u003e\n        \u003cdiv class=\"col-xs-1 text-center\"\u003e\n            \u003ci class=\"fa fa-exclamation-triangle fa-2x\"/\u003e\n        \u003c/div\u003e\n        \u003cdiv class=\"col-xs-11\"\u003e\n            \u003cstrong\u003eError:\u003c/strong\u003e\n        \u003c/div\u003e\n    \u003c/div\u003e\n\u003c/div\u003e\n\n\n[![cypress](https://img.shields.io/endpoint?url=https://cloud.cypress.io/badge/simple/xvvhay/develop\u0026style=flat\u0026logo=cypress)](https://cloud.cypress.io/projects/xvvhay/runs)\n\n[![cypress](https://img.shields.io/endpoint?url=https://cloud.cypress.io/badge/count/xvvhay/develop\u0026style=flat\u0026logo=cypress)](https://cloud.cypress.io/projects/xvvhay/runs)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwaseemofficial%2Fcypress_js","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwaseemofficial%2Fcypress_js","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwaseemofficial%2Fcypress_js/lists"}