@autifyhq/autify-cli-integration-test 0.56.0 → 0.60.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.
- package/__recordings__/web%20test%20run%20https%3A%2F%2Fapp.autify.com%2Fprojects%2F743%2Fscenarios%2F91437%20--wait%20--autify-connect-client/polly-proxy_3343057686/recording.har +518 -231
- package/__recordings__/web%20test%20run%20https%3A%2F%2Fapp.autify.com%2Fprojects%2F743%2Ftest_plans%2F169408%20--wait%20--autify-connect-client/polly-proxy_3343057686/recording.har +754 -221
- package/__snapshots__/golden/webTestRunAutifyConnectClient.test.js.snap +14 -7
- package/__snapshots__/golden/webTestRunTestPlanAutifyConnectClient.test.js.snap +19 -6
- package/dist/bin/autify-cli-integration-test.js +7 -1
- package/package.json +6 -6
|
@@ -5,18 +5,26 @@ exports[`autify web test run https://app.autify.com/projects/0000/scenarios/0000
|
|
|
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-
|
|
8
|
+
[Autify Connect Manager] YYYY-MM-DDTHH:MM:SS.MMMZ info Ephemeral Access Point was created: autify-cli-15e6cd54-d912-4f79-ad17-f854dc3eed15
|
|
9
9
|
Starting Autify Connect Client...
|
|
10
|
-
[Autify Connect Manager] YYYY-MM-DDTHH:MM:SS.MMMZ info Starting Autify Connect Client (accessPoint: autify-cli-
|
|
10
|
+
[Autify Connect Manager] YYYY-MM-DDTHH:MM:SS.MMMZ info Starting Autify Connect Client (accessPoint: autify-cli-15e6cd54-d912-4f79-ad17-f854dc3eed15, debugServerPort: <random>, path: /path/to/autifyconnect, version: Autify Connect version v1.1.34, build b4b3f90)
|
|
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://127.0.0.1:<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/
|
|
17
|
-
🕐 Waiting for the test result: https://app.autify.com/projects/743/results/
|
|
16
|
+
✅ Successfully started: https://app.autify.com/projects/743/results/4758669 (Capability is Linux Chrome 136.0 computer)
|
|
17
|
+
🕐 Waiting for the test result: https://app.autify.com/projects/743/results/4758669
|
|
18
18
|
[HH:MM:SS] Waiting... (timeout: 300 s) [started]
|
|
19
19
|
[HH:MM:SS] → TestPlan: 🌀 Queuing, TestCases:
|
|
20
|
+
[HH:MM:SS] → TestPlan: 🌀 Queuing, TestCases:
|
|
21
|
+
[HH:MM:SS] → TestPlan: 🌀 Queuing, TestCases:
|
|
22
|
+
[HH:MM:SS] → TestPlan: ⏳ Waiting, TestCases: ⏳ Waiting
|
|
23
|
+
[HH:MM:SS] → TestPlan: ⏳ Waiting, TestCases: ⏳ Waiting
|
|
24
|
+
[HH:MM:SS] → TestPlan: ⏳ Waiting, TestCases: ⏳ Waiting
|
|
25
|
+
[HH:MM:SS] → TestPlan: ⏳ Waiting, TestCases: ⏳ Waiting
|
|
26
|
+
[HH:MM:SS] → TestPlan: ⏳ Waiting, TestCases: ⏳ Waiting
|
|
27
|
+
[HH:MM:SS] → TestPlan: ⏳ Waiting, TestCases: ⏳ Waiting
|
|
20
28
|
[HH:MM:SS] → TestPlan: 🚗 Running, TestCases: 🚗 Running
|
|
21
29
|
[HH:MM:SS] → TestPlan: 🚗 Running, TestCases: 🚗 Running
|
|
22
30
|
[HH:MM:SS] → TestPlan: 🚗 Running, TestCases: 🚗 Running
|
|
@@ -34,14 +42,13 @@ Autify Connect Client is ready!
|
|
|
34
42
|
[HH:MM:SS] → TestPlan: 🚗 Running, TestCases: 🚗 Running
|
|
35
43
|
[HH:MM:SS] → TestPlan: 🚗 Running, TestCases: 🚗 Running
|
|
36
44
|
[HH:MM:SS] → TestPlan: 🚗 Running, TestCases: 🚗 Running
|
|
37
|
-
[HH:MM:SS] → TestPlan: 🚗 Running, TestCases: 👍 Passed
|
|
38
45
|
[HH:MM:SS] → TestPlan: 👍 Passed , TestCases: 👍 Passed
|
|
39
46
|
[HH:MM:SS] Waiting... (timeout: 300 s) [completed]
|
|
40
|
-
✅ Test passed!: https://app.autify.com/projects/743/results/
|
|
47
|
+
✅ Test passed!: https://app.autify.com/projects/743/results/4758669
|
|
41
48
|
Waiting until Autify Connect Client exits...
|
|
42
49
|
[Autify Connect Client] YYYY-MM-DDTHH:MM:SS.MMMZ info Interrupt received.
|
|
43
50
|
[Autify Connect Client] YYYY-MM-DDTHH:MM:SS.MMMZ info Shutdown completed.
|
|
44
|
-
[Autify Connect Manager] YYYY-MM-DDTHH:MM:SS.MMMZ info Ephemeral Access Point was deleted: autify-cli-
|
|
51
|
+
[Autify Connect Manager] YYYY-MM-DDTHH:MM:SS.MMMZ info Ephemeral Access Point was deleted: autify-cli-15e6cd54-d912-4f79-ad17-f854dc3eed15
|
|
45
52
|
[Autify Connect Manager] YYYY-MM-DDTHH:MM:SS.MMMZ info Autify Connect Client exited (code: 0, signal: null)
|
|
46
53
|
Autify Connect Client exited.
|
|
47
54
|
[HPM] server close signal received: closing proxy server
|
|
@@ -5,18 +5,31 @@ exports[`autify web test run https://app.autify.com/projects/0000/test_plans/000
|
|
|
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-
|
|
8
|
+
[Autify Connect Manager] YYYY-MM-DDTHH:MM:SS.MMMZ info Ephemeral Access Point was created: autify-cli-742c89c3-7673-4ceb-b485-f28b7db5a5fb
|
|
9
9
|
Starting Autify Connect Client...
|
|
10
|
-
[Autify Connect Manager] YYYY-MM-DDTHH:MM:SS.MMMZ info Starting Autify Connect Client (accessPoint: autify-cli-
|
|
10
|
+
[Autify Connect Manager] YYYY-MM-DDTHH:MM:SS.MMMZ info Starting Autify Connect Client (accessPoint: autify-cli-742c89c3-7673-4ceb-b485-f28b7db5a5fb, debugServerPort: <random>, path: /path/to/autifyconnect, version: Autify Connect version v1.1.34, build b4b3f90)
|
|
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://127.0.0.1:<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/
|
|
17
|
-
🕐 Waiting for the test result: https://app.autify.com/projects/743/results/
|
|
16
|
+
✅ Successfully started: https://app.autify.com/projects/743/results/4758670 (Capability is configured by test plan)
|
|
17
|
+
🕐 Waiting for the test result: https://app.autify.com/projects/743/results/4758670
|
|
18
18
|
[HH:MM:SS] Waiting... (timeout: 300 s) [started]
|
|
19
|
+
[HH:MM:SS] → TestPlan: 🌀 Queuing, TestCases:
|
|
20
|
+
[HH:MM:SS] → TestPlan: 🌀 Queuing, TestCases:
|
|
21
|
+
[HH:MM:SS] → TestPlan: 🌀 Queuing, TestCases:
|
|
19
22
|
[HH:MM:SS] → TestPlan: ⏳ Waiting, TestCases: ⏳ Waiting
|
|
23
|
+
[HH:MM:SS] → TestPlan: ⏳ Waiting, TestCases: ⏳ Waiting
|
|
24
|
+
[HH:MM:SS] → TestPlan: ⏳ Waiting, TestCases: ⏳ Waiting
|
|
25
|
+
[HH:MM:SS] → TestPlan: ⏳ Waiting, TestCases: ⏳ Waiting
|
|
26
|
+
[HH:MM:SS] → TestPlan: ⏳ Waiting, TestCases: ⏳ Waiting
|
|
27
|
+
[HH:MM:SS] → TestPlan: ⏳ Waiting, TestCases: ⏳ Waiting
|
|
28
|
+
[HH:MM:SS] → TestPlan: ⏳ Waiting, TestCases: ⏳ Waiting
|
|
29
|
+
[HH:MM:SS] → TestPlan: ⏳ Waiting, TestCases: ⏳ Waiting
|
|
30
|
+
[HH:MM:SS] → TestPlan: 🚗 Running, TestCases: 🚗 Running
|
|
31
|
+
[HH:MM:SS] → TestPlan: 🚗 Running, TestCases: 🚗 Running
|
|
32
|
+
[HH:MM:SS] → TestPlan: 🚗 Running, TestCases: 🚗 Running
|
|
20
33
|
[HH:MM:SS] → TestPlan: 🚗 Running, TestCases: 🚗 Running
|
|
21
34
|
[HH:MM:SS] → TestPlan: 🚗 Running, TestCases: 🚗 Running
|
|
22
35
|
[HH:MM:SS] → TestPlan: 🚗 Running, TestCases: 🚗 Running
|
|
@@ -37,11 +50,11 @@ Autify Connect Client is ready!
|
|
|
37
50
|
[HH:MM:SS] → TestPlan: 🚗 Running, TestCases: 🚗 Running
|
|
38
51
|
[HH:MM:SS] → TestPlan: 👍 Passed , TestCases: 👍 Passed
|
|
39
52
|
[HH:MM:SS] Waiting... (timeout: 300 s) [completed]
|
|
40
|
-
✅ Test passed!: https://app.autify.com/projects/743/results/
|
|
53
|
+
✅ Test passed!: https://app.autify.com/projects/743/results/4758670
|
|
41
54
|
Waiting until Autify Connect Client exits...
|
|
42
55
|
[Autify Connect Client] YYYY-MM-DDTHH:MM:SS.MMMZ info Interrupt received.
|
|
43
56
|
[Autify Connect Client] YYYY-MM-DDTHH:MM:SS.MMMZ info Shutdown completed.
|
|
44
|
-
[Autify Connect Manager] YYYY-MM-DDTHH:MM:SS.MMMZ info Ephemeral Access Point was deleted: autify-cli-
|
|
57
|
+
[Autify Connect Manager] YYYY-MM-DDTHH:MM:SS.MMMZ info Ephemeral Access Point was deleted: autify-cli-742c89c3-7673-4ceb-b485-f28b7db5a5fb
|
|
45
58
|
[Autify Connect Manager] YYYY-MM-DDTHH:MM:SS.MMMZ info Autify Connect Client exited (code: 0, signal: null)
|
|
46
59
|
Autify Connect Client exited.
|
|
47
60
|
[HPM] server close signal received: closing proxy server
|
|
@@ -13,6 +13,12 @@ const args = node_process_1.argv.slice(2);
|
|
|
13
13
|
const testPathPattern = args.length === 0 ? "" : `--testPathPattern '(${args.join("|")})'`;
|
|
14
14
|
(0, node_child_process_1.execSync)(`npm run ${command} -- ${testPathPattern}`, {
|
|
15
15
|
stdio: "inherit",
|
|
16
|
-
env: {
|
|
16
|
+
env: {
|
|
17
|
+
...process.env,
|
|
18
|
+
// The global navigator object brings lots of errors since Node.js doesn't support the onLine property yet.
|
|
19
|
+
// https://github.com/Netflix/pollyjs/blob/9b6bede12b7ee998472b8883c9dd01e2159e00a8/packages/%40pollyjs/adapter/src/index.js#L186
|
|
20
|
+
// We need to disable the navigator until Node.js supports it.
|
|
21
|
+
NODE_OPTIONS: "--no-deprecation --no-experimental-global-navigator",
|
|
22
|
+
},
|
|
17
23
|
cwd: rootDir,
|
|
18
24
|
});
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@autifyhq/autify-cli-integration-test",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.60.0",
|
|
4
4
|
"description": "Autify Command Line Interface (CLI) Integration Test",
|
|
5
5
|
"author": "Autify",
|
|
6
6
|
"bin": {
|
|
@@ -29,20 +29,20 @@
|
|
|
29
29
|
"@pollyjs/persister-fs": "^6.0.6",
|
|
30
30
|
"cross-env": "^7.0.3",
|
|
31
31
|
"express": "^4.21.2",
|
|
32
|
-
"http-proxy-middleware": "^2.0.
|
|
32
|
+
"http-proxy-middleware": "^2.0.9",
|
|
33
33
|
"jest": "^29.7.0",
|
|
34
34
|
"strip-ansi": "^6.0.1",
|
|
35
35
|
"tslib": "^2.8.1",
|
|
36
36
|
"which": "^5.0.0"
|
|
37
37
|
},
|
|
38
38
|
"devDependencies": {
|
|
39
|
-
"@types/express": "^4.17.
|
|
39
|
+
"@types/express": "^4.17.22",
|
|
40
40
|
"@types/jest": "^29.5.14",
|
|
41
|
-
"@types/node": "^22.
|
|
41
|
+
"@types/node": "^22.15.24",
|
|
42
42
|
"@types/which": "^3.0.4",
|
|
43
43
|
"shx": "^0.4.0",
|
|
44
44
|
"ts-node": "^10.9.2",
|
|
45
|
-
"typescript": "^5.8.
|
|
45
|
+
"typescript": "^5.8.3"
|
|
46
46
|
},
|
|
47
47
|
"scripts": {
|
|
48
48
|
"build": "shx rm -rf dist && tsc -b",
|
|
@@ -51,7 +51,7 @@
|
|
|
51
51
|
"test:record": "AUTIFY_POLLY_RECORD=1 jest --testMatch **/dist/test/**/*.test.js --updateSnapshot"
|
|
52
52
|
},
|
|
53
53
|
"engines": {
|
|
54
|
-
"node": ">=22.
|
|
54
|
+
"node": ">=22.16.0"
|
|
55
55
|
},
|
|
56
56
|
"bugs": {
|
|
57
57
|
"url": "https://github.com/autifyhq/autify-cli/issues"
|