This video explain what are the life cycle hooks available in cypress and how and when to use them.
how life cycle hooks help to speed up your tests.
This video explain below commands
cy.before()
cy.beforeEach()
cy.afterEach()
cy.after()
00:00 Introduction
01:27 hooks in action
06:39 execution of tests