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

Quiz

Annotations

Check yourself

  1. 1.There's a known bug in Safari — the date picker component crashes. You want to track the test but not break CI. Which annotation do you use?
  2. 2.You annotate a test with test.fail(). The underlying bug gets fixed and the test now passes. What does Playwright do?
  3. 3.What does test.skip() do when called without any condition argument?
  4. 4.What is the difference between test.skip() and test.fixme()?
  5. 5.What does test.slow() do to the test timeout?
  6. 6.How do you apply a tag to a test so it can be filtered with --grep @smoke on the CLI?
  7. 7.What is the purpose of test.info().annotations in a test body?
  8. 8.You want to prevent test.only() from ever being accidentally committed and breaking CI. What config option achieves this?