comfy-qa 1.7.0 → 1.7.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "comfy-qa",
3
- "version": "1.7.0",
3
+ "version": "1.7.1",
4
4
  "description": "ComfyUI QA automation CLI",
5
5
  "repository": {
6
6
  "type": "git",
@@ -710,9 +710,11 @@ ${segments.join("\n")}
710
710
  // ---------------------------------------------------------------------------
711
711
 
712
712
  async function runSpec(specPath: string, label: string): Promise<{ ok: boolean; output: string }> {
713
- console.log(`\n${label}\n Running: bunx playwright test ${specPath}\n`);
713
+ // Use -c demo/ to override testDir so specs in demo/ are found
714
+ const testDir = path.dirname(specPath);
715
+ console.log(`\n${label}\n Running: bunx playwright test -c ${testDir}/ ${specPath}\n`);
714
716
  try {
715
- const result = await $`bunx playwright test ${specPath} --reporter=list 2>&1`.text();
717
+ const result = await $`bunx playwright test -c ${testDir}/ ${specPath} --reporter=list 2>&1`.text();
716
718
  // Match Playwright's summary line: "N passed" or "N failed"
717
719
  const passMatch = result.match(/(\d+) passed/);
718
720
  const failMatch = result.match(/(\d+) failed/);