add an object with names to cy.getInOrder
bahmutov opened this issue · comments
Gleb Bahmutov commented
cy.getInOrder({
h1: '[data-cy=h1]',
h2: '[data-cy=h2]',
})
// yields an object with array elements
{
h1: <el1>,
h2: <el2>
}
Cypress query commands for v12+
bahmutov opened this issue · comments
cy.getInOrder({
h1: '[data-cy=h1]',
h2: '[data-cy=h2]',
})
// yields an object with array elements
{
h1: <el1>,
h2: <el2>
}