Cypress notes for my students
- created by: Sudip Ghimire
- URL: https://www.sudipghimire.com.np
- Github: https://github.com/ghimiresdp
- Introduction
- Introduction to Testing
- Types of Testing
- Introduction to Cypress
- Environment Setup
- Cypress Hello World
- Cypress Test Runner
- Types of testing in cypress
- An example of end-to-end testing
- variables and aliases
- Running Tests in Supported Browsers
- Cypress Command Line
- Cypress Selectors
- Introduction to CSS Selector
- Auto Generating CSS Selector
- Assertions
- Basic Assertions
- Negative Assertions
- Chai Assertion
- BDD Assertions
- TDD Assertions
- Should Callback
- Multiple Assertions
- Interacting with UI elements
- Handling Clicks (button, check box, radio button, etc.)
- Handling double clicks and right clicks
- Handling Type events (text box, calendar, etc.)
- Handling drop downs
- Handling table elements
- Handling Mouse Hover Popups
- Network Requests
- Cypress Requests
- Cypress Intercepts
- Stubbing Responses
- Routing
- Using Fixtures
- Waiting
- Data Driven Testing
- Using Fixtures
- Using Images as fixtures
- Parameterizing Test Data
- Working with environment variables
- Using Configuration files
- Using Cypress.env.json
- Using System Environment Variables
- Using --env arguments in command line
- Setting custom environment variables in test configuration
- Cypress Plugins
- Cypress Plugins List
- Installing Cypress Plugins
- Using Plugins
- Cypress Documentation: https://docs.cypress.io
- HTML Template: https://bootstrapmade.com/zenblog-bootstrap-blog-template/