haltest 1.0.3 → 1.0.7

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.
@@ -7,38 +7,62 @@
7
7
   RUN  v4.0.16 /home/andres/Documents/Projects/Hal_Test_v0/apps/backend
8
8
 
9
9
  [?2026h
10
-  ❯ __tests__/validator.test.js [queued]
10
+  ❯ __tests__/api.test.js [queued]
11
11
 
12
12
   Test Files 0 passed (8)
13
13
   Tests 0 passed (0)
14
-  Start at 13:35:51
15
-  Duration 200ms
14
+  Start at 15:10:57
15
+  Duration 300ms
16
16
  [?2026l[?2026h
17
17
   ❯ __tests__/api.test.js [queued]
18
18
   ❯ __tests__/errorHandler.test.js [queued]
19
19
   ❯ __tests__/execute_js_logic.test.js [queued]
20
20
   ❯ __tests__/implementation_verify.test.js [queued]
21
-  ❯ __tests__/launchBrowser.test.js [queued]
21
+  ❯ __tests__/logger.test.js [queued]
22
+  ❯ __tests__/security.test.js [queued]
23
+
24
+  Test Files 0 passed (8)
25
+  Tests 0 passed (0)
26
+  Start at 15:10:57
27
+  Duration 404ms
28
+ [?2026l[?2026h
29
+  ❯ __tests__/api.test.js [queued]
30
+  ❯ __tests__/errorHandler.test.js [queued]
31
+  ❯ __tests__/execute_js_logic.test.js [queued]
32
+  ❯ __tests__/implementation_verify.test.js [queued]
33
+  ❯ __tests__/logger.test.js [queued]
22
34
   ❯ __tests__/security.test.js [queued]
23
35
   ❯ __tests__/validator.test.js 0/4
24
36
 
25
37
   Test Files 0 passed (8)
26
38
   Tests 0 passed (4)
27
-  Start at 13:35:51
28
-  Duration 668ms
29
- [?2026l[?2026h ✓ __tests__/validator.test.js (4 tests) 27ms
39
+  Start at 15:10:57
40
+  Duration 848ms
41
+ [?2026l[?2026h ✓ __tests__/validator.test.js (4 tests) 40ms
42
+
43
+  ❯ __tests__/api.test.js [queued]
44
+  ❯ __tests__/errorHandler.test.js [queued]
45
+  ❯ __tests__/execute_js_logic.test.js [queued]
46
+  ❯ __tests__/implementation_verify.test.js [queued]
47
+  ❯ __tests__/logger.test.js [queued]
48
+  ❯ __tests__/security.test.js [queued]
30
49
 
50
+  Test Files 1 passed (8)
51
+  Tests 4 passed (4)
52
+  Start at 15:10:57
53
+  Duration 961ms
54
+ [?2026l[?2026h
31
55
   ❯ __tests__/api.test.js [queued]
32
56
   ❯ __tests__/errorHandler.test.js 0/6
33
57
   ❯ __tests__/execute_js_logic.test.js [queued]
34
58
   ❯ __tests__/implementation_verify.test.js [queued]
35
-  ❯ __tests__/launchBrowser.test.js [queued]
59
+  ❯ __tests__/logger.test.js 0/1
36
60
   ❯ __tests__/security.test.js [queued]
37
61
 
38
62
   Test Files 1 passed (8)
39
-  Tests 4 passed (10)
40
-  Start at 13:35:51
41
-  Duration 872ms
63
+  Tests 4 passed (11)
64
+  Start at 15:10:57
65
+  Duration 1.07s
42
66
  [?2026l[?2026hstderr | __tests__/errorHandler.test.js > ErrorHandler Middleware > debe capturar errores sin statusCode y devolver 500 con stack en desarrollo
43
67
  [ERROR 500]: Memory leak detected.
44
68
  Error: Memory leak detected.
@@ -59,7 +83,30 @@ Error: Memory leak detected.
59
83
  stderr | __tests__/errorHandler.test.js > ErrorHandler Middleware > debe capturar errores con statusCode adjunto (401)
60
84
  [ERROR 401]: Access denied. Invalid token.
61
85
 
62
- stderr | __tests__/errorHandler.test.js > ErrorHandler Middleware > debe capturar errores de validacion (400) y devolver los detalles
86
+
87
+  ❯ __tests__/api.test.js [queued]
88
+  ❯ __tests__/errorHandler.test.js 2/6
89
+  ❯ __tests__/execute_js_logic.test.js [queued]
90
+  ❯ __tests__/implementation_verify.test.js [queued]
91
+  ❯ __tests__/security.test.js 0/6
92
+
93
+  Test Files 2 passed (8)
94
+  Tests 7 passed (17)
95
+  Start at 15:10:57
96
+  Duration 1.28s
97
+ [?2026l[?2026h ✓ __tests__/logger.test.js (1 test) 66ms
98
+
99
+  ❯ __tests__/api.test.js [queued]
100
+  ❯ __tests__/errorHandler.test.js 2/6
101
+  ❯ __tests__/execute_js_logic.test.js [queued]
102
+  ❯ __tests__/implementation_verify.test.js [queued]
103
+  ❯ __tests__/security.test.js 0/6
104
+
105
+  Test Files 2 passed (8)
106
+  Tests 7 passed (17)
107
+  Start at 15:10:57
108
+  Duration 1.28s
109
+ [?2026l[?2026hstderr | __tests__/errorHandler.test.js > ErrorHandler Middleware > debe capturar errores de validacion (400) y devolver los detalles
63
110
  [ERROR 400]: Error de validación de datos en la solicitud.
64
111
 
65
112
  stderr | __tests__/errorHandler.test.js > ErrorHandler Middleware > debe manejar errores de Playwright que no son de validacion y devolver 500
@@ -82,51 +129,36 @@ Error: Timeout 30000ms exceeded. Waiting for selector "button.login" failed.
82
129
 
83
130
 
84
131
   ❯ __tests__/api.test.js [queued]
85
-  ❯ __tests__/errorHandler.test.js 1/6
132
+  ❯ __tests__/errorHandler.test.js 2/6
86
133
   ❯ __tests__/execute_js_logic.test.js [queued]
87
134
   ❯ __tests__/implementation_verify.test.js [queued]
88
-  ❯ __tests__/launchBrowser.test.js [queued]
89
135
   ❯ __tests__/security.test.js 0/6
90
136
 
91
-  Test Files 1 passed (8)
92
-  Tests 5 passed (16)
93
-  Start at 13:35:51
94
-  Duration 976ms
95
- [?2026l[?2026h ✓ __tests__/errorHandler.test.js (6 tests) 99ms
96
-
97
-  ❯ __tests__/api.test.js [queued]
98
-  ❯ __tests__/execute_js_logic.test.js [queued]
99
-  ❯ __tests__/implementation_verify.test.js [queued]
100
-  ❯ __tests__/launchBrowser.test.js [queued]
101
-  ❯ __tests__/logger.test.js [queued]
102
-  ❯ __tests__/security.test.js 2/6
103
-
104
137
   Test Files 2 passed (8)
105
-  Tests 12 passed (16)
106
-  Start at 13:35:51
107
-  Duration 1.08s
108
- [?2026l[?2026h ✓ __tests__/security.test.js (6 tests) 183ms
109
- stdout | __tests__/implementation_verify.test.js
110
- [dotenv@17.2.3] injecting env (5) from .env -- tip: 🔄 add secrets lifecycle management: https://dotenvx.com/ops
111
-
112
- stdout | __tests__/launchBrowser.test.js
113
- [dotenv@17.2.3] injecting env (5) from .env -- tip: ⚙️ override existing env vars with { override: true }
114
-
138
+  Tests 7 passed (17)
139
+  Start at 15:10:57
140
+  Duration 1.28s
141
+ [?2026l[?2026h ✓ __tests__/errorHandler.test.js (6 tests) 158ms
142
+ ✓ __tests__/security.test.js (6 tests) 173ms
115
143
  stdout | __tests__/api.test.js
116
- [dotenv@17.2.3] injecting env (5) from .env -- tip: ⚙️ load multiple .env files with { path: ['.env.local', '.env'] }
144
+ [dotenv@17.2.3] injecting env (5) from .env -- tip: 🔐 prevent committing .env to code: https://dotenvx.com/precommit
145
+
146
+ stdout | __tests__/implementation_verify.test.js
147
+ [dotenv@17.2.3] injecting env (5) from .env -- tip: 👥 sync secrets across teammates & machines: https://dotenvx.com/ops
117
148
 
118
149
 
119
150
   ❯ __tests__/api.test.js [queued]
120
151
   ❯ __tests__/execute_js_logic.test.js [queued]
121
152
   ❯ __tests__/implementation_verify.test.js [queued]
122
153
   ❯ __tests__/launchBrowser.test.js [queued]
123
-  ❯ __tests__/logger.test.js 0/1
124
154
 
125
-  Test Files 3 passed (8)
126
-  Tests 16 passed (17)
127
-  Start at 13:35:51
128
-  Duration 1.48s
129
- [?2026l[?2026h ✓ __tests__/logger.test.js (1 test) 48ms
155
+  Test Files 4 passed (8)
156
+  Tests 17 passed (17)
157
+  Start at 15:10:57
158
+  Duration 1.98s
159
+ [?2026l[?2026hstderr | __tests__/execute_js_logic.test.js
160
+ [KeyVault] WARNING: HALTEST_MASTER_ENCRYPTION_KEY not set. Using insecure default key.
161
+
130
162
 
131
163
   ❯ __tests__/api.test.js [queued]
132
164
   ❯ __tests__/execute_js_logic.test.js [queued]
@@ -135,10 +167,10 @@ Error: Timeout 30000ms exceeded. Waiting for selector "button.login" failed.
135
167
 
136
168
   Test Files 4 passed (8)
137
169
   Tests 17 passed (17)
138
-  Start at 13:35:51
139
-  Duration 1.98s
140
- [?2026l[?2026hstderr | __tests__/execute_js_logic.test.js
141
- [KeyVault] WARNING: HALTEST_MASTER_ENCRYPTION_KEY not set. Using insecure default key.
170
+  Start at 15:10:57
171
+  Duration 2.91s
172
+ [?2026l[?2026hstdout | __tests__/launchBrowser.test.js
173
+ [dotenv@17.2.3] injecting env (5) from .env -- tip: 👥 sync secrets across teammates & machines: https://dotenvx.com/ops
142
174
 
143
175
 
144
176
   ❯ __tests__/api.test.js [queued]
@@ -148,8 +180,18 @@ Error: Timeout 30000ms exceeded. Waiting for selector "button.login" failed.
148
180
 
149
181
   Test Files 4 passed (8)
150
182
   Tests 17 passed (17)
151
-  Start at 13:35:51
152
-  Duration 1.98s
183
+  Start at 15:10:57
184
+  Duration 2.91s
185
+ [?2026l[?2026h
186
+  ❯ __tests__/api.test.js [queued]
187
+  ❯ __tests__/execute_js_logic.test.js 0/5
188
+  ❯ __tests__/implementation_verify.test.js [queued]
189
+  ❯ __tests__/launchBrowser.test.js [queued]
190
+
191
+  Test Files 4 passed (8)
192
+  Tests 17 passed (22)
193
+  Start at 15:10:57
194
+  Duration 3.92s
153
195
  [?2026l[?2026hstdout | __tests__/execute_js_logic.test.js > executeJsAction Logic > should execute script without args
154
196
  [FlightRecorder] Check: takeScreenshot=undefined, runId=undefined, nodeId=undefined
155
197
 
@@ -158,27 +200,29 @@ Error: Timeout 30000ms exceeded. Waiting for selector "button.login" failed.
158
200
 
159
201
 
160
202
   ❯ __tests__/api.test.js [queued]
203
+  ❯ __tests__/execute_js_logic.test.js 1/5
161
204
   ❯ __tests__/implementation_verify.test.js [queued]
162
205
   ❯ __tests__/launchBrowser.test.js [queued]
163
206
 
164
-  Test Files 5 passed (8)
165
-  Tests 22 passed (22)
166
-  Start at 13:35:51
167
-  Duration 2.99s
168
- [?2026l[?2026hstderr | __tests__/execute_js_logic.test.js > executeJsAction Logic > should handle invalid JSON args
207
+  Test Files 4 passed (8)
208
+  Tests 18 passed (22)
209
+  Start at 15:10:57
210
+  Duration 4.02s
211
+ [?2026l[?2026hstderr | __tests__/execute_js_logic.test.js > executeJsAction Logic > should handle invalid JSON args
169
212
  [WARN] FlightRecorder: Failed to capture failure screenshot page.screenshot is not a function
170
213
  [ERROR] execute_js: errors.parse_args_error
171
214
 
172
215
 
173
216
   ❯ __tests__/api.test.js [queued]
217
+  ❯ __tests__/execute_js_logic.test.js 1/5
174
218
   ❯ __tests__/implementation_verify.test.js [queued]
175
219
   ❯ __tests__/launchBrowser.test.js [queued]
176
220
 
177
-  Test Files 5 passed (8)
178
-  Tests 22 passed (22)
179
-  Start at 13:35:51
180
-  Duration 2.99s
181
- [?2026l[?2026hstdout | __tests__/execute_js_logic.test.js > executeJsAction Logic > should store return value in variableManager if requested
221
+  Test Files 4 passed (8)
222
+  Tests 18 passed (22)
223
+  Start at 15:10:57
224
+  Duration 4.02s
225
+ [?2026l[?2026hstdout | __tests__/execute_js_logic.test.js > executeJsAction Logic > should store return value in variableManager if requested
182
226
  [FlightRecorder] Check: takeScreenshot=undefined, runId=undefined, nodeId=undefined
183
227
 
184
228
 
@@ -188,8 +232,8 @@ Error: Timeout 30000ms exceeded. Waiting for selector "button.login" failed.
188
232
 
189
233
   Test Files 5 passed (8)
190
234
   Tests 22 passed (22)
191
-  Start at 13:35:51
192
-  Duration 2.99s
235
+  Start at 15:10:57
236
+  Duration 4.93s
193
237
  [?2026l[?2026hstderr | __tests__/execute_js_logic.test.js > executeJsAction Logic > should handle script execution errors
194
238
  [WARN] FlightRecorder: Failed to capture failure screenshot page.screenshot is not a function
195
239
  [ERROR] execute_js: errors.script_execution_error
@@ -201,18 +245,72 @@ Error: Timeout 30000ms exceeded. Waiting for selector "button.login" failed.
201
245
 
202
246
   Test Files 5 passed (8)
203
247
   Tests 22 passed (22)
204
-  Start at 13:35:51
205
-  Duration 2.99s
206
- [?2026l[?2026h ✓ __tests__/execute_js_logic.test.js (5 tests) 26ms
248
+  Start at 15:10:57
249
+  Duration 4.93s
250
+ [?2026l[?2026h ✓ __tests__/execute_js_logic.test.js (5 tests) 141ms
251
+
252
+  ❯ __tests__/api.test.js [queued]
253
+  ❯ __tests__/implementation_verify.test.js [queued]
254
+  ❯ __tests__/launchBrowser.test.js [queued]
255
+
256
+  Test Files 5 passed (8)
257
+  Tests 22 passed (22)
258
+  Start at 15:10:57
259
+  Duration 4.93s
260
+ [?2026l[?2026h
261
+  ❯ __tests__/api.test.js [queued]
262
+  ❯ __tests__/implementation_verify.test.js [queued]
263
+  ❯ __tests__/launchBrowser.test.js [queued]
264
+
265
+  Test Files 5 passed (8)
266
+  Tests 22 passed (22)
267
+  Start at 15:10:57
268
+  Duration 5.94s
269
+ [?2026l[?2026h
270
+  ❯ __tests__/api.test.js [queued]
271
+  ❯ __tests__/implementation_verify.test.js [queued]
272
+  ❯ __tests__/launchBrowser.test.js [queued]
273
+
274
+  Test Files 5 passed (8)
275
+  Tests 22 passed (22)
276
+  Start at 15:10:57
277
+  Duration 6.96s
278
+ [?2026l[?2026h
279
+  ❯ __tests__/api.test.js [queued]
280
+  ❯ __tests__/implementation_verify.test.js [queued]
281
+  ❯ __tests__/launchBrowser.test.js [queued]
282
+
283
+  Test Files 5 passed (8)
284
+  Tests 22 passed (22)
285
+  Start at 15:10:57
286
+  Duration 7.96s
287
+ [?2026l[?2026h
288
+  ❯ __tests__/api.test.js [queued]
289
+  ❯ __tests__/implementation_verify.test.js [queued]
290
+  ❯ __tests__/launchBrowser.test.js [queued]
291
+
292
+  Test Files 5 passed (8)
293
+  Tests 22 passed (22)
294
+  Start at 15:10:57
295
+  Duration 8.97s
296
+ [?2026l[?2026h
297
+  ❯ __tests__/api.test.js [queued]
298
+  ❯ __tests__/implementation_verify.test.js [queued]
299
+  ❯ __tests__/launchBrowser.test.js [queued]
207
300
 
301
+  Test Files 5 passed (8)
302
+  Tests 22 passed (22)
303
+  Start at 15:10:57
304
+  Duration 9.97s
305
+ [?2026l[?2026h
208
306
   ❯ __tests__/api.test.js [queued]
209
307
   ❯ __tests__/implementation_verify.test.js [queued]
210
308
   ❯ __tests__/launchBrowser.test.js [queued]
211
309
 
212
310
   Test Files 5 passed (8)
213
311
   Tests 22 passed (22)
214
-  Start at 13:35:51
215
-  Duration 2.99s
312
+  Start at 15:10:57
313
+  Duration 10.99s
216
314
  [?2026l[?2026hstdout | __tests__/api.test.js
217
315
  ✅ Inspector routes registered: /start, /stop
218
316
  ✅ 73 action routes registered successfully
@@ -225,18 +323,18 @@ Error: Timeout 30000ms exceeded. Waiting for selector "button.login" failed.
225
323
  ✅ Inspector routes registered: /start, /stop
226
324
  ✅ 73 action routes registered successfully
227
325
 
228
- stdout | __tests__/api.test.js
229
- [dotenv@17.2.3] injecting env (0) from .env -- tip: 🔑 add access controls to secrets: https://dotenvx.com/ops
326
+ stdout | __tests__/implementation_verify.test.js
327
+ [dotenv@17.2.3] injecting env (0) from .env -- tip: 👥 sync secrets across teammates & machines: https://dotenvx.com/ops
230
328
  🚀 Socket.io server ready and listening on port 2001
231
329
  Initializing database...
232
330
 
233
331
  stdout | __tests__/launchBrowser.test.js
234
- [dotenv@17.2.3] injecting env (0) from .env -- tip: 🔐 prevent committing .env to code: https://dotenvx.com/precommit
332
+ [dotenv@17.2.3] injecting env (0) from .env -- tip: ⚙️ specify custom .env file path with { path: '/custom/path/.env' }
235
333
  🚀 Socket.io server ready and listening on port 2001
236
334
  Initializing database...
237
335
 
238
- stdout | __tests__/implementation_verify.test.js
239
- [dotenv@17.2.3] injecting env (0) from .env -- tip: ⚙️ enable debug logging with { debug: true }
336
+ stdout | __tests__/api.test.js
337
+ [dotenv@17.2.3] injecting env (0) from .env -- tip: 🔑 add access controls to secrets: https://dotenvx.com/ops
240
338
  🚀 Socket.io server ready and listening on port 2001
241
339
  Initializing database...
242
340
 
@@ -247,36 +345,44 @@ Initializing database...
247
345
 
248
346
   Test Files 5 passed (8)
249
347
   Tests 22 passed (26)
250
-  Start at 13:35:51
251
-  Duration 3.90s
348
+  Start at 15:10:57
349
+  Duration 11.31s
252
350
  [?2026l[?2026h ↓ __tests__/launchBrowser.test.js (4 tests | 4 skipped)
253
- GET /api/status 200 3.098 ms - 127
254
- stdout | __tests__/api.test.js > HalTest API Endpoints: Status, Nodes, and Project > GET /api/status (cURL #1) debe verificar que el servidor está activo y devolver 200
351
+ GET /api/status 200 12.152 ms - 127
352
+ GET /api/status 200 13.126 ms - 127
353
+ stdout | __tests__/implementation_verify.test.js > Refactored Implementation Verification > should check server status
255
354
  Connection has been established successfully.
256
355
 
257
- GET /api/status 200 4.425 ms - 127
258
- stdout | __tests__/implementation_verify.test.js > Refactored Implementation Verification > should check server status
356
+ stdout | __tests__/api.test.js > HalTest API Endpoints: Status, Nodes, and Project > GET /api/status (cURL #1) debe verificar que el servidor está activo y devolver 200
259
357
  Connection has been established successfully.
260
358
 
261
359
  stdout | __tests__/api.test.js > HalTest API Endpoints: Status, Nodes, and Project > GET /api/nodes/categories (cURL #2) debe obtener la lista de categorías (mínimo 5) con status 200
262
360
  📂 API: Returning MCP node categories.
263
361
 
264
- GET /api/nodes/categories 200 3.429 ms - 1426
362
+ GET /api/nodes/categories 200 14.737 ms - 1426
265
363
  stdout | __tests__/api.test.js > HalTest API Endpoints: Status, Nodes, and Project > GET /api/project/load?id=PRJ-42 (cURL #8) debe cargar el proyecto Mock con status 200
266
364
  📦 API: Returning project data: PRJ-42
267
365
 
268
- GET /api/project/load?id=PRJ-42 200 4.278 ms - 750
269
- GET /ruta-inexistente 200 5.538 ms - 487
270
- GET /api/ruta-inexistente 404 5.420 ms - 83
366
+ GET /api/project/load?id=PRJ-42 200 13.959 ms - 750
271
367
 
272
368
   ❯ __tests__/api.test.js 1/11
273
369
   ❯ __tests__/implementation_verify.test.js 0/11
274
370
 
275
371
   Test Files 5 passed | 1 skipped (8)
276
372
   Tests 23 passed | 4 skipped (48)
277
-  Start at 13:35:51
278
-  Duration 4.10s
279
- [?2026l[?2026h ✓ __tests__/api.test.js (11 tests | 6 skipped) 109ms
373
+  Start at 15:10:57
374
+  Duration 11.61s
375
+ [?2026l[?2026hGET /ruta-inexistente 200 31.315 ms - 487
376
+ GET /api/ruta-inexistente 404 21.522 ms - 83
377
+
378
+  ❯ __tests__/api.test.js 9/11
379
+  ❯ __tests__/implementation_verify.test.js 0/11
380
+
381
+  Test Files 5 passed | 1 skipped (8)
382
+  Tests 25 passed | 10 skipped (48)
383
+  Start at 15:10:57
384
+  Duration 11.82s
385
+ [?2026l[?2026h ✓ __tests__/api.test.js (11 tests | 6 skipped) 415ms
280
386
  stdout | __tests__/implementation_verify.test.js > Refactored Implementation Verification > should launch a browser
281
387
  [ACTION] Starting browser launch with options: {
282
388
  "browserType": "chromium",
@@ -291,12 +397,22 @@ Initializing database...
291
397
  [BrowserService] Final Launch Args: ["--window-size=1280,720","--disable-features=CDPScreenshotNewSurface","--disable-gpu","--no-sandbox","--disable-dev-shm-usage","--no-zygote","--disable-gpu-sandbox","--disable-accelerated-2d-canvas","--disable-gpu-compositing","--font-render-hinting=none","--disable-background-timer-throttling","--disable-backgrounding-occluded-windows","--disable-renderer-backgrounding","--js-flags=\"--max-old-space-size=4096\"","--disable-webgl","--disable-webgl2","--disable-3d-apis","--mute-audio","--disable-setuid-sandbox","--disable-blink-features=AutomationControlled","--disable-software-rasterizer"]
292
398
  ---------------------------------------------------------
293
399
  [AUDIT] Launching CHROMIUM
400
+ [AUDIT] Headless: true
401
+ [AUDIT] NODE_ENV: test
402
+ [AUDIT] HAL_CLI_MODE: undefined
294
403
  [AUDIT] Target Viewport: 1280x720
295
404
  [AUDIT] Mobile Simulation: DISABLED
296
405
  [AUDIT] Device Preset: Desktop
297
406
  ---------------------------------------------------------
298
407
 
299
- stdout | __tests__/implementation_verify.test.js > Refactored Implementation Verification > should launch a browser
408
+
409
+  ❯ __tests__/implementation_verify.test.js 1/11
410
+
411
+  Test Files 6 passed | 1 skipped (8)
412
+  Tests 28 passed | 10 skipped (48)
413
+  Start at 15:10:57
414
+  Duration 11.92s
415
+ [?2026l[?2026hstdout | __tests__/implementation_verify.test.js > Refactored Implementation Verification > should launch a browser
300
416
  Database synchronized
301
417
 
302
418
  stdout | __tests__/implementation_verify.test.js > Refactored Implementation Verification > should launch a browser
@@ -308,18 +424,25 @@ Initializing database...
308
424
  [StorageCleanup] Starting cleanup...
309
425
 
310
426
  stdout | __tests__/implementation_verify.test.js > Refactored Implementation Verification > should launch a browser
311
- [StorageCleanup] Removed: /tmp/playwright_chromiumdev_profile-w6DzUD
427
+ [StorageCleanup] Removed: /tmp/playwright_chromiumdev_profile-VkpI73
312
428
  [StorageCleanup] Cleaned 1 Playwright temp dirs
313
429
 
314
430
  stdout | __tests__/implementation_verify.test.js > Refactored Implementation Verification > should launch a browser
315
431
  [StorageCleanup] Cleanup complete.
316
432
 
317
433
  stdout | __tests__/implementation_verify.test.js > Refactored Implementation Verification > should launch a browser
318
- [SUCCESS] Browser launched with ID: 81737598
319
- 📡 [Socket.io] Emitting execution-log: Browser launched with ID: 81737598
434
+ [SUCCESS] Browser launched with ID: 728bb4ae
435
+ 📡 [Socket.io] Emitting execution-log: Browser launched with ID: 728bb4ae
320
436
 
321
- POST /api/actions/launch_browser 200 144.621 ms - 98
322
- stdout | __tests__/implementation_verify.test.js > Refactored Implementation Verification > should create a context
437
+ POST /api/actions/launch_browser 200 600.113 ms - 98
438
+
439
+  ❯ __tests__/implementation_verify.test.js 2/11
440
+
441
+  Test Files 6 passed | 1 skipped (8)
442
+  Tests 29 passed | 10 skipped (48)
443
+  Start at 15:10:57
444
+  Duration 12.22s
445
+ [?2026l[?2026hstdout | __tests__/implementation_verify.test.js > Refactored Implementation Verification > should create a context
323
446
  [INFO] Creating new navigation context
324
447
  [INFO] Found launch options for browser: {
325
448
  "browserType": "chromium",
@@ -366,85 +489,99 @@ Initializing database...
366
489
  [SUCCESS] Context created successfully
367
490
 
368
491
  stdout | __tests__/implementation_verify.test.js > Refactored Implementation Verification > should create a context
369
- 📡 [Socket.io] Emitting execution-log: Context verified/created successfully. (14ms)
492
+ 📡 [Socket.io] Emitting execution-log: Context verified/created successfully. (135ms)
370
493
  [FlightRecorder] Check: takeScreenshot=undefined, runId=undefined, nodeId=undefined
371
494
 
372
- POST /api/actions/create_context 200 19.147 ms - 156
373
-
374
-  ❯ __tests__/implementation_verify.test.js 2/11
375
-
376
-  Test Files 6 passed | 1 skipped (8)
377
-  Tests 29 passed | 10 skipped (48)
378
-  Start at 13:35:51
379
-  Duration 4.20s
380
- [?2026l[?2026hstdout | __tests__/implementation_verify.test.js > Refactored Implementation Verification > should set cookies
495
+ POST /api/actions/create_context 200 152.382 ms - 157
496
+ stdout | __tests__/implementation_verify.test.js > Refactored Implementation Verification > should set cookies
381
497
  [getActivePage] No active pages found. Creating new page automatically.
382
498
 
383
- stdout | __tests__/implementation_verify.test.js > Refactored Implementation Verification > should set cookies
384
- 📡 [Socket.io] Emitting execution-log: Cookies establecidas (65ms)
385
- [FlightRecorder] Check: takeScreenshot=undefined, runId=undefined, nodeId=undefined
386
499
 
387
- POST /api/actions/manage_cookies 200 70.022 ms - 116
388
- stdout | __tests__/implementation_verify.test.js > Refactored Implementation Verification > should get cookies
389
- 📡 [Socket.io] Emitting execution-log: Cookies obtenidas (3ms)
390
- [FlightRecorder] Check: takeScreenshot=undefined, runId=undefined, nodeId=undefined
500
+  __tests__/implementation_verify.test.js 3/11
391
501
 
392
- POST /api/actions/manage_cookies 200 4.531 ms - 255
393
- stdout | __tests__/implementation_verify.test.js > Refactored Implementation Verification > should mock a response
394
- 📡 [Socket.io] Emitting execution-log: Mock response configured for: **/api/mocked (4ms)
502
+  Test Files 6 passed | 1 skipped (8)
503
+  Tests 30 passed | 10 skipped (48)
504
+  Start at 15:10:57
505
+  Duration 12.52s
506
+ [?2026l[?2026hstdout | __tests__/implementation_verify.test.js > Refactored Implementation Verification > should set cookies
507
+ 📡 [Socket.io] Emitting execution-log: Cookies establecidas (231ms)
395
508
  [FlightRecorder] Check: takeScreenshot=undefined, runId=undefined, nodeId=undefined
396
509
 
397
- POST /api/actions/mock_response 200 6.553 ms - 148
510
+ POST /api/actions/manage_cookies 200 257.585 ms - 117
398
511
 
399
512
   ❯ __tests__/implementation_verify.test.js 4/11
400
513
 
401
514
   Test Files 6 passed | 1 skipped (8)
402
515
   Tests 31 passed | 10 skipped (48)
403
-  Start at 13:35:51
404
-  Duration 4.30s
405
- [?2026l[?2026hstdout | __tests__/implementation_verify.test.js > Refactored Implementation Verification > should open a URL
516
+  Start at 15:10:57
517
+  Duration 12.72s
518
+ [?2026l[?2026hstdout | __tests__/implementation_verify.test.js > Refactored Implementation Verification > should get cookies
519
+ 📡 [Socket.io] Emitting execution-log: Cookies obtenidas (9ms)
520
+ [FlightRecorder] Check: takeScreenshot=undefined, runId=undefined, nodeId=undefined
521
+
522
+ POST /api/actions/manage_cookies 200 14.889 ms - 255
523
+ stdout | __tests__/implementation_verify.test.js > Refactored Implementation Verification > should mock a response
524
+ 📡 [Socket.io] Emitting execution-log: Mock response configured for: **/api/mocked (16ms)
525
+ [FlightRecorder] Check: takeScreenshot=undefined, runId=undefined, nodeId=undefined
526
+
527
+ POST /api/actions/mock_response 200 24.214 ms - 149
528
+ stdout | __tests__/implementation_verify.test.js > Refactored Implementation Verification > should open a URL
406
529
  [INFO] Reusing existing primary page for navigation.
407
530
 
408
531
 
409
-  ❯ __tests__/implementation_verify.test.js 6/11
532
+  ❯ __tests__/implementation_verify.test.js 5/11
410
533
 
411
534
   Test Files 6 passed | 1 skipped (8)
412
-  Tests 33 passed | 10 skipped (48)
413
-  Start at 13:35:51
414
-  Duration 4.40s
535
+  Tests 32 passed | 10 skipped (48)
536
+  Start at 15:10:57
537
+  Duration 12.82s
415
538
  [?2026l[?2026hstdout | __tests__/implementation_verify.test.js > Refactored Implementation Verification > should open a URL
416
- [SUCCESS] URL opened (562ms): https://example.com
417
- 📡 [Socket.io] Emitting execution-log: Navigated to https://example.com in 562ms
539
+ [SUCCESS] URL opened (886ms): https://example.com
540
+ 📡 [Socket.io] Emitting execution-log: Navigated to https://example.com in 886ms
418
541
 
419
- POST /api/actions/open_url 200 581.655 ms - 139
542
+ POST /api/actions/open_url 200 961.680 ms - 139
420
543
 
421
544
   ❯ __tests__/implementation_verify.test.js 7/11
422
545
 
423
546
   Test Files 6 passed | 1 skipped (8)
424
547
   Tests 34 passed | 10 skipped (48)
425
-  Start at 13:35:51
426
-  Duration 4.90s
548
+  Start at 15:10:57
549
+  Duration 13.73s
550
+ [?2026l[?2026h
551
+  ❯ __tests__/implementation_verify.test.js 7/11
552
+
553
+  Test Files 6 passed | 1 skipped (8)
554
+  Tests 34 passed | 10 skipped (48)
555
+  Start at 15:10:57
556
+  Duration 13.93s
427
557
  [?2026l[?2026hstdout | __tests__/implementation_verify.test.js > Refactored Implementation Verification > should read data (text)
428
- 📡 [Socket.io] Emitting execution-log: actions.get_set_content.get.success (95ms)
558
+ 📡 [Socket.io] Emitting execution-log: actions.get_set_content.get.success (313ms)
429
559
  [FlightRecorder] Check: takeScreenshot=false, runId=undefined, nodeId=undefined
430
560
 
431
- POST /api/actions/get_set_content 200 96.914 ms - 328
561
+ POST /api/actions/get_set_content 200 321.534 ms - 329
432
562
 
433
563
   ❯ __tests__/implementation_verify.test.js 8/11
434
564
 
435
565
   Test Files 6 passed | 1 skipped (8)
436
566
   Tests 35 passed | 10 skipped (48)
437
-  Start at 13:35:51
438
-  Duration 5.00s
439
- [?2026lstdout | __tests__/implementation_verify.test.js > Refactored Implementation Verification > should close the context
440
- 📡 [Socket.io] Emitting execution-log: Context closed successfully. (8ms)
567
+  Start at 15:10:57
568
+  Duration 14.13s
569
+ [?2026l[?2026hstdout | __tests__/implementation_verify.test.js > Refactored Implementation Verification > should close the context
570
+ 📡 [Socket.io] Emitting execution-log: Context closed successfully. (32ms)
441
571
  [FlightRecorder] Check: takeScreenshot=undefined, runId=undefined, nodeId=undefined
442
572
 
443
- POST /api/actions/close_context 200 9.275 ms - 123
573
+ POST /api/actions/close_context 200 36.220 ms - 124
444
574
  stdout | __tests__/implementation_verify.test.js > Refactored Implementation Verification > should close the browser
445
- [INFO] Closing browser 81737598...
575
+ [INFO] Closing browser 728bb4ae...
576
+
446
577
 
447
- POST /api/actions/close_browser 200 22.137 ms - 80
578
+  __tests__/implementation_verify.test.js 9/11
579
+
580
+  Test Files 6 passed | 1 skipped (8)
581
+  Tests 36 passed | 10 skipped (48)
582
+  Start at 15:10:57
583
+  Duration 14.23s
584
+ [?2026lPOST /api/actions/close_browser 200 51.826 ms - 80
448
585
  stdout | __tests__/implementation_verify.test.js > Refactored Implementation Verification > should call LLM action (stub)
449
586
  [AIService] Generating text. Task: reasoning -> Using: openai/gpt-4o-mini, Temp: 0.7
450
587
 
@@ -468,13 +605,15 @@ Initializing database...
468
605
  stderr | __tests__/implementation_verify.test.js > Refactored Implementation Verification > should call LLM action (stub)
469
606
  [ERROR] callLlmAction: AI Generation failed (openai/gpt-4o-mini): OpenAI API key is missing. Pass it using the 'apiKey' parameter or the OPENAI_API_KEY environment variable.
470
607
 
471
- POST /api/actions/call_llm 500 15.167 ms - 213
472
- ✓ __tests__/implementation_verify.test.js (11 tests) 1116ms
473
- ✓ should open a URL  586ms
608
+ POST /api/actions/call_llm 500 24.778 ms - 213
609
+ ✓ __tests__/implementation_verify.test.js (11 tests) 2908ms
610
+ ✓ should launch a browser  666ms
611
+ ✓ should open a URL  980ms
612
+ ✓ should read data (text)  340ms
474
613
 
475
614
   Test Files  7 passed | 1 skipped (8)
476
615
   Tests  38 passed | 10 skipped (48)
477
-  Start at  13:35:51
478
-  Duration  5.13s (transform 2.91s, setup 0ms, import 14.81s, tests 1.61s, environment 2ms)
616
+  Start at  15:10:57
617
+  Duration  14.32s (transform 6.74s, setup 0ms, import 38.27s, tests 3.90s, environment 3ms)
479
618
 
480
619
  [?25h