testdriverai 5.7.10 → 5.7.13

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/index.js CHANGED
@@ -1,11 +1,15 @@
1
1
  #!/usr/bin/env node
2
2
 
3
3
  const config = require("./lib/config.js");
4
+
4
5
  // We need to initialize the IPC server quickly
5
6
  require("./lib/ipc.js");
6
7
  const { emitter, events } = require("./lib/events.js");
7
8
  const { logger } = require("./lib/logger.js");
8
9
 
10
+ logger.info('Config is')
11
+ console.log(config)
12
+
9
13
  if (process.argv[2] === "--help" || process.argv[2] === "-h") {
10
14
  console.log("Command: testdriverai [init, run, edit] [yaml filepath]");
11
15
  process.exit(0);
package/lib/commands.js CHANGED
@@ -3,7 +3,6 @@ const sdk = require("./sdk");
3
3
  const vm = require("vm");
4
4
  const chalk = require("chalk");
5
5
  const server = require("./ipc");
6
- const outputs = require("./outputs");
7
6
  const {
8
7
  captureScreenBase64,
9
8
  captureScreenPNG,
@@ -36,8 +35,7 @@ if (config.TD_VM) {
36
35
 
37
36
  const {
38
37
  logger,
39
- prettyMarkdown,
40
- createMarkdownStreamLogger,
38
+ prettyMarkdown
41
39
  } = require("./logger");
42
40
  const { emitter, events } = require("./events.js");
43
41
 
package/lib/overlay.js CHANGED
@@ -24,7 +24,7 @@ module.exports.createOverlayProcess = ({ id, detached = false } = {}) => {
24
24
 
25
25
  // Fork the Electron process with overlay.js as an argument
26
26
  electronProcess = fork(electronCliPath, args, {
27
- stdio: "ignore",
27
+ stdio: "pipe",
28
28
  env: {
29
29
  ...process.env,
30
30
  TD_OVERLAY_ID: id,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "testdriverai",
3
- "version": "5.7.10",
3
+ "version": "5.7.13",
4
4
  "description": "Next generation autonomous AI agent for end-to-end testing of web & desktop",
5
5
  "main": "index.js",
6
6
  "bin": {
Binary file
@@ -1,27 +0,0 @@
1
-
2
- name: Test Interp
3
-
4
- on:
5
- push:
6
- branches: ["main"]
7
- pull_request:
8
- workflow_dispatch:
9
-
10
- jobs:
11
- run:
12
- runs-on: ubuntu-latest
13
- steps:
14
- - uses: testdriverai/action@main
15
- with:
16
- os: windows
17
- branch: main
18
- key: ${{secrets.TESTDRIVER_API_KEY}}
19
- prompt: |
20
- 1. /run test.yaml
21
- prerun: |
22
- Start-Process "C:/Program Files/Google/Chrome/Application/chrome.exe" -ArgumentList "--start-maximized", "${{ env.WEBSITE_URL }}"
23
-
24
- env:
25
- GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
26
- WEBSITE_URL: "https://kzmgtp9k2gtuuw2iquk2.lite.vusercontent.net/"
27
- TD_PASSWORD: "passW0rd!"