Skip to content

Example setup and exercises for Cypress testing framework

Notifications You must be signed in to change notification settings

hulilabs/cypress-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

cypress-example

Setup sample for exercises

Overview

This repository contains a setup example for Cypress, a JavaScript end-to-end testing framework. It includes sample tests and configurations to help you get started with writing and running tests using Cypress.

Prerequisites

  • Node.js (version 20 or later)
  • npm (version 9 or later)

Installation

  1. Clone the repository:

    git clone https://github.com/hulilabs/cypress-example.git
  2. Navigate to the project directory:

    cd cypress-example
  3. Install the dependencies:

    npm install

Running Tests

To run the Cypress tests, use the following command:

npx cypress open

This will open the Cypress Test Runner, where you can select and run the tests.

Writing Tests

You can write your tests in the cypress/integration directory. Refer to the Cypress documentation for more details on writing tests: https://docs.cypress.io/guides/overview/why-cypress

Contributing

Contributions are welcome! Please open an issue or submit a pull request for any improvements or bug fixes.

About

Example setup and exercises for Cypress testing framework

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published