Code Monkey home page Code Monkey logo

cypress-web-automation-cura's Introduction

About This Project

This repository contains end-to-end web automation tests using Cypress for CURA Healthcare Service. These tests ensure the functionality and reliability of healthcare services regarding logging in and making an appointment.

Prerequisites

Before getting started, make sure to have the following software and tools installed on your machine:

  • Node.js: JavaScript runtime environment
  • npm: Node.js package manager

Installation

  1. Clone this repository:

    git clone https://github.com/your-username/your-repo.git
    cd cypress-web-automation
  2. project dependencies: npm install

How to Use

Writing Tests

You can write your test cases in the cypress directory. Each .cy.js file contains test cases. You can use custom commands defined in cypress/support/ to improve test readability and maintainability.

Running Tests

To run the tests, use the Cypress Test Runner:

npx cypress open

This will open the Cypress Test Runner, where you can select and run your test files.

Customizing Configuration

You can customize Cypress configurations by editing the cypress.json or cypress.config.js files. These configurations include browser settings, environment variables, and more.

Generating Test Reports

This project uses the Mochawesome reporter to generate test reports. The reports are saved in the cypress/reports directory. You can customize the report filename and directory in cypress.config.js.

To generate HTML reports manually, use the following commands: npx mochawesome-merge cypress/reports/*.json > merged-report.json npx mochawesome-report-generator merged-report.json

image

cypress-web-automation-cura's People

Contributors

ashikab avatar fayrose96 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.