Skip to content

Bump default Autify Connect to v1.1.38 #555

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 7 commits into
base: main
Choose a base branch
from
Open
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 [email protected]
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,23 @@ 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-778d5f19-2eda-4bbf-ad5d-1941594426d9
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-778d5f19-2eda-4bbf-ad5d-1941594426d9, debugServerPort: <random>, path: /path/to/autifyconnect, version: Autify Connect version v1.1.38, build e9ec1f1)
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/4390458 (Capability is Linux Chrome 132.0 computer)
🕐 Waiting for the test result: https://app.autify.com/projects/743/results/4390458
[HH:MM:SS] Waiting... (timeout: 300 s) [started]
[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: 🚗 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 @@ -34,14 +39,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/4390458
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-778d5f19-2eda-4bbf-ad5d-1941594426d9
[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,21 @@ 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-697bb76e-7b80-431a-9d86-3b9a31179d96
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-697bb76e-7b80-431a-9d86-3b9a31179d96, debugServerPort: <random>, path: /path/to/autifyconnect, version: Autify Connect version v1.1.38, build e9ec1f1)
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/4390457 (Capability is configured by test plan)
🕐 Waiting for the test result: https://app.autify.com/projects/743/results/4390457
[HH:MM:SS] Waiting... (timeout: 300 s) [started]
[HH:MM:SS] → TestPlan: ⏳ Waiting, TestCases: ⏳ Waiting
[HH:MM:SS] → TestPlan: 🌀 Queuing, TestCases:
[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 +40,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/4390457
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-697bb76e-7b80-431a-9d86-3b9a31179d96
[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.7.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.38";

type ClientMode = "fake" | "real";

Expand Down
Loading