TRACK ENGINE: ONLINE
POINTS: 0/670
Back to Ladder
Stage 4: Page States & Dialogsintermediate

Test Suites & Configurations

Organize tests with hooks, write configurations, target multiple browser projects, and manage parallel runs.

Status0% Complete
0/30
Solved
~8h
Hours
0/670
Points

Modules

9 Modules
1

Module 1: Config Deep Dive

Deconstruct testDir, timeouts, assertion limits, process.env variables, test artifacts captures, webServer setups, and forbidOnly rules.

0/6 SOLVED
StatusDrill TitleDifficultyPointsAction
Define config baseline rules
defineConfigtimeout
intermediate20pts Start Track
Configuring assertion timeout thresholds
expecttimeout
intermediate20pts Start Track
Load configs from environment env
process.env
intermediate20pts Start Track
Auto-capture screenshots videos traces
trace
intermediate20pts Start Track
Configuring dev servers webServer
webServerbaseURL
intermediate20pts Start Track
Prevent commit test.only CI errors
forbidOnly
intermediate20pts Start Track
2

Module 2: Mobile Emulation

Emulate viewports, user agents, GPS coordinates, dark/light theme schemes, permissions, and network status.

0/4 SOLVED
StatusDrill TitleDifficultyPointsAction
Mobile Device Emulation viewport
devicesviewport
advanced30pts Start Track
Enabling isMobile hasTouch options
isMobilehasTouch
advanced30pts Start Track
Set geolocation credentials contexts
geolocationpermissions
advanced30pts Start Track
Color scheme dark light emulations
colorScheme
advanced30pts Start Track
3

Module 3: Visual Captures

Capture viewport screenshot, capture full scrollable pages, locate element snapshots, and save failures video files.

0/4 SOLVED
StatusDrill TitleDifficultyPointsAction
Capture Viewport Screenshot PNG
page.screenshotscreenshot
intermediate20pts Start Track
Capture full scrollable page snapshot
fullPage
intermediate20pts Start Track
Capture element screenshot selector
screenshot
intermediate20pts Start Track
Record video profiles on failures
video
intermediate20pts Start Track
4

Module 4: Multi-Browser

Set browser engine targets, configure channels, launch specific browser targets, and conditionally skip specs.

0/3 SOLVED
StatusDrill TitleDifficultyPointsAction
Configure browser projects matrix
projects
intermediate20pts Start Track
Select runner browser projects CLI
project
intermediate20pts Start Track
Skip tests conditionally on browsers
test.skipbrowserName
intermediate20pts Start Track
5

Module 5: Tagging & Filters

Append tag labels to titles, run tests by tags, skip/exclude suites, and annotate broken test files.

0/3 SOLVED
6

Module 6: JS Page Execution

Evaluate browser-side script loops, pass arguments to page evaluations, add init scripts, and fetch storage states.

0/4 SOLVED
StatusDrill TitleDifficultyPointsAction
Execute browser Javascript evaluate
page.evaluateevaluate
intermediate20pts Start Track
Pass arguments to page evaluations
page.evaluateevaluate
intermediate20pts Start Track
Inject scripts on page load initialization
page.addInitScriptaddInitScript
intermediate20pts Start Track
Access localStorage and sessionStorage fields
localStorage
intermediate20pts Start Track
7

Module 7: Parallel & Sharding

Configure parallel worker processes, prevent race conditions, shard test suites, and merge test report files.

0/2 SOLVED
StatusDrill TitleDifficultyPointsAction
Enable fullyParallel test threads
fullyParallel
advanced30pts Start Track
Shard test suites parallel CI runners
shard
advanced30pts Start Track
8

Module 8: Scale & Architecture

Structure folder files, export imports using barrel indexes, and config environments extensions.

0/2 SOLVED
StatusDrill TitleDifficultyPointsAction
Organize tests by domain features
describe
advanced30pts Start Track
Export imports using barrel index files
export
advanced30pts Start Track
9

Module 9: Test Data Management

Generate fake data profiles, load dotenv configurations, seed database state, and clean up test data.

0/2 SOLVED
StatusDrill TitleDifficultyPointsAction
Generate fake test data via Faker
faker
advanced30pts Start Track
Seed database state before test runs
beforeEach
advanced30pts Start Track
PPPlaywright Pad

The premium, browser-first learning portal for QA automation engineers. Practice Playwright test automation online with interactive tutorials, coding challenges, and a real browser IDE.

Legal

Stay in the loop

Get product updates, tips, and testing wisdom.

No spam. Unsubscribe anytime.

Β© 2026 Playwright Pad. All rights reserved.
Made with for Developers