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

Quiz

Projects

Check yourself

  1. 1.Your setup project creates a test user and saves auth state. The chromium and firefox projects both depend on it. The setup project's test fails. What happens to the chromium and firefox tests?
  2. 2.What is a 'project' in the context of playwright.config.ts?
  3. 3.What does spreading devices['Desktop Chrome'] into a project's use block do?
  4. 4.You want Chromium and Firefox projects to run tests from all files, but a third 'Mobile Safari' project should only run files matching **/*.mobile.spec.ts. How do you configure this?
  5. 5.A setting in the global use block conflicts with a setting in a specific project's use block. Which value wins?
  6. 6.How do you configure a teardown project that cleans up test data after all tests finish?
  7. 7.You run npx playwright test --project=chromium. Which projects execute?
  8. 8.Which CLI command runs only the project named 'firefox' from a multi-project configuration?