@arcadialdev/arcality 2.4.21 → 2.4.22

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,13 +1,15 @@
1
1
  {
2
2
  "name": "@arcadialdev/arcality",
3
- "version": "2.4.21",
3
+ "version": "2.4.22",
4
4
  "description": "AI-powered QA testing tool — Autonomous web testing agent by Arcadial",
5
5
  "main": "index.js",
6
6
  "scripts": {
7
7
  "dev": "node scripts/gen-and-run.mjs",
8
8
  "arcality": "node scripts/gen-and-run.mjs",
9
9
  "postinstall": "node scripts/postinstall.mjs",
10
- "setup": "node scripts/setup.mjs"
10
+ "setup": "node scripts/setup.mjs",
11
+ "build:runner": "npx esbuild tests/_helpers/agentic-runner.spec.ts --bundle --platform=node --target=node18 --format=cjs --external:@playwright/test --external:chalk --external:dotenv --external:node-fetch --external:js-yaml --external:axios --external:crypto --external:fs --external:path --outfile=tests/_helpers/agentic-runner.bundle.spec.js",
12
+ "prepublishOnly": "npm run build:runner"
11
13
  },
12
14
  "bin": {
13
15
  "arcality": "bin/arcality.mjs"
@@ -47,7 +49,8 @@
47
49
  "devDependencies": {
48
50
  "@types/figlet": "^1.7.0",
49
51
  "@types/node": "^25.0.9",
50
- "@types/prompts": "^2.4.9"
52
+ "@types/prompts": "^2.4.9",
53
+ "esbuild": "^0.20.2"
51
54
  },
52
55
  "dependencies": {
53
56
  "@clack/prompts": "^1.0.1",
@@ -1,14 +1,14 @@
1
1
  // playwright.config.js
2
2
  'use strict';
3
3
  const { defineConfig, devices } = require('@playwright/test');
4
+ const path = require('path');
4
5
 
5
6
  module.exports = defineConfig({
6
- // testDir + testMatch together: Playwright finds the runner without any CLI path argument.
7
- // This avoids Windows backslash-as-regex issues AND the "No tests found" error on external projects.
8
- testDir: './tests/_helpers',
9
- testMatch: 'agentic-runner.spec.ts',
7
+ testDir: path.join(__dirname, 'tests', '_helpers'),
8
+ testMatch: ['agentic-runner.bundle.spec.js'],
10
9
  reporter: [
11
- ['./tests/_helpers/ArcalityReporter.js', { outputDir: process.env.REPORTS_DIR || 'tests-report' }]
10
+ [path.join(__dirname, 'tests', '_helpers', 'ArcalityReporter.js'),
11
+ { outputDir: process.env.REPORTS_DIR || path.join(__dirname, 'tests-report') }]
12
12
  ],
13
13
  use: {
14
14
  video: 'on',