github qawolf/cli v2.22.0

38 minutes ago

Minor Changes

  • 435163a: qawolf attempt investigate and qawolf attempt inspect now read an attempt's evidence from QA Wolf's attempt.investigate and attempt.inspect API instead of downloading the whole trace and parsing it on your machine, so they print exactly what the QA Wolf MCP tools return.
    • attempt inspect --screenshot prints the saved image's real pixel width and height and the page size under viewport. Before, it printed the page size as the image size, so an 800x450 trace frame read as 1280x720 and boxes drawn from that size landed too high. A snapshot's nearestScreenshot reports the page size under viewport too.
    • attempt investigate --json keeps every field it printed before, including retryContext, flowStatus, runStatus, artifactStatus, and the attempt's timestamps, which it now reads with attempt.get alongside the evidence. A manual attempt now also prints failures.
    • Flag mistakes are reported with the API's own wording, such as "method does not apply to console".

Patch Changes

  • bd41f4d: qawolf runner exec now sends the project files a snippet imports, and everything they import, with or without --file. Before, only the --file file and its imports were sent, so a snippet doing await import("./lib/pages.ts") asked the runner for a file it was never given. A snippet import that matches no project file now stops exec before anything is sent, naming the import, instead of the runner's Cannot find module under a path the caller never wrote. The help now says --file sends that file and what it imports, rather than running the snippet in that file's scope, and that snippet imports resolve from src/.

Don't miss a new cli release

NewReleases is sending notifications on new releases.