CLI Reference

KeyValue
StatusActive
OwnerQA Automation
Updated2026-03-26
ScopeHuman-friendly command catalog grouped by job to be done

This page is intentionally organized by use case instead of dumping a flat list of npm scripts. The repo has a large script surface. Most people do not need to memorize it. They need to know which family of commands solves the problem in front of them.

Fast Start Commands

If You Want To...Command
run a quick health checknpm run test:smoke
run deploy-critical checksnpm run test:pdt
run full journeysnpm run test:e2e
run premium and auth flowsnpm run test:user-flows
run mobile PR-safe checksnpm run test:mobile:smoke
run content validationnpm run test:content
run the visual suitenpm run test:visual
see recent failures from OpenSearchnpm run os:failed
generate the weekly reportnpm run report:weekly

Test Suites

CommandWhat It Is For
npm run test:smokefast all-site health check
npm run test:shadowcontinuous degradation monitoring
npm run test:shadow:quicknarrower shadow pass
npm run test:pdtpost-deploy verification
npm run test:e2efull reader journeys
npm run test:user-flowsauth and premium flows
npm run test:visualstructural screenshot comparisons
npm run test:visual:updaterefresh visual baselines intentionally
npm run test:performancestandard performance run
npm run test:performance:baselinecreate or refresh performance baselines
npm run test:performance:breakingbreaking-news style performance checks
npm run test:adsad validation suite
npm run test:ads:desktopdesktop-only ads validation
npm run test:ads:mobilemobile-only ads validation
npm run test:eventsanalytics event coverage
npm run test:events:all-sitesbroader event run across sites

Mobile Commands

CommandWhat It Is For
npm run test:mobile:smokeChrome @smoke tier
npm run test:mobile:regressionChrome @regression tier
npm run test:mobile:deepChrome @deep tier
npm run test:mobile:safari:smokeSafari @smoke tier
npm run test:mobile:safari:regressionSafari @regression tier
npm run test:mobile:safari:deepSafari @deep tier
npm run test:mobile:all-devices:smokeChrome and Safari smoke tier
npm run test:mobile:all-devices:regressionChrome and Safari regression tier
npm run test:mobile:all-devices:deepChrome and Safari deep tier
npm run test:mobile:matrix:smokeall-site Chrome smoke matrix
npm run test:mobile:matrix:regressionall-site Chrome regression matrix
npm run test:mobile:matrix:deepall-site Chrome deep matrix
npm run test:mobile:matrix:all-devices:smokeall-site all-device smoke matrix
npm run test:mobile:matrix:all-devices:regressionall-site all-device regression matrix
npm run test:mobile:matrix:all-devices:deepall-site all-device deep matrix

Content And Coverage Commands

CommandWhat It Is For
npm run test:contentdefault content run
npm run test:content:allfull content pass
npm run test:content:existenceexistence tier
npm run test:content:interactioninteraction tier
npm run test:content:journeyjourney tier
npm run test:content:smokelightweight content validation
npm run test:content:notifycontent notification workflow
npm run coverage:mapcoverage matrix
npm run coverage:map:savepersist coverage report
npm run coverage:htmlgenerate HTML coverage output
npm run coverage:gapsshow uncovered registry areas
npm run coverage:checkcoverage validation

Healing And Failure Intelligence

CommandWhat It Is For
npm run healgeneral healing analysis
npm run heal:claudeClaude-assisted healer flow
npm run heal:interactiveinteractive healer
npm run heal:aiAI-assisted healing path
npm run heal:applyapply local fixes
npm run heal:drypreview without changing files
npm run heal:mrcreate MR workflow
npm run heal:sitesite-targeted healing
npm run incidents:queryquery failure clusters needing classification
npm run incidents:templategenerate incident JSON template
npm run incidents:record-recoveryappend confirmed recovery history
npm run fix:statsfix database summary
npm run fix:recentrecent fix history
npm run fix:exportexport fix data
npm run os:failedrecent failures from OpenSearch
npm run os:logsquery recent logs
npm run os:statsOpenSearch stats

Slack And Reporting Commands

