▬ ASK RAGHAV ► ▬ QUIZ ► 00:00 *Intro* 01:05 *What is Trace Viewer* Trace Viewer is a GUI tool that helps viewing the executed test along with snapshots, timeline and other details (traces) 03:14 *How to use Trace Viewer* Step 1 - Open config file and set trace: ’on-first-retry’ It means - Collect trace when retrying the failed test for the 1st time only Step 2 - Save and Run a test to fail Step 3 - Check file created under test-results folder Step 4 - View trace - *npx playwright show-trace * 14:28 [id13142714|*Screenshot] moment* 14:34 [id46439331|*Trace] Viewer Options* ’on-first-retry’ - Record a trace only when retrying a test for the first time. ’off’ - Do not record a trace. ’on’ - Record a trace for each t ... #RaghavPal #playwright_how_to_use_trace_viewer #playwright_how_to_fix_issues #how_to_find_errors #how_to_find_reason_for_failed_tests #how_to_troubleshoot_in_playwright #how_to_create_playwright_framework #how_to_view_screenshots 20220905 Ea4aZB0Zlsw
Hide player controls
Hide resume playing