Query Multiple Elements In Order

Published: 18 January 2024
on channel: gleb bahmutov
545
25

If you query multiple elements in order, you can easily attach a single "should(callback)" and verify the contents of the found elements. In my video, I need the numbers in 3 elements to add up to the value shown in the 4th element, with elements loading dynamically. Find the full example at https://glebbahmutov.com/cypress-exam... and for the best solution I use "cy.getInOrder" query command from the plugin https://github.com/bahmutov/cypress-map


Watch video Query Multiple Elements In Order online, duration hours minute second in high quality that is uploaded to the channel gleb bahmutov 18 January 2024. Share the link to the video on social media so that your subscribers and friends will also watch this video. This video clip has been viewed 545 times and liked it 25 visitors.