comfy-qa 1.7.2 → 1.7.3
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 -0
package/package.json
CHANGED
package/src/agent/qa-research.ts
CHANGED
|
@@ -710,6 +710,10 @@ ${segments.join("\n")}
|
|
|
710
710
|
// ---------------------------------------------------------------------------
|
|
711
711
|
|
|
712
712
|
async function runSpec(specPath: string, label: string): Promise<{ ok: boolean; output: string }> {
|
|
713
|
+
// Clean duplicate playwright from demowright submodule (causes "Requiring @playwright/test second time" error)
|
|
714
|
+
for (const d of ["lib/demowright/node_modules/playwright", "lib/demowright/node_modules/@playwright"]) {
|
|
715
|
+
try { fs.rmSync(d, { recursive: true, force: true }); } catch {}
|
|
716
|
+
}
|
|
713
717
|
// Use -c demo/ to override testDir so specs in demo/ are found
|
|
714
718
|
const testDir = path.dirname(specPath);
|
|
715
719
|
console.log(`\n${label}\n Running: bunx playwright test -c ${testDir}/ ${specPath}\n`);
|