Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

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

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