Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/actions/setup/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ runs:
cache: npm
registry-url: "https://registry.npmjs.org"
node-version-file: "package.json"
node-version: 20
node-version: 22
# https://github.com/npm/cli/issues/7308
- if: runner.os == 'Windows'
run: npm install -g npm@9.9.3
Expand Down

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -5,18 +5,26 @@ exports[`autify web test run https://app.autify.com/projects/0000/scenarios/0000
"stderr": "",
"stdout": "[HPM] Proxy created: / -> https://app.autify.com
[HPM] Proxy created: / -> https://mobile-app.autify.com
[Autify Connect Manager] YYYY-MM-DDTHH:MM:SS.MMMZ info Ephemeral Access Point was created: autify-cli-971db243-9f2f-4fea-809f-c3a2e13953b6
[Autify Connect Manager] YYYY-MM-DDTHH:MM:SS.MMMZ info Ephemeral Access Point was created: autify-cli-15e6cd54-d912-4f79-ad17-f854dc3eed15
Starting Autify Connect Client...
[Autify Connect Manager] YYYY-MM-DDTHH:MM:SS.MMMZ info Starting Autify Connect Client (accessPoint: autify-cli-971db243-9f2f-4fea-809f-c3a2e13953b6, debugServerPort: <random>, path: /path/to/autifyconnect, version: Autify Connect version v1.0.2, build 71c6d81)
[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)
Waiting until Autify Connect Client is ready...
[Autify Connect Client] YYYY-MM-DDTHH:MM:SS.MMMZ info start serving a debug server on http://127.0.0.1:<random>
[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".
[Autify Connect Client] YYYY-MM-DDTHH:MM:SS.MMMZ info Successfully connected!
Autify Connect Client is ready!
✅ Successfully started: https://app.autify.com/projects/743/results/1920726 (Capability is Linux Chrome 111.0)
🕐 Waiting for the test result: https://app.autify.com/projects/743/results/1920726
✅ Successfully started: https://app.autify.com/projects/743/results/4758669 (Capability is Linux Chrome 136.0 computer)
🕐 Waiting for the test result: https://app.autify.com/projects/743/results/4758669
[HH:MM:SS] Waiting... (timeout: 300 s) [started]
[HH:MM:SS] → TestPlan: 🌀 Queuing, TestCases:
[HH:MM:SS] → TestPlan: 🌀 Queuing, TestCases:
[HH:MM:SS] → TestPlan: 🌀 Queuing, TestCases:
[HH:MM:SS] → TestPlan: ⏳ Waiting, TestCases: ⏳ Waiting
[HH:MM:SS] → TestPlan: ⏳ Waiting, TestCases: ⏳ Waiting
[HH:MM:SS] → TestPlan: ⏳ Waiting, TestCases: ⏳ Waiting
[HH:MM:SS] → TestPlan: ⏳ Waiting, TestCases: ⏳ Waiting
[HH:MM:SS] → TestPlan: ⏳ Waiting, TestCases: ⏳ Waiting
[HH:MM:SS] → TestPlan: ⏳ Waiting, TestCases: ⏳ Waiting
[HH:MM:SS] → TestPlan: 🚗 Running, TestCases: 🚗 Running
[HH:MM:SS] → TestPlan: 🚗 Running, TestCases: 🚗 Running
[HH:MM:SS] → TestPlan: 🚗 Running, TestCases: 🚗 Running
Expand All @@ -34,14 +42,13 @@ Autify Connect Client is ready!
[HH:MM:SS] → TestPlan: 🚗 Running, TestCases: 🚗 Running
[HH:MM:SS] → TestPlan: 🚗 Running, TestCases: 🚗 Running
[HH:MM:SS] → TestPlan: 🚗 Running, TestCases: 🚗 Running
[HH:MM:SS] → TestPlan: 🚗 Running, TestCases: 👍 Passed
[HH:MM:SS] → TestPlan: 👍 Passed , TestCases: 👍 Passed
[HH:MM:SS] Waiting... (timeout: 300 s) [completed]
✅ Test passed!: https://app.autify.com/projects/743/results/1920726
✅ Test passed!: https://app.autify.com/projects/743/results/4758669
Waiting until Autify Connect Client exits...
[Autify Connect Client] YYYY-MM-DDTHH:MM:SS.MMMZ info Interrupt received.
[Autify Connect Client] YYYY-MM-DDTHH:MM:SS.MMMZ info Shutdown completed.
[Autify Connect Manager] YYYY-MM-DDTHH:MM:SS.MMMZ info Ephemeral Access Point was deleted: autify-cli-971db243-9f2f-4fea-809f-c3a2e13953b6
[Autify Connect Manager] YYYY-MM-DDTHH:MM:SS.MMMZ info Ephemeral Access Point was deleted: autify-cli-15e6cd54-d912-4f79-ad17-f854dc3eed15
[Autify Connect Manager] YYYY-MM-DDTHH:MM:SS.MMMZ info Autify Connect Client exited (code: 0, signal: null)
Autify Connect Client exited.
[HPM] server close signal received: closing proxy server
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,18 +5,31 @@ exports[`autify web test run https://app.autify.com/projects/0000/test_plans/000
"stderr": "",
"stdout": "[HPM] Proxy created: / -> https://app.autify.com
[HPM] Proxy created: / -> https://mobile-app.autify.com
[Autify Connect Manager] YYYY-MM-DDTHH:MM:SS.MMMZ info Ephemeral Access Point was created: autify-cli-99110442-29b7-4927-8c88-e10862d31d02
[Autify Connect Manager] YYYY-MM-DDTHH:MM:SS.MMMZ info Ephemeral Access Point was created: autify-cli-742c89c3-7673-4ceb-b485-f28b7db5a5fb
Starting Autify Connect Client...
[Autify Connect Manager] YYYY-MM-DDTHH:MM:SS.MMMZ info Starting Autify Connect Client (accessPoint: autify-cli-99110442-29b7-4927-8c88-e10862d31d02, debugServerPort: <random>, path: /path/to/autifyconnect, version: Autify Connect version v1.0.2, build 71c6d81)
[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)
Waiting until Autify Connect Client is ready...
[Autify Connect Client] YYYY-MM-DDTHH:MM:SS.MMMZ info start serving a debug server on http://127.0.0.1:<random>
[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".
[Autify Connect Client] YYYY-MM-DDTHH:MM:SS.MMMZ info Successfully connected!
Autify Connect Client is ready!
✅ Successfully started: https://app.autify.com/projects/743/results/1920727 (Capability is configured by test plan)
🕐 Waiting for the test result: https://app.autify.com/projects/743/results/1920727
✅ Successfully started: https://app.autify.com/projects/743/results/4758670 (Capability is configured by test plan)
🕐 Waiting for the test result: https://app.autify.com/projects/743/results/4758670
[HH:MM:SS] Waiting... (timeout: 300 s) [started]
[HH:MM:SS] → TestPlan: 🌀 Queuing, TestCases:
[HH:MM:SS] → TestPlan: 🌀 Queuing, TestCases:
[HH:MM:SS] → TestPlan: 🌀 Queuing, TestCases:
[HH:MM:SS] → TestPlan: ⏳ Waiting, TestCases: ⏳ Waiting
[HH:MM:SS] → TestPlan: ⏳ Waiting, TestCases: ⏳ Waiting
[HH:MM:SS] → TestPlan: ⏳ Waiting, TestCases: ⏳ Waiting
[HH:MM:SS] → TestPlan: ⏳ Waiting, TestCases: ⏳ Waiting
[HH:MM:SS] → TestPlan: ⏳ Waiting, TestCases: ⏳ Waiting
[HH:MM:SS] → TestPlan: ⏳ Waiting, TestCases: ⏳ Waiting
[HH:MM:SS] → TestPlan: ⏳ Waiting, TestCases: ⏳ Waiting
[HH:MM:SS] → TestPlan: ⏳ Waiting, TestCases: ⏳ Waiting
[HH:MM:SS] → TestPlan: 🚗 Running, TestCases: 🚗 Running
[HH:MM:SS] → TestPlan: 🚗 Running, TestCases: 🚗 Running
[HH:MM:SS] → TestPlan: 🚗 Running, TestCases: 🚗 Running
[HH:MM:SS] → TestPlan: 🚗 Running, TestCases: 🚗 Running
[HH:MM:SS] → TestPlan: 🚗 Running, TestCases: 🚗 Running
[HH:MM:SS] → TestPlan: 🚗 Running, TestCases: 🚗 Running
Expand All @@ -37,11 +50,11 @@ Autify Connect Client is ready!
[HH:MM:SS] → TestPlan: 🚗 Running, TestCases: 🚗 Running
[HH:MM:SS] → TestPlan: 👍 Passed , TestCases: 👍 Passed
[HH:MM:SS] Waiting... (timeout: 300 s) [completed]
✅ Test passed!: https://app.autify.com/projects/743/results/1920727
✅ Test passed!: https://app.autify.com/projects/743/results/4758670
Waiting until Autify Connect Client exits...
[Autify Connect Client] YYYY-MM-DDTHH:MM:SS.MMMZ info Interrupt received.
[Autify Connect Client] YYYY-MM-DDTHH:MM:SS.MMMZ info Shutdown completed.
[Autify Connect Manager] YYYY-MM-DDTHH:MM:SS.MMMZ info Ephemeral Access Point was deleted: autify-cli-99110442-29b7-4927-8c88-e10862d31d02
[Autify Connect Manager] YYYY-MM-DDTHH:MM:SS.MMMZ info Ephemeral Access Point was deleted: autify-cli-742c89c3-7673-4ceb-b485-f28b7db5a5fb
[Autify Connect Manager] YYYY-MM-DDTHH:MM:SS.MMMZ info Autify Connect Client exited (code: 0, signal: null)
Autify Connect Client exited.
[HPM] server close signal received: closing proxy server
Expand Down
8 changes: 7 additions & 1 deletion integration-test/src/bin/autify-cli-integration-test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,12 @@ const testPathPattern =

execSync(`npm run ${command} -- ${testPathPattern}`, {
stdio: "inherit",
env: { ...process.env, NODE_OPTIONS: "--no-deprecation" },
env: {
...process.env,
// The global navigator object brings lots of errors since Node.js doesn't support the onLine property yet.
// https://github.com/Netflix/pollyjs/blob/9b6bede12b7ee998472b8883c9dd01e2159e00a8/packages/%40pollyjs/adapter/src/index.js#L186
// We need to disable the navigator until Node.js supports it.
NODE_OPTIONS: "--no-deprecation --no-experimental-global-navigator",
},
cwd: rootDir,
});
1 change: 1 addition & 0 deletions integration-test/tsconfig.tsbuildinfo
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{"root":["./src/commands.ts","./src/bin/autify-cli-integration-test.ts","./src/bin/autify-mobile-generate-fake-app.ts","./src/bin/autify-with-proxy.ts","./src/test/golden/mobilebuildupload.test.ts","./src/test/golden/mobilebuilduploadios.test.ts","./src/test/golden/mobilebuilduploadiosipa.test.ts","./src/test/golden/mobilebuilduploadjson.test.ts","./src/test/golden/mobiletestrun.test.ts","./src/test/golden/mobiletestrunandroid.test.ts","./src/test/golden/mobiletestrunandroidwait.test.ts","./src/test/golden/mobiletestrunios.test.ts","./src/test/golden/mobiletestruniosipawait.test.ts","./src/test/golden/mobiletestrunioswait.test.ts","./src/test/golden/mobiletestrunwait.test.ts","./src/test/golden/webtestrun.test.ts","./src/test/golden/webtestrunautifyconnectclient.test.ts","./src/test/golden/webtestruntestplan.test.ts","./src/test/golden/webtestruntestplanautifyconnectclient.test.ts","./src/test/golden/webtestruntestplanwait.test.ts","./src/test/golden/webtestrunurlreplacements.test.ts","./src/test/golden/webtestrunurlreplacementsdeprecated.test.ts","./src/test/golden/webtestrunwait.test.ts","./src/test/helpers/execautifycli.ts","./src/test/helpers/testautifyclisnapshot.ts"],"version":"5.8.3"}
2 changes: 1 addition & 1 deletion src/autify/connect/installClient.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ import * as tar from "tar";
import { get } from "../../config";

// Update whenever to bump supported version.
export const AUTIFY_CONNECT_CLIENT_SUPPORTED_VERSION = "v1.0.2";
export const AUTIFY_CONNECT_CLIENT_SUPPORTED_VERSION = "v1.1.34";

type ClientMode = "fake" | "real";

Expand Down
Loading