SDODS
Best practices

Keeping suites fast

Where time goes in a suite and the SDODS settings that recover it.

What you'll learnThe main costs in a suite and the levers SDODS provides for each.
CostLever
logging in per scenarioauth.storageState: true and @user:<role>; login happens once per pool user
browser startupkeep API scenarios @api so they never open a browser
slow third-party networkHAR replay with --strict; offline CI
screenshotsstep policy only for @regression; onlyOnFailure on slow environments
locator timeoutsheal contexts resolve in seconds, not minutes; fix the primary locator when a heal repeats
serial suites--workers, --shard, fullyParallel by default; use @mode:serial only where state demands it
retries hiding slownessinsights show lists the slowest and flakiest scenarios; fix, do not retry

Measure with run --json (durations in summary.json) and the dashboard's duration chart.

Using an AI coding agent? Install SDODS:

Install the SDODS plugin in Claude Code: skills, subagents, commands and the MCP server.

  1. /plugin marketplace add YarlisAISolutions/sdods-skills
  2. /plugin install sdods@sdods
Learn more about using SDODS with AI tools