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

Quiz

Configuration

Check yourself

  1. 1.You want retries: 2 to apply to every test. Where do you put it in playwright.config.ts?
  2. 2.What does webServer: { reuseExistingServer: !process.env.CI } do?
  3. 3.What is the purpose of testDir in playwright.config.ts?
  4. 4.What does forbidOnly: !!process.env.CI do in the config?
  5. 5.What does extraHTTPHeaders in the use block do?
  6. 6.Where should you configure the HTML reporter in playwright.config.ts?
  7. 7.You want test output files (screenshots, videos, traces) stored in a specific folder. Which config option controls that?
  8. 8.What is baseURL in the use block used for?