Skip to content

MB1lal/CypressAutomation

Repository files navigation

Cypress Testing Project for Heroku App

Cypress Tests

pages-build-deployment

Cypress Logo

This repository contains a Cypress testing project for automated end-to-end testing of the Heroku App. It demonstrates how to write and run Cypress tests for web applications.

Table of Contents

Getting Started

Prerequisites

Make sure you have Node.js and npm installed on your local development machine.

Installation

  1. Clone this repository to your local machine:

    git clone https://github.com/your-username/heroku-cypress-testing.git

Running Tests Locally

To run Cypress tests locally, use the following command: npx cypress run --e2e

Running Tests in Headless Mode

To run Cypress tests in headless mode (non-interactive) for continuous integration (CI) or automation purposes, use the following command:

npx cypress run --e2e --headless

Configuration

Cypress configuration options can be found in the cypress.json file. Adjust the base URL and other settings as needed.

GitHub Actions Integration

This project includes a GitHub Actions workflow to automate the execution of Cypress tests. The workflow is defined in the .github/workflows/main.yml file.

When you push changes to your repository, GitHub Actions will automatically run the Cypress tests as specified in the workflow file.

Report

The report is generated by cypress-mochawesome-reporter and is uploaded to github pages though github actions pipeline.

URL: https://mb1lal.github.io/CypressAutomation/

Dependencies

  • Cypress: Cypress
  • cypress-downloadfile: cypress-downloadfile
  • cypress-file-upload: cypress-file-upload
  • cypress-mochawesome-reporter: cypress-mochawesome-reporter
  • cypress-real-events: cypress-real-events

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published