IKivan-kozenko -aqa
Try yourself as a QA tester
Back to topic

Quiz

Trace viewer

Check yourself

  1. 1.What does trace: 'on-first-retry' do?
  2. 2.What is the difference between trace: 'on-first-retry' and trace: 'retain-on-failure'?
  3. 3.Where does Playwright save the trace.zip file after a test run?
  4. 4.You open a trace and want to see what the page looked like just before a failing expect() assertion. What do you click in Trace Viewer?
  5. 5.How do you open a trace file without using the terminal?
  6. 6.A test fails on CI with a 401 Unauthorized error. How would you use the trace to confirm this?
  7. 7.What can you do with the DOM Snapshot panel in Trace Viewer that you cannot do with a regular screenshot?
  8. 8.How do you force a trace to be recorded for a single test run locally, even though the config has trace: 'on-first-retry'?