End-to-End JavaScript Testing with Cypress.io
https://www.linkedin.com/learning/end-to-end-javascript-testing-with-cypress-io
by Shaun Wassell
Introduction
- Test automation with JavaScript
- What you should know
- Software installation
1. Introduction to Cypress.io
- What is Cypress.io
- Advantages of Cypress. io
- Limitations of Cypress.io
2. The Basics
- Installing and opening Cypress
- Writing your first Cypress test
- Testing text input
- Selecting elements
- Aliasing elements
- instead of repeatedly referring to an element, you can create an alias for it
- Working with command results
- The "beforeEach" hook
- Setting a base URL
3. Intermediate Concepts
- Interacting with elements
- Triggering other actions
- Common assertions
- Automatic retrying
- Debugging in Cypress
- after adding a debugger, currently selected element can be accessed from the dev console using the subject keyword
- to add a debugger
- Environment variables
- Test doubles
4. Other Useful Commands
- The "wrap" command
- The "and" command
- The "filter- and "not" commands
- Typing special characters
- Activating code completion
Conclusion
- Summary
Comments
Post a Comment