Uploaded November 2023 | Updated November 2026, 8 minutes ago
In this video, I show how Cypress can call asynchronous functions and then use their results without any boilerplate code, just using cy.wrap or cy.then commands. Find the full source code at glebbahmutov.com/cypress-examples/recipes/wrap-promises.html and read the "The Zen Of Cypress Data Setup" blog post at glebbahmutov.com/blog/setup-cypress-data
In this video, I show how Cypress can call asynchronous functions and then use their results without any boilerplate code, just using cy.wrap or cy.then commands. Find the full source code at glebbahmutov.com/cypress-examples/recipes/wrap-promises.html and read the "The Zen Of Cypress Data Setup" blog post at glebbahmutov.com/blog/setup-cypress-data









![Find Elements Without An Attribute
This video shows how to find all the elements that do not have a specific attribute. For example, lets find all buttons that dont have attribute data-cy
cy.get(button:not([data-cy]))
Find the recipe at https://glebbahmutov.com/cypress-examples Find Elements Without An Attribute](https://i.ytimg.com/vi/52KW-t2wWaE/mqdefault.jpg)
