Module: pipeline/prompts/playwrightCapabilityGuide

Tier/scenario-aware Playwright capability guidance to keep prompts focused instead of dumping an undifferentiated capability list.

Source:

Members

(inner, constant) ADVANCED_PLAYWRIGHT_PATTERNS

Regexes that indicate the test uses advanced Playwright patterns where assertion enhancement should be conservative to avoid breaking orchestration.

Source:

Methods

(static) buildCapabilityCoverageBlock(optsopt) → {string}

Build a capability block tuned for prompt purpose and model tier.

Parameters:
Name Type Attributes Description
opts object <optional>
Properties
Name Type Attributes Default Description
mode "ui" | "api" | "debug" <optional>
"ui"
tier "cloud" | "local" <optional>
"cloud"
Source:
Returns:
Type
string

(static) isAdvancedPlaywrightScenario(playwrightCode) → {boolean}

Returns true when code includes advanced Playwright primitives that are sensitive to assertion enhancer rewrites.

Parameters:
Name Type Description
playwrightCode string
Source:
Returns:
Type
boolean