У нас вы можете посмотреть бесплатно Refactor Cypress API Tests Part 1: Use cy-spok Plugin или скачать в максимальном доступном качестве, которое было загружено на ютуб. Для скачивания выберите вариант из формы ниже:
Если кнопки скачивания не
загрузились
НАЖМИТЕ ЗДЕСЬ или обновите страницу
Если возникают проблемы со скачиванием, пожалуйста напишите в поддержку по адресу внизу
страницы.
Спасибо за использование сервиса savevideohd.ru
In this video, I refactor API tests found in the repo https://github.com/EvgeniiDolzhenko/c... You can find my refactoring in the branch "refactor1" of the repo https://github.com/bahmutov/cypress-c... I will use cy-spok plugin https://github.com/bahmutov/cy-spok to write more powerful and shorter assertions for the response objects I will remove "cy.then" callbacks that simply check a property in the current subject I will validate the env settings value before using it For more lessons showing cy-spok and cypress-plugin-api, see my "Cypress Plugins" course https://cypress.tips/courses/cypress-... VSCode color theme: "Dark Theme by Marcelo"