Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/mohamedatef2020/cypress-task
- Owner: mohamedatef2020
- Created: 2022-01-10T20:01:49.000Z (almost 3 years ago)
- Default Branch: master
- Last Pushed: 2022-08-18T20:16:30.000Z (over 2 years ago)
- Last Synced: 2024-04-15T13:51:08.187Z (9 months ago)
- Topics: cucumber, cypress, e2e
- Language: JavaScript
- Homepage:
- Size: 168 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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