I am working on a Vite app that communicates with the server through a gRPC API with authentication.
To avoid initializing data needed for the tests and deleting this data using end-to-end Cypress commands, which is time and performance-consuming and not useful in my case (these steps are already tested elsewhere), I would like to create and delete this data directly using the API. This is also considered a good practice in Cypress.
I know how to do this with a REST API using cy.request
, but I can't find a way to do it with a gRPC API.
Has anyone done this before or have any suggestions?