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

Quiz

Command line

Check yourself

  1. 1.A developer commits a test file with test.only() left in by accident. All tests run on CI pass green. Why is this a problem and how do you prevent it?
  2. 2.You want to send test results to a JUnit XML file for your CI system. Which CLI flag do you use?
  3. 3.Your CI has 4 parallel jobs and you want to split the test suite evenly across them. Which command runs the second job's share?
  4. 4.You are running a flaky test suite and want CI to stop as soon as 3 tests fail. Which flag achieves this?
  5. 5.A directory has no test files matching the pattern you specified. By default Playwright exits with an error. How do you make it exit successfully in this case?
  6. 6.You want to see all tests that will run (with their full names and file paths) without actually executing them. Which flag does this?
  7. 7.A test is consistently timing out after 30 seconds. You want to increase the per-test timeout to 60 seconds for a single run without changing the config file. Which flag do you use?
  8. 8.You want to speed up a test run on your local machine. Which flag controls how many tests run in parallel?