I am writing a React application that I\'m testing with Cypress. In my integration tests I\'ve written a cypress command that takes an array of strings, in order to select i