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

https://github.com/mehradi-github/ref-cypress

E2E Testing with Cypress
https://github.com/mehradi-github/ref-cypress

Last synced: about 1 year ago
JSON representation

E2E Testing with Cypress

Awesome Lists containing this project

README

          

# E2E Testing with Cypress

[Cypress](https://docs.cypress.io/guides/getting-started/installing-cypress) is a next generation front end testing tool built for the modern web. We address the key pain points developers and QA engineers face when testing modern applications.

```sh
pnpm add cypress typescript @types/typescript -D
pnpm tsc --init
```

## Requirments

### Install Vagrant

Vagrant is a tool for building complete development environments. With an easy-to-use workflow and focus on automation, Vagrant lowers development environment setup time, increases development/production parity, and makes the "it works on my machine" excuse a relic of the past.
for more detailes follow this link: [Install Vagrant](https://github.com/mehradi-github/ref-terraform#install-vagrant)

### Installing Jenkins(LTS)

[Jenkins](https://github.com/mehradi-github/ref-jenkins?tab=readme-ov-file#using-jenkins-in-devops) is a self-contained, open source automation server which can be used to automate all sorts of tasks related to building, testing, and delivering or deploying software.
For more detailes follow this link: [Installing Jenkins(LTS)](https://github.com/mehradi-github/ref-jenkins?tab=readme-ov-file#installing-jenkinslts) .

## Installing extention for Cucumber

Installing extention: Cucumber (Gherkin) Full Support
edit file: ~/.config/Code/User/settings.json

```json
{
// ...
"cucumberautocomplete.customParameters": [],
"cucumberautocomplete.strictGherkinCompletion": true,
"cucumberautocomplete.steps": ["cypress/support/step_definiations/*.ts"]
}
```