How to trigger flaky Playwright tests locally after they fail on CI
Автор: Playwright
Загружено: 19 февр. 2025 г.
Просмотров: 6 162 просмотра
Ever had a Playwright test pass locally but fail on CI? In this video, I’ll show you a trick to catch flaky tests before they ruin your PRs!
🔹 Use `--repeat-each=100` to run the test 100 times and expose flakiness
🔹 Max out your CPU cores with `workers=10` to stress test your system
🔹 Save time with -`x` to stop on the first failure
Once your test passes consistently, you can push your code with confidence! 💪
If this helped, don’t forget to like 👍 and subscribe 🔔 for more Playwright testing tips. See you in the next one! 🚀
🔗 Read the full blog post: https://dev.to/playwright/how-to-repr...
#Playwright #Testing #CITips #FlakyTests

Доступные форматы для скачивания:
Скачать видео mp4
-
Информация по загрузке: