Test Automation for Web
Test automation for modern web applications poses tough questions for quality engineers regularly, and there has been significant progress in terms of the tools and support in recent years. The test automation market is ripe with tools to aid engineers in setting up and executing efficient test scripts. Some notable tools include Protractor, Cypress, and WebdriverIO. The development of these tools with all their innovative capabilities is strong evidence of the evolution in the quality engineering space, primarily to address modern web automation demands. In this chapter, let us dive deep into automating a web application using Cypress and learn the nitty-gritty aspects of the tool.
Here are the main topics we will be looking at in this chapter:
- Why Cypress?
- Installing and setting up Cypress
- Creating your first test in Cypress
- Employing selectors and assertions
- Intercepting API calls
- Additional configurations
- Considerations...