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 +1 -1
- package/src/agent/qa-research.ts +4 -2
package/package.json
CHANGED
package/src/agent/qa-research.ts
CHANGED
|
@@ -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
|
-
|
|
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/);
|