Udemy test course Testing Automation with Cypress - Advanced
Testing is done against Hacker Stories
- Different ways to stub network response, formatting options.
- Waiting for a response to happen by stubbing network requests, providing an alias to the request and following up with our assertions after validating the request completed.
- Simple ways to simulate network errors and inspect the behaviour of our application.
- Being in full control of the data we want to work with, instead or relying on API endpoints we can use fixture files to mock our requests response.
- Understand and implementation of Cypress best practices for command retries, avoid writing flaky tests by using single query commands or alternating command followed by assertion.
- How to scope commands using cy.within(), different approaches to select elements.
- Basic introduction on asserting localStorate information.