6 Tips to Manage Flaky Tests in Playwright

Опубликовано: 12 Март 2024
на канале: Semaphore
2,366
63

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 - Flak...  

#endtoend #e2e #ui #tdd #testing #software #development #tutorial


Смотрите видео 6 Tips to Manage Flaky Tests in Playwright онлайн без регистрации, длительностью часов минут секунд в хорошем качестве. Это видео добавил пользователь Semaphore 12 Март 2024, не забудьте поделиться им ссылкой с друзьями и знакомыми, на нашем сайте его посмотрели 2,366 раз и оно понравилось 63 людям.