Skip to content

playwright-spec-for-ai-agent@2.7.0

Latest

Choose a tag to compare

Minor Changes

  • 07b5505: Adaptive (AI-native) execution can now perform @qa-fixture file uploads. An UPLOAD interaction
    becomes an upload_observed_element adaptive action, offered only when the scenario declares an
    upload milestone with a designated @qa-fixture. The agent chooses the target element; the file is
    always the author-designated fixture, resolved strictly inside the project root (no symlink escape,
    size cap) before setInputFiles. Uploads whose fixture is undeclared stay blocked. The QA IR
    milestone gains an optional fixture field and the vocabulary gains upload_observed_element (both
    additive).
  • 07b5505: qa-native execute now defaults to AI-native execution (--provider=hermes --mode=adaptive).
    Passing --mode=strict (or --provider=playwright) still selects the deterministic read-only
    provider; either flag alone infers the matching pair. Runs that previously relied on the implicit
    strict default now run adaptively unless they pass --mode=strict.

Patch Changes

  • 6da2c92: Under --allow-partial, adaptive execution now skips scenarios that compile cleanly but use an
    expectation or step kind the adaptive runtime cannot build (instead of failing the whole run), emits
    a SCENARIO_UNRUNNABLE diagnostic, and narrows the written QA IR to the scenarios that actually ran.
    Also hardens the Playwright AST parser against a variable declaration with no initializer.