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

Quiz

Retries

Check yourself

  1. 1.A test passes locally but fails intermittently on CI. After adding retries: 2, the HTML report shows it as 'flaky'. What does that mean?
  2. 2.When does test.describe.configure({ mode: 'serial' }) make sense?
  3. 3.How do you set retries globally for all tests in a project?
  4. 4.What is the value of testInfo.retry on the very first run of a test (before any retries)?
  5. 5.What is the difference between retries and --repeat-each in Playwright?
  6. 6.When a test is retried, what state does it start with?
  7. 7.You want to override the global retries count for one specific describe block. Which API do you use?
  8. 8.A test creates a record in the database on the first run, then fails. On the retry, the test tries to create the same unique record and gets a duplicate key error. What is the best fix?