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

Quiz

Configuration (use)

Check yourself

  1. 1.You have baseURL: 'http://localhost:3000' in the global use config. One test file needs to test against 'http://localhost:4000' (a different microservice). How do you override it just for that file without affecting other tests?
  2. 2.What does storageState in the use block do?
  3. 3.You need all tests to simulate a device in dark mode with a Ukrainian locale. Where do you put these settings?
  4. 4.What does viewport: { width: 1280, height: 720 } in the use block do?
  5. 5.What is the cascade order when test.use() is called both at the file level and inside a test.describe() block?
  6. 6.You want to test that your app correctly requests the user's location. Which use options do you set?
  7. 7.What does timezoneId in the use block affect in tests?
  8. 8.What does ignoreHTTPSErrors: true in the use block do?