У нас вы можете посмотреть бесплатно How to test non-deterministic user flows with Playwright или скачать в максимальном доступном качестве, видео которое было загружено на ютуб. Для загрузки выберите вариант из формы ниже:
Если кнопки скачивания не
загрузились
НАЖМИТЕ ЗДЕСЬ или обновите страницу
Если возникают проблемы со скачиванием видео, пожалуйста напишите в поддержку по адресу внизу
страницы.
Спасибо за использование сервиса ClipSaver.ru
End-to-end testing and synthetic monitoring of interactive apps and sites is challenging. It's especially tough when non-deterministic flows such as cookie banners or promotion popups interrupt your test automation. This video teaches how to write Playwright tests that handle optional and surprising UI interactions. Note: Stefan decreased the default action timeout in this video to avoid spending time waiting for `click()` to timeout. To achieve the same result, define `actionTimeout` in your `playwright.config` or use the action's `timeout` option. 0:00 Intro 1:06 Playwright test explanation 1:40 Playwright's repeat-each flag 2:35 Playwright trace viewer 3:48 Catching failed actions individually 5:02 Catching failed actions with try/catch Playwright docs: https://playwright.dev/ Checkly docs: https://www.checklyhq.com/docs/ #playwright