Merge branch 'main' of https://github.com/helenanull/cypress-example into main
commit
d04bb6fd0e
@ -1 +1,15 @@
|
||||
# cypress-example
|
||||
# example tests using cypress __[and keeping it simple]__
|
||||
|
||||
# Setup
|
||||
|
||||
npm install
|
||||
|
||||
# run tests
|
||||
|
||||
//todo
|
||||
|
||||
__Following best practices__
|
||||
|
||||
0. KISS [keep it simple, stupid]
|
||||
2. Using shortcuts to test only one feature at a time
|
||||
3. Tests are easily readable - __not__ using page objects pattern but keeping selectors (only selectors) separately as they are not easily readable
|
||||
|
Loading…
Reference in New Issue