Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/remarkablemark/cypress-cucumber-example

:cucumber: Cypress and Cucumber demo.
https://github.com/remarkablemark/cypress-cucumber-example

automation bdd cucumber cypress end-to-end-testing feature-file gherkin javascript nodejs testing

Last synced: about 2 months ago
JSON representation

:cucumber: Cypress and Cucumber demo.

Awesome Lists containing this project

README

        

# cypress-cucumber-example

[![end-to-end](https://github.com/remarkablemark/cypress-cucumber-example/actions/workflows/end-to-end.yml/badge.svg)](https://github.com/remarkablemark/cypress-cucumber-example/actions/workflows/end-to-end.yml)
![GitHub last commit](https://img.shields.io/github/last-commit/remarkablemark/cypress-cucumber-example)

Examples of using [Cypress](https://www.cypress.io/) with [Cucumber](https://cucumber.io/). Inspired by [cypress-cucumber-example](https://github.com/TheBrainFamily/cypress-cucumber-example). Watch [YouTube video](https://youtu.be/YV3qPvhJ-rg).

Dependencies:

- [cypress](https://www.npmjs.com/package/cypress)
- [cypress-cucumber-preprocessor](https://www.npmjs.com/package/cypress-cucumber-preprocessor)
- [cypress-xpath](https://www.npmjs.com/package/cypress-xpath)

## Prerequisites

- [Node.js](https://nodejs.org/)
- [Yarn](https://classic.yarnpkg.com/)

## Install

Clone repository:

```sh
git clone https://github.com/remarkablemark/cypress-cucumber-example.git
cd cypress-cucumber-example
```

Install dependencies:

```sh
yarn
```

## Run

Open Cypress:

```sh
yarn cypress:open
```

Run Cypress:

```sh
yarn cypress:run
```

## License

[MIT](LICENSE)