У нас вы можете посмотреть бесплатно How to write component tests with Cypress или скачать в максимальном доступном качестве, видео которое было загружено на ютуб. Для загрузки выберите вариант из формы ниже:
Если кнопки скачивания не
загрузились
НАЖМИТЕ ЗДЕСЬ или обновите страницу
Если возникают проблемы со скачиванием видео, пожалуйста напишите в поддержку по адресу внизу
страницы.
Спасибо за использование сервиса ClipSaver.ru
In this video, you will learn how to write component tests with Cypress. Not only will you learn the basics of component testing with Cypress, but you will also learn some more advanced techniques like how to mock an API endpoint with the intercept command. Docs: https://docs.cypress.io/guides/compon... Repo: https://github.com/cypress-io/cypress... Have questions? Join the official Cypress Discord: / discord Timestamps 00:00 - Intro 00:23 - Subscribe Component 01:37 - Why you need to import CSS into Cypress 03:40 - How to import Tailwind CSS into Cypress 04:32 - Test: allows users to subscribe to our newsletter 05:44 - Why we are getting a 404 error 06:38 - Using the intercept command to fix our test 07:35 - Refactoring our tests with a custom Cypress command 08:30 - Test: does NOT allow already subscribed email addresses 09:22 - Wrap Up