Here's my situation:
selector: ".list > div"
const velue = [6, 9, 21]
Each div contains a different value. I want to remove elements that contain a specific value, then select the first remaining element and click on it. It should look something like this:
cy.get(".list > div").not('contains', value).eq(0).click()
I attempted to solve this using not, but it only accepts selectors and not values. Any thoughts? I couldn't find a similar topic on stackoverflow.