[Internship] Cypress E2E Web Automation | Introduction | 2022 Series
Frontend web automation testing tool.
Modern web applications.
React Js, Angular Js
Any application which runs on the browser
Javascript
Doesn't use any selenium.
Open-source.
Test runner - free
Dashboard - paid
basically, it's a node.js environment
So it's Node.js and comes with npm modules.
Who can use cypress - Dev & QA
1. End-to-end test cases -QA
2. Integration tests -dev
3. Unit test cases -dev
4. API testing -QA
cypress eco system
1. test runner - open source, locally installed
2. dashboard - we can record the history of testing and keep the track of it
Features
1. time travel - we can just move forward or repeat, anything
2. debuggability - cypress is running on the same browser as the app so it's easy to debug
3. Automatic waits (built-in waits) it will automatically wait for page or some elements
4. consistency - it's running inside of the browser with the app -> it's a big advantage
5. screenshots & videos
6. cross browser testing - locally or remotely
Limitations
1. can't automate window based / Mobile apps
2. Limited support for the browsers
3. only for Javascript / Typescript
4. reading / writing data into files
5. Third party reporting tool integration is also limited