Professional Documents
Culture Documents
Automation
What is Cypress?
Cypress is a next generation front end testing tool built for the modern web.
We address the key pain points developers and QA engineers face when
testing modern applications.
Set up tests
Write tests
Run tests
Debug Tests
Note: This enables you to write faster, easier and more reliable tests.
Why Cypress?
● Test Runner
● Dashboard service
● Large ecosystem
● CI Provider
● Automatic Waiting
● Cross browser Testing
Setting up Tests
● Installing Cypress
● Writing tests
● Running tests
● Debugging tests
Organizing Tests
● End-to-end
● Component
● API
Through a large number of official and 3rd party plugins you can write
Cypress allys, visual, email and other types of tests.
Essential functions
● then( )
● wrap( )
● each( )
Navigation in Cypress
● Forward navigation.
● Backward navigation.
Cypress Hooks
● Plugins enable you to tap into the Node process running outside of
the browser.
● should( )
● and( )
Explicit assertion
● expect( )
● assert( )
Page Object Model
POM is a design principle that suggests to keep the objects and methods
separate from the test scripts.
Thank You
- Sagnick Biswas