Course Objectives
The 3-day ‘Cypress - Effective End-to-End Testing’ course will provide you with a comprehensive knowledge and practical skillset for performing automated end-to-end web application testing with Cypress. You will learn how to write reliable and powerful tests to verify the functionality, usability and performance of your web applications. The focus is on giving you the tools you need to develop high-quality software and reduce development time through efficient testing.
Target Audience
- Web developers
- Software testers
Prerequisite knowledge
- Basic knowledge of web development (HTML, CSS, JavaScript, TypeScript)
- Basic knowledge of test automation and web application testing
- Experience of JavaScript or other programming languages is an advantage, but not essential
Learning Methodology
The course offers you a balanced mix of theory and practice in a world-class learning environment. You will benefit from direct interaction with our project experienced trainers and other participants to maximise your learning.
Agenda
- How does end-to-end testing work?
- What are the benefits of e2e testing?
- Which browsers can be tested?
- What can be tested?
- Installing Cypress for Angular
- Configuration steps
- Test Runner View
- Browser selection
- Headless testing
- Folder structures
- Test design
- Running tests
- Using Watcher
- Debugging tests
- Calling URLs
- Interacting with the DOM tree
- Sending events to the browser
- Reading website content
- Making assertions
- Filling in fields
- Reading results
- Multi-page forms
- Parameter passing/dependencies
- Writing tests
- Reading results
- Creating screenshots
- Video recording tests
- Spies and stubs
- Backend stub
- Test network requests