https://cypress.io logo
You almost got it right 🙂 you just need to use `c...
# best-practices
g
You almost got it right 🙂 you just need to use
cy.then(function () ... )
see the full example in

https://www.youtube.com/watch?v=0LLsdI0o9Iw&feature=youtu.beâ–¾

and in

https://www.youtube.com/watch?v=0sY1tp0aVNMâ–¾