In my project I am using xpath in cypress(I have installed as instruction did not make an error)
where
cy.xpath("//span[@class='ui-button-text ui-c']").click()
click()-> function is avaiable but I receive a error
""can only be called on a single element. Your subject contained 24 elements. ""
Why it is and how do i solve this issue!!!?