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...
Смотрите видео cypress-recurse: Wait for the API to respond онлайн, длительностью часов минут секунд в хорошем качестве, которое загружено на канал gleb bahmutov 15 Март 2021. Делитесь ссылкой на видео в социальных сетях, чтобы ваши подписчики и друзья так же посмотрели это видео. Данный видеоклип посмотрели 5,965 раз и оно понравилось 43 посетителям.