@arcadialdev/arcality 2.2.4 → 2.2.5

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": "@arcadialdev/arcality",
3
- "version": "2.2.4",
3
+ "version": "2.2.5",
4
4
  "description": "AI-powered QA testing tool — Autonomous web testing agent by Arcadial",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -711,8 +711,15 @@ async function main() {
711
711
  console.log(chalk.gray(`\n>> ARCALITY_PROJECT_ID: ${finalProjectId}`));
712
712
  }
713
713
 
714
+ // Always use Arcality's own Playwright to avoid version conflicts with user's project
715
+ const playwrightBin = process.platform === 'win32'
716
+ ? path.join(PROJECT_ROOT, 'node_modules', '.bin', 'playwright.cmd')
717
+ : path.join(PROJECT_ROOT, 'node_modules', '.bin', 'playwright');
718
+
719
+ const configFile = path.join(PROJECT_ROOT, 'playwright.config.ts');
720
+
714
721
  try {
715
- await run("npx", ["playwright", "test", "tests/_helpers/agentic-runner.spec.ts", "--headed"], {
722
+ await run(playwrightBin, ["test", "tests/_helpers/agentic-runner.spec.ts", "--headed", `--config=${configFile}`], {
716
723
  env: mergedEnv,
717
724
  onStatus: (msg) => s.message(msg)
718
725
  });