cypress Replacing contains() with a command that automatically returns the first member without using first()/last() command
cy.get('[data-cy="todo"]').children('[data-test="ttt"]').contains(id).get('[data-test="removebtn"]').click();
It returns a list of elements - therefore it is not possible to click on an object list and only if I add first/last will the button click work