@autifyhq/autify-cli-integration-test 0.12.0 → 0.13.0

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.
@@ -5,16 +5,16 @@ Object {
5
5
  "stderr": "",
6
6
  "stdout": "[HPM] Proxy created: / -> https://app.autify.com
7
7
  [HPM] Proxy created: / -> https://mobile-app.autify.com
8
- [Autify Connect Manager] YYYY-MM-DDTHH:MM:SS.MMMZ info Ephemeral Access Point was created: autify-cli-576f4b9e-2bb5-4c65-8820-586d92b60c81
8
+ [Autify Connect Manager] YYYY-MM-DDTHH:MM:SS.MMMZ info Ephemeral Access Point was created: autify-cli-acab582f-b894-4199-9a57-36a163242914
9
9
  Starting Autify Connect Client...
10
- [Autify Connect Manager] YYYY-MM-DDTHH:MM:SS.MMMZ info Starting Autify Connect Client (accessPoint: autify-cli-576f4b9e-2bb5-4c65-8820-586d92b60c81, debugServerPort: <random>, path: /path/to/autifyconnect-fake, version: Autify Connect version v0.6.3, build 7da4a94)
10
+ [Autify Connect Manager] YYYY-MM-DDTHH:MM:SS.MMMZ info Starting Autify Connect Client (accessPoint: autify-cli-acab582f-b894-4199-9a57-36a163242914, debugServerPort: <random>, path: /path/to/autifyconnect, version: Autify Connect version v0.6.12, build 7464852)
11
11
  Waiting until Autify Connect Client is ready...
12
12
  [Autify Connect Client] YYYY-MM-DDTHH:MM:SS.MMMZ info start serving a debug server on http://localhost:<random>
13
13
  [Autify Connect Client] YYYY-MM-DDTHH:MM:SS.MMMZ info Starting to establish a secure connection with the Autify connect server. Your session ID is \\"fake\\".
14
14
  [Autify Connect Client] YYYY-MM-DDTHH:MM:SS.MMMZ info Successfully connected!
15
15
  Autify Connect Client is ready!
16
- ✅ Successfully started: https://app.autify.com/projects/743/results/1222374 (Capability is configured by test plan)
17
- 🕐 Waiting for the test result: https://app.autify.com/projects/743/results/1222374
16
+ ✅ Successfully started: https://app.autify.com/projects/743/results/1235243 (Capability is configured by test plan)
17
+ 🕐 Waiting for the test result: https://app.autify.com/projects/743/results/1235243
18
18
  [HH:MM:SS] Waiting... (timeout: 300 s) [started]
19
19
  [HH:MM:SS] → TestPlan: 🚗 Running, TestCases: 🚗 Running
20
20
  [HH:MM:SS] → TestPlan: 🚗 Running, TestCases: 🚗 Running
@@ -24,13 +24,14 @@ Autify Connect Client is ready!
24
24
  [HH:MM:SS] → TestPlan: 🚗 Running, TestCases: 🚗 Running
25
25
  [HH:MM:SS] → TestPlan: 🚗 Running, TestCases: 🚗 Running
26
26
  [HH:MM:SS] → TestPlan: 🚗 Running, TestCases: 🚗 Running
27
+ [HH:MM:SS] → TestPlan: 🚗 Running, TestCases: 🚗 Running
27
28
  [HH:MM:SS] → TestPlan: 👍 Passed , TestCases: 👍 Passed
28
29
  [HH:MM:SS] Waiting... (timeout: 300 s) [completed]
29
- ✅ Test passed!: https://app.autify.com/projects/743/results/1222374
30
+ ✅ Test passed!: https://app.autify.com/projects/743/results/1235243
30
31
  Waiting until Autify Connect Client exits...
31
32
  [Autify Connect Client] YYYY-MM-DDTHH:MM:SS.MMMZ info Interrupt received.
32
33
  [Autify Connect Client] YYYY-MM-DDTHH:MM:SS.MMMZ info Shutdown completed.
33
- [Autify Connect Manager] YYYY-MM-DDTHH:MM:SS.MMMZ info Ephemeral Access Point was deleted: autify-cli-576f4b9e-2bb5-4c65-8820-586d92b60c81
34
+ [Autify Connect Manager] YYYY-MM-DDTHH:MM:SS.MMMZ info Ephemeral Access Point was deleted: autify-cli-acab582f-b894-4199-9a57-36a163242914
34
35
  [Autify Connect Manager] YYYY-MM-DDTHH:MM:SS.MMMZ info Autify Connect Client exited (code: 0, signal: null)
35
36
  Autify Connect Client exited.
36
37
  [HPM] server close signal received: closing proxy server
@@ -91,10 +91,10 @@ const autifyWithProxy = async (originalArgs) => {
91
91
  const autify = getAutifyCli();
92
92
  const proc = (0, node_child_process_1.spawn)(autify, args, {
93
93
  env: {
94
+ AUTIFY_CONNECT_CLIENT_MODE: "fake",
94
95
  ...node_process_1.env,
95
96
  AUTIFY_WEB_BASE_PATH: `http://localhost:${webProxy.port}/api/v1/`,
96
97
  AUTIFY_MOBILE_BASE_PATH: `http://localhost:${mobileProxy.port}/api/v1/`,
97
- AUTIFY_CONNECT_CLIENT_MODE: "fake",
98
98
  },
99
99
  stdio: "inherit",
100
100
  shell: true,
@@ -9,7 +9,7 @@ const strip_ansi_1 = tslib_1.__importDefault(require("strip-ansi"));
9
9
  const node_process_1 = require("node:process");
10
10
  const normalize = (stdout) => stdout
11
11
  .replace(/\[\d{2}:\d{2}:\d{2}]/g, "[HH:MM:SS]")
12
- .replace(/path: .+autifyconnect-fake(\.exe)?,/g, "path: /path/to/autifyconnect-fake,")
12
+ .replace(/path: .+autifyconnect[^,]*,/g, "path: /path/to/autifyconnect,")
13
13
  .replace(/\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}\.\d{3}Z/g, "YYYY-MM-DDTHH:MM:SS.MMMZ")
14
14
  .replace(/debugServerPort: \d+,/g, "debugServerPort: <random>,")
15
15
  .replace(/debug server on http:\/\/localhost:\d+/g, "debug server on http://localhost:<random>")
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@autifyhq/autify-cli-integration-test",
3
- "version": "0.12.0",
3
+ "version": "0.13.0",
4
4
  "description": "Autify Command Line Interface (CLI) Integration Test",
5
5
  "author": "Autify",
6
6
  "bin": {
@@ -38,11 +38,11 @@
38
38
  "devDependencies": {
39
39
  "@types/express": "^4.17.14",
40
40
  "@types/jest": "^28.1.7",
41
- "@types/node": "^16.11.62",
41
+ "@types/node": "^16.11.63",
42
42
  "@types/which": "^2.0.1",
43
43
  "shx": "^0.3.4",
44
44
  "ts-node": "^10.9.1",
45
- "typescript": "^4.8.3"
45
+ "typescript": "^4.8.4"
46
46
  },
47
47
  "scripts": {
48
48
  "build": "shx rm -rf dist && tsc -b",