Playwright / Quiz

One Config, Many Fronts

playwright.config decoded: projects, baseURL, webServer, and the CI switches that stop a stray test.only from sinking the pipeline.

Difficulty
Easy
Format
Quiz
Points
100
Estimate
9 min

// MISSION BRIEF

Your Mission

The config file is the war room of a Playwright suite: it decides which browsers fight, which server boots, and what CI refuses to tolerate.

This quiz covers defineConfig essentials: projects, use, baseURL, webServer, and the guardrail flags every CI pipeline should set.

Speed bonus active.

// FIRST CONTACT

Battle teaser

The primary purpose of `projects` in playwright.config is:

  1. AOne project per developer on the team
  2. BRunning the same test suite under different configurations, like Chromium, Firefox, WebKit, or device emulations
  3. CSplitting the repo into multiple npm packages
  4. DDefining Jira project keys for reporting
Answers, scoring, hints, and the full battle stay sealed.

// SKILL TAGS

playwrightconfigurationprojectsci-cde2e-testing