testdriverai 5.7.8 → 5.7.9

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.
@@ -49,7 +49,7 @@ jobs:
49
49
  - uses: testdriverai/action@main
50
50
  with:
51
51
  os: ${{ contains(matrix.os, 'windows') && 'windows' || 'linux' }}
52
- version: "5.5.5"
52
+ version: "alpha"
53
53
  prerun: |
54
54
  exit
55
55
  key: ${{ secrets.TESTDRIVER_API_KEY }}
@@ -58,4 +58,5 @@ jobs:
58
58
  env:
59
59
  GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
60
60
  FORCE_COLOR: "3"
61
+ TD_WEBSITE: "https://testdriver-sandbox.vercel.app"
61
62
  WEBSITE_URL: "example.com"
package/lib/commands.js CHANGED
@@ -494,7 +494,7 @@ let commands = {
494
494
  ),
495
495
  true,
496
496
  );
497
-
497
+
498
498
  modsToPress.forEach((key) => {
499
499
  robot.keyToggle(key, "down");
500
500
  })
@@ -803,7 +803,7 @@ let commands = {
803
803
  chalk.dim(`running value of \`${plat}\` on this machine...`),
804
804
  true,
805
805
  );
806
- result = await exec(windows_code, { cwd: cwd() });
806
+ result = await exec(windows_code, { cwd: cwd(), shell: "powershell.exe" });
807
807
  } else if (plat == "mac") {
808
808
  logger.info(
809
809
  chalk.dim(`running value of \`${plat}\` on this machine...`),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "testdriverai",
3
- "version": "5.7.8",
3
+ "version": "5.7.9",
4
4
  "description": "Next generation autonomous AI agent for end-to-end testing of web & desktop",
5
5
  "main": "index.js",
6
6
  "bin": {
@@ -1,6 +1,9 @@
1
1
  version: 5.7.7
2
2
  session: 682f62f6811bd5a322c0e726
3
3
  steps:
4
+ - commands:
5
+ - command: run
6
+ file: testdriver/snippets/login.yaml
4
7
  - prompt: click on add to cart under the testdriver hat
5
8
  commands:
6
9
  - command: focus-application
@@ -1,6 +1,9 @@
1
1
  version: 5.7.7
2
2
  session: 682f5d92811bd5a322c0e636
3
3
  steps:
4
+ - commands:
5
+ - command: run
6
+ file: testdriver/snippets/login.yaml
4
7
  - prompt: assert the testdriver login page shows
5
8
  commands:
6
9
  - command: match-image
@@ -1,7 +1,7 @@
1
1
  version: 5.7.7
2
2
  session: 682f66241f5b5f003ee139cb
3
3
  steps:
4
- - prompt: remember the username of the user who cannot lo gin
4
+ - prompt: remember the username of the user who cannot login
5
5
  commands:
6
6
  - command: focus-application
7
7
  name: Google Chrome
@@ -1,6 +1,9 @@
1
1
  version: 5.7.7
2
2
  session: 682f62a1811bd5a322c0e70b
3
3
  steps:
4
+ - commands:
5
+ - command: run
6
+ file: testdriver/snippets/login.yaml
4
7
  - prompt: scroll until text testdriver socks
5
8
  commands:
6
9
  - command: focus-application