Skip to content

Cypress v12 with javascript, page object model, allure-report, dockerfile & Github actions

Notifications You must be signed in to change notification settings

faizaaslam/cypress-framework

Repository files navigation

Automation with Cypress

Cypress is a JavaScript-based test automation solution used for modern web automation. It enables us to create web test automation scripts and enables frontend developers and test automation engineers to write web tests in the de-facto web language that is JavaScript for web test automation. It runs inside the browser.

About this framework:

This framework is developed using the latest version of cypress: 12.17.4

Javascript is used to write test scripts. Page object design pattern is used to improve test case maintenance. For reporting, Allure framework is used to see the test execution results. Dockerfile is added to create an image of the framework & Github actions are used for CI/CD.

Configurations & Setups:

  • Clone the project and open it in an editor (VSCode/Webstorm)
  • Download and install the latest version of node

TesCases Executions

  • In the terminal, to install packages/dependencies run:
    npm install
  • To execute tests in headless mode, run:
    npm run test
  • To execute tests in headed mode:
    npm run test-headed
  • After execution, to generate reports:
    npm run report
  • About

    Cypress v12 with javascript, page object model, allure-report, dockerfile & Github actions

    Topics

    Resources

    Stars

    Watchers

    Forks

    Releases

    No releases published

    Packages

    No packages published