Some commands already exists in the Cypress namespace. To make this library future proof, I'm using the override API to override commands if Cypress adds similarly named commands to list of its commands.
In our case we ran into issues for the findAllByLabelText command.
We're running to similar issues reported here https://github.com/testing-library/cypress-testing-library/pull/238
Some commands already exists in the Cypress namespace. To make this library future proof, I'm using the override API to override commands if Cypress adds similarly named commands to list of its commands.
In our case we ran into issues for the
findAllByLabelText
command.