CommandWhat It Is For
npm run notify:slack:successpost success summary
npm run notify:slack:failurepost humanized failure summary
npm run notify:slack:visualpost visual-suite result summary
npm run report:weeklyweekly report
npm run report:monthlymonthly report
npm run report:legacylegacy report path
npm run report:legacy:weeklylegacy weekly report
npm run report:legacy:monthlylegacy monthly report
npm run report:mergemerge report data
npm run slack:reply-resolvedpreview recovery replies
npm run slack:reply-resolved:sendsend recovery replies
npm run slack:reply-threadpost to a specific Slack thread
npm run slackbotSlackbot helper API

Monitoring Commands

CommandWhat It Is For
npm run monitor:consentconsent dialog monitor
npm run monitor:selectorsselector health monitor
npm run monitor:robots-txtrobots.txt and sitemap health
npm run monitor:urlsURL monitor entry point
npm run monitor:urls:crawlbasic crawl
npm run monitor:urls:crawl:navcrawl following nav links
npm run monitor:urls:crawl:deepdeeper crawl variant
npm run monitor:urls:crawl:fullfullest crawl mode
npm run monitor:urls:brokenbroken link report
npm run monitor:urls:slacksend broken-link Slack summary
npm run monitor:urls:slack:weeklyweekly URL monitor summary
npm run monitor:grafanabrowser-based Grafana visual checks
npm run monitor:grafana:slackGrafana visual checks with Slack output

Observability And Dashboard Commands

CommandWhat It Is For
npm run grafana:generategenerate dashboard JSON from code
npm run grafana:deploydeploy dashboards
npm run grafana:deploy:drydry-run dashboard deploy
npm run grafana:validatevalidate dashboard definitions
npm run grafana:validate-datavalidate dashboard queries against live data
npm run grafana:pipelineCI-oriented Grafana workflow
npm run observability:verifycombined health and quality check
npm run observability:verify:healthblocking health checks
npm run observability:verify:qualitydata quality checks
npm run opensearch:setupOpenSearch setup path
npm run opensearch:setup:drydry-run OpenSearch setup
npm run os:setup-retentionretention setup

Discovery, Crawling, And Data Commands

CommandWhat It Is For
npm run crawlcrawl all sites
npm run crawl:sitecrawl one site
npm run crawl:consentcrawl with consent focus
npm run discoverselector discovery entry point
npm run discover:allfull selector discovery
npm run discover:mobilemobile selector discovery
npm run discover:sitesite-targeted discovery
npm run data:comparecompare data outputs
npm run data:syncsync data assets
npm run data:weeklyweekly data summary

Visual Fact-Checker Commands

CommandWhat It Is For
npm run factcheckstandard fact-check run
npm run factcheck:dryscreenshot-only dry run
npm run factcheck:smokefact-check smoke results
npm run factcheck:pdtfact-check PDT results
npm run factcheck:failuresfocus on failures
npm run factcheck:mobilemobile fact-check
npm run factcheck:slackpost fact-check output to Slack
npm run factcheck:ciCI-oriented fact-check path
npm run factcheck:dashboardlocal dashboard for fact-check output
npm run deploy:verifyPDT plus fact-check verification
npm run deploy:verify:fullbroader deployment verification

Confluence And Documentation Commands

CommandWhat It Is For
npm run confluence:syncdoc publishing workflow entry point

For manual publishing, the .confluence/ scripts remain the source of truth.

Useful Debug Commands

CommandWhat It Is For
npm run test:debugPlaywright debug mode
npm run test:headedheaded browser run
npm run test:tracetrace-friendly run
npm run test:uiPlaywright UI mode
npm run testdefault npm test entry
npm run test:sitesite-targeted default suite entry
npm run test:allbroad test entry point

How To Read This Page

If you are here because of a specific task, use this map:

TaskBest Section
run a suiteTest Suites
diagnose or heal failuresHealing And Failure Intelligence
send or debug alertsSlack And Reporting
inspect background monitorsMonitoring Commands
work on dashboards or OpenSearchObservability And Dashboard Commands
work on content coverageContent And Coverage Commands
work on AI screenshot reviewVisual Fact-Checker Commands