I got filter is not found exception. i tried this ...
# best-practices
c
I got filter is not found exception. i tried this let values = [] cy.get('tbody > tr') .find('td') .each(($el, $index) => { cy.wrap($el) .invoke('text') .then(text => { if($index>=0) values.push(text.trim()) }) }) .then(() => expect(values).to.deep.eq([word1, word2, word3, word4, word5,, "APPROVED"])) }