Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/mohamedatef2020/cypress-task

This is an E2E test written in Cypress and Cucumber
https://github.com/mohamedatef2020/cypress-task

cucumber cypress e2e

Last synced: about 1 month ago
JSON representation

This is an E2E test written in Cypress and Cucumber

Awesome Lists containing this project

README

        

**Prerequisites:**
- You need to have nodejs and npm installed on your machine

**Running the Tests:**
- You will need to install the node modules using:
```
npm install
```

- To run the functional tests in the interactive mode please use:
```
npm run cypress:open
```

or use:
```
npx cypress open
```

Then choose the feature file to run

- To run the functional tests in the console please use:
```
npm run cypress:run
```

### Notes:
- If you faced permission errors on linux try deleting videos folder inside cypress
- The tests are configured to retry for two times if they fail to avoid false negative
- The test on the master branch is written using Cucumber syntax while the test on the `objectModel` branch is written using the page object model (POM) design
- Test is configured to take screenshot & save a screen recording if it failed while running in the console for easy debugging