I have a list of cards and I need to programmatically select the first in the list that does not contain one of five values that I have in an array. I have tried this:
cy.get('.parent-element').not().contains('string1', 'string2', 'etc')
and this:
cy.get('.parent-element').not('string1', 'string2', 'etc')
hmmm. any thoughts on this. any child element of .parent-element
is fair game except for these few exceptions.
Aucun commentaire:
Enregistrer un commentaire