testdriverai 7.1.1 → 7.1.2

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/docs/docs.json CHANGED
@@ -313,16 +313,64 @@
313
313
  },
314
314
  "redirects": [
315
315
  {
316
- "source": "/guides/github-actions",
317
- "destination": "/action/setup"
316
+ "source": "/overview/:slug*",
317
+ "destination": "/v6/overview/:slug*"
318
318
  },
319
319
  {
320
- "source": "/reference/test-steps",
321
- "destination": "/features/selectorless"
320
+ "source": "/features/:slug*",
321
+ "destination": "/v6/features/:slug*"
322
322
  },
323
323
  {
324
- "source": "/guides/debugging-test-runs",
325
- "destination": "/getting-started/editing"
324
+ "source": "/account/:slug*",
325
+ "destination": "/v6/account/:slug*"
326
+ },
327
+ {
328
+ "source": "/cli/:slug*",
329
+ "destination": "/v6/cli/:slug*"
330
+ },
331
+ {
332
+ "source": "/interactive/:slug*",
333
+ "destination": "/v6/interactive/:slug*"
334
+ },
335
+ {
336
+ "source": "/getting-started/:slug*",
337
+ "destination": "/v6/getting-started/:slug*"
338
+ },
339
+ {
340
+ "source": "/apps/:slug*",
341
+ "destination": "/v6/apps/:slug*"
342
+ },
343
+ {
344
+ "source": "/scenarios/:slug*",
345
+ "destination": "/v6/scenarios/:slug*"
346
+ },
347
+ {
348
+ "source": "/integrations/:slug*",
349
+ "destination": "/v6/integrations/:slug*"
350
+ },
351
+ {
352
+ "source": "/guide/:slug*",
353
+ "destination": "/v6/guide/:slug*"
354
+ },
355
+ {
356
+ "source": "/action/:slug*",
357
+ "destination": "/v6/action/:slug*"
358
+ },
359
+ {
360
+ "source": "/importing/:slug*",
361
+ "destination": "/v6/importing/:slug*"
362
+ },
363
+ {
364
+ "source": "/exporting/:slug*",
365
+ "destination": "/v6/exporting/:slug*"
366
+ },
367
+ {
368
+ "source": "/bugs/:slug*",
369
+ "destination": "/v6/bugs/:slug*"
370
+ },
371
+ {
372
+ "source": "/commands/:slug*",
373
+ "destination": "/v6/commands/:slug*"
326
374
  }
327
375
  ],
328
376
  "integrations": {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "testdriverai",
3
- "version": "7.1.1",
3
+ "version": "7.1.2",
4
4
  "description": "Next generation autonomous AI agent for end-to-end testing of web & desktop",
5
5
  "main": "sdk.js",
6
6
  "exports": {
package/sdk.js CHANGED
@@ -1,3 +1,6 @@
1
+ // Auto-load environment variables from .env file if it exists
2
+ require("dotenv").config();
3
+
1
4
  const fs = require("fs");
2
5
  const path = require("path");
3
6
  const os = require("os");
package/vitest.config.mjs CHANGED
@@ -1,11 +1,6 @@
1
- import { config } from 'dotenv';
2
1
  import TestDriver from 'testdriverai/vitest';
3
2
  import { defineConfig } from 'vitest/config';
4
3
 
5
- // Load .env file early so it's available to the reporter (runs in main process)
6
- // and to worker processes
7
- config();
8
-
9
4
  export default defineConfig({
10
5
  test: {
11
6
  testTimeout: 120000,