Hey guys, any idea how can i click two elements? C...
# help
f
Hey guys, any idea how can i click two elements? Cuz i couldnt figure out how. The line 22 deletes just one task but idk why in the first each(tasks) it does click on the 2 checkboxes
b
It seems as though you are testing the checked task and deleting them. The following may overcome your obstacles somehow. (I'm on mobile so formatting won't be best) Since the initial gets return an array of elements you can swap the .then() with an .each(), then you can issue a click to each element (ie cy.wrap($el).click().
2 Views