Imagine you want to find all elements that have some "data-*" attribute and confirm they also have "href" attribute. How would you select them? This video shows how to select all elements using wildcard selector "*" and then filter the elements using cy.filter command before checking each element using cy.each. Find the full example at https://glebbahmutov.com/cypress-exam...
On this page of the site you can watch the video online Confirm That Every Element With A Data Attribute Has The HREF Attribute Too with a duration of hours minute second in good quality, which was uploaded by the user gleb bahmutov 19 October 2023, share the link with friends and acquaintances, this video has already been watched 531 times on youtube and it was liked by 11 viewers. Enjoy your viewing!