@arcadialdev/arcality 2.3.0 → 2.3.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
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@arcadialdev/arcality",
|
|
3
|
-
"version": "2.3.
|
|
3
|
+
"version": "2.3.3",
|
|
4
4
|
"description": "AI-powered QA testing tool — Autonomous web testing agent by Arcadial",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"scripts": {
|
|
@@ -47,8 +47,7 @@
|
|
|
47
47
|
"devDependencies": {
|
|
48
48
|
"@types/figlet": "^1.7.0",
|
|
49
49
|
"@types/node": "^25.0.9",
|
|
50
|
-
"@types/prompts": "^2.4.9"
|
|
51
|
-
"tsx": "^4.21.0"
|
|
50
|
+
"@types/prompts": "^2.4.9"
|
|
52
51
|
},
|
|
53
52
|
"dependencies": {
|
|
54
53
|
"@clack/prompts": "^1.0.1",
|
|
@@ -61,6 +60,7 @@
|
|
|
61
60
|
"js-yaml": "^4.1.1",
|
|
62
61
|
"node-fetch": "^3.3.2",
|
|
63
62
|
"prompts": "^2.4.2",
|
|
64
|
-
"terminal-image": "^1.1.0"
|
|
63
|
+
"terminal-image": "^1.1.0",
|
|
64
|
+
"tsx": "^4.21.0"
|
|
65
65
|
}
|
|
66
66
|
}
|
package/scripts/gen-and-run.mjs
CHANGED
|
@@ -730,9 +730,11 @@ async function main() {
|
|
|
730
730
|
}
|
|
731
731
|
}
|
|
732
732
|
const configFile = path.join(PROJECT_ROOT, 'playwright.config.ts');
|
|
733
|
-
|
|
734
733
|
try {
|
|
735
|
-
|
|
734
|
+
// IMPORTANT: Playwright's internal `.ts` transpiler intentionally ignores everything inside `node_modules`.
|
|
735
|
+
// Because Arcality tests run from inside `node_modules/@arcadialdev/arcality`, Playwright refuses to compile them.
|
|
736
|
+
// We use `--import tsx` to force Node to transpile TypeScript globally regardless of path.
|
|
737
|
+
await run("node", ["--import", "tsx", playwrightCli, "test", path.join(PROJECT_ROOT, "tests/_helpers/agentic-runner.spec.ts"), "--headed", `--config=${configFile}`], {
|
|
736
738
|
env: mergedEnv,
|
|
737
739
|
onStatus: (msg) => s.message(msg)
|
|
738
740
|
});
|
|
@@ -24,22 +24,15 @@ async function rebrandReport() {
|
|
|
24
24
|
try {
|
|
25
25
|
const logoBuffer = fs.readFileSync(logoPngPath);
|
|
26
26
|
logoBase64 = `data:image/png;base64,${logoBuffer.toString('base64')}`;
|
|
27
|
-
|
|
28
|
-
} catch (e) {
|
|
29
|
-
console.error("⚠️ Error leyendo logo:", e.message);
|
|
30
|
-
}
|
|
31
|
-
} else {
|
|
32
|
-
console.warn("⚠️ No se encontró public/logo.png");
|
|
27
|
+
} catch (e) { /* silent */ }
|
|
33
28
|
}
|
|
34
29
|
|
|
35
30
|
for (const dir of targetDirs) {
|
|
36
31
|
if (fs.existsSync(dir)) {
|
|
37
|
-
console.log(`Processing report directory: ${dir}`);
|
|
38
32
|
processDirectory(dir, logoBase64);
|
|
39
33
|
}
|
|
40
34
|
}
|
|
41
|
-
|
|
42
|
-
console.log("🏁 Branding process finished.");
|
|
35
|
+
// Silent — CLI spinner communicates progress
|
|
43
36
|
}
|
|
44
37
|
|
|
45
38
|
function processDirectory(reportDir, logoBase64) {
|
|
@@ -168,7 +161,7 @@ function processDirectory(reportDir, logoBase64) {
|
|
|
168
161
|
}
|
|
169
162
|
|
|
170
163
|
fs.writeFileSync(indexPath, html, 'utf8');
|
|
171
|
-
|
|
164
|
+
// Silent success — CLI handles notification
|
|
172
165
|
} catch (err) {
|
|
173
166
|
console.error(`❌ Error al procesar ${indexPath}: ${err.message}`);
|
|
174
167
|
}
|
|
@@ -237,7 +230,7 @@ function processTraceViewer(reportDir, logoBase64) {
|
|
|
237
230
|
}
|
|
238
231
|
|
|
239
232
|
fs.writeFileSync(tracePath, traceHtml, 'utf8');
|
|
240
|
-
|
|
233
|
+
// Silent success
|
|
241
234
|
} catch (e) {
|
|
242
235
|
console.error(`⚠️ Error en Trace Viewer ${tracePath}: ${e.message}`);
|
|
243
236
|
}
|
|
@@ -61,7 +61,7 @@ class ArcalityReporter {
|
|
|
61
61
|
const htmlContent = this.generateHtml();
|
|
62
62
|
const reportPath = path.join(this.outputDir, 'index.html');
|
|
63
63
|
fs.writeFileSync(reportPath, htmlContent);
|
|
64
|
-
|
|
64
|
+
// Intentionally silent — CLI handles the report open notification
|
|
65
65
|
}
|
|
66
66
|
|
|
67
67
|
renderStep(step, depth) {
|