Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/yazidisme/cypress-advanced-single-scenario-example
Advanced single scenario testing sample using Cypress
https://github.com/yazidisme/cypress-advanced-single-scenario-example
automated-tests chai cypress end-to-end-testing javascript mocha
Last synced: about 1 month ago
JSON representation
Advanced single scenario testing sample using Cypress
- Host: GitHub
- URL: https://github.com/yazidisme/cypress-advanced-single-scenario-example
- Owner: yazidisme
- License: mit
- Created: 2018-05-06T10:18:08.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2018-06-02T07:28:02.000Z (over 6 years ago)
- Last Synced: 2024-11-05T23:33:29.309Z (3 months ago)
- Topics: automated-tests, chai, cypress, end-to-end-testing, javascript, mocha
- Language: JavaScript
- Homepage:
- Size: 599 KB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
## Best practice structure of cypress
* Best practice of element structure on login scenario testing
* Using [conditional](https://docs.cypress.io/guides/core-concepts/conditional-testing.html#Dynamic-Text) testing
* Run cypress using [command line](https://docs.cypress.io/guides/guides/command-line.html#cypress-run)
* [Screenshot](http://bit.ly/cypressusingcli) of test result on command line## Running test from command line
* [Install cypress](https://docs.cypress.io/guides/getting-started/installing-cypress.html#npm-install) on your project
* dir$ ./node_modules/.bin/cypress run or dir$ $(npm bin)/cypress run
* Example:cypress-best-practice-structure yazid$ ./node_modules/.bin/cypress run