Automated testing with Cypress
ระยะเวลา 2 วัน
วันเสาร์ที่ 3 สิงหาคม พ.ศ. 2567
วันอาทิตย์ที่ 4 สิงหาคม พ.ศ. 2567
สถานที่
SCK Dojo by สยามชำนาญกิจ
Outline
- Test design
- Test strategies
- Good test cases
- Fast
- Isolated
- Repeatable
- Self-validate
- Thorough
- Introduction to Cypress
- Overview
- Install and config
- Create first project with Cypress
- Write first test case
- Run test (Cypress test runner)
- Command line
- User Interface
- Report
- Test structure of Cypress
- Workshop with Web browser testing
- Selectors and interactions
- Assertion
- Improve test structure
- Page-objects
- Application actions
- Test double with cypress
- Fixtures to manage test data
- Mocking server response
- API testing with Cypress
- End-to-End testing
- Strategies for writing end-to-end tests with Cypress
- Handling user authentication in tests
- Better practices to use Cypress
- Organizing tests and test files
- Speeding up test runs
- Avoiding common pitfalls