Let's ping the API endpoint using cy.request until it responds with success, we can use https://github.com/bahmutov/cypress-r... to do this. After the API responds we can continue with the rest test. Find the source code in the "Wait for API" recipe in https://github.com/cypress-io/cypress...