BasicsIntroduction Environment Setup Cypress Components First Test Running Tests Reports Element Identification GUI interaction Cypress Hooks Cypress Fixtures Integration with CI servers
AdvancedPage Object Model Custom Commands Intercepting Requests Backend Testing Interview Questions and Answers
Page object models in CypressPage object model is a design pattern which aims at reducing the duplicate code. All web pages are considered as objects and operations to be performed on the page are considered as methods. e.g. A login page has user id and password fields. Then we can a class called LoginPage and then a method to login to the app.
Complex problems, Simple Solutions