How To Type Function Mocha Context With Cypress Aliases (opens in new tab)
In Cypress you can save values under aliases which is pretty handy. You can get the aliased value using the cy.get, or by using a cy.then(function () { ... }) callback, or (my favorite solut
Read the original article