Перейти к содержимому

6 Tips to Manage Flaky Tests in Playwright

Semaphore

0:00 / 0:00

6 Tips to Manage Flaky Tests in Playwright

4 741 просмотр · 2 г. назад
Semaphore
4,09 тыс. подписчиков
4 741 просмотр · 2 г. назад
Are your UI and End-To-End brittle? If you're having problems with Playwright, this video is for you. 🎭 Playwright is a modern UI and End-to-End testing framework that supports flaky test detection. Here are 6 tips to configuring and using Playwright in your tests. ⏰ Timecodes 0:00 Intro 0:26 Configuring Playwright 2:27 Run tests locally before commit 3:17 Don't use waitForTimeout 4:47 Selectors vs Locators 6:32 Pay attention to locator.all() 7:22 ElementHandles vs Locators 8:21 Outro 🔗 Useful links: Read the original blog: https://semaphoreci.com/blog/flaky-te... Flaky test dashboard:    • 3 Steps to Fix Flaky Tests   Metrics and observability:    • CICD Metrics and Observability - Flaky Tests   #endtoend #e2e #ui #tdd #testing #software #development #tutorial