This lesson is a part of my Udemy class: Cypress from Zero to Hero.
Link to the class: https://www.udemy.com/course/cypress-...
In this lesson, you will learn how to use the new method cy.intercept() in Cypress 6 to intercept API requests and responses and provide sub for request or response body during API call.