@autifyhq/autify-cli-integration-test 0.28.0 → 0.30.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.
Files changed (43) hide show
  1. package/__recordings__/{mobile%20build%20upload%20--workspace-id%3D4yyFEL%20android.apk → mobile%20build%20upload%20android.apk%20--workspace-id%3D4yyFEL}/polly-proxy_3343057686/recording.har +6 -6
  2. package/__recordings__/{mobile%20build%20upload%20--json%20--workspace-id%3D4yyFEL%20android.apk → mobile%20build%20upload%20android.apk%20--workspace-id%3D4yyFEL%20--json}/polly-proxy_3343057686/recording.har +6 -6
  3. package/__recordings__/{mobile%20build%20upload%20--workspace-id%3D4yyFEL%20ios.app → mobile%20build%20upload%20ios.app%20--workspace-id%3D4yyFEL}/polly-proxy_3343057686/recording.har +6 -6
  4. package/__recordings__/{mobile%20test%20run%20--build-id%3Dd1ulrD%20https%3A%2F%2Fmobile-app.autify.com%2Fprojects%2F4yyFEL%2Ftest_plans%2FWptd97 → mobile%20test%20run%20https%3A%2F%2Fmobile-app.autify.com%2Fprojects%2F4yyFEL%2Ftest_plans%2FWptd97%20--build-id%3Dd1ulrD}/polly-proxy_3343057686/recording.har +5 -5
  5. package/__recordings__/mobile%20test%20run%20https%3A%2F%2Fmobile-app.autify.com%2Fprojects%2F4yyFEL%2Ftest_plans%2FWptd97%20--build-id%3Dd1ulrD%20--wait/polly-proxy_3343057686/recording.har +962 -0
  6. package/__recordings__/{mobile%20test%20run%20--build-path%3Dandroid.apk%20https%3A%2F%2Fmobile-app.autify.com%2Fprojects%2F4yyFEL%2Ftest_plans%2FWptd97 → mobile%20test%20run%20https%3A%2F%2Fmobile-app.autify.com%2Fprojects%2F4yyFEL%2Ftest_plans%2FWptd97%20--build-path%3Dandroid.apk}/polly-proxy_3343057686/recording.har +13 -13
  7. package/__recordings__/{mobile%20test%20run%20--build-path%3Dandroid.apk%20--wait%20https%3A%2F%2Fmobile-app.autify.com%2Fprojects%2F4yyFEL%2Ftest_plans%2FWptd97 → mobile%20test%20run%20https%3A%2F%2Fmobile-app.autify.com%2Fprojects%2F4yyFEL%2Ftest_plans%2FWptd97%20--build-path%3Dandroid.apk%20--wait}/polly-proxy_3343057686/recording.har +502 -256
  8. package/__recordings__/{mobile%20test%20run%20--build-path%3Dios.app%20https%3A%2F%2Fmobile-app.autify.com%2Fprojects%2F4yyFEL%2Ftest_plans%2FkYtlRR → mobile%20test%20run%20https%3A%2F%2Fmobile-app.autify.com%2Fprojects%2F4yyFEL%2Ftest_plans%2FkYtlRR%20--build-path%3Dios.app}/polly-proxy_3343057686/recording.har +13 -13
  9. package/__recordings__/mobile%20test%20run%20https%3A%2F%2Fmobile-app.autify.com%2Fprojects%2F4yyFEL%2Ftest_plans%2FkYtlRR%20--build-path%3Dios.app%20--wait/polly-proxy_3343057686/recording.har +10970 -0
  10. package/__recordings__/web%20test%20run%20https%3A%2F%2Fapp.autify.com%2Fprojects%2F743%2Fscenarios%2F91437/polly-proxy_3343057686/recording.har +10 -10
  11. package/__recordings__/{web%20test%20run%20--wait%20https%3A%2F%2Fapp.autify.com%2Fprojects%2F743%2Fscenarios%2F91437 → web%20test%20run%20https%3A%2F%2Fapp.autify.com%2Fprojects%2F743%2Fscenarios%2F91437%20--wait}/polly-proxy_3343057686/recording.har +87 -169
  12. package/__recordings__/{web%20test%20run%20--autify-connect-client%20--wait%20https%3A%2F%2Fapp.autify.com%2Fprojects%2F743%2Fscenarios%2F91437 → web%20test%20run%20https%3A%2F%2Fapp.autify.com%2Fprojects%2F743%2Fscenarios%2F91437%20--wait%20--autify-connect-client}/polly-proxy_3343057686/recording.har +111 -111
  13. package/__recordings__/web%20test%20run%20https%3A%2F%2Fapp.autify.com%2Fprojects%2F743%2Fscenarios%2F91437%20-r%3D%22https%3A%2F%2Fexample.com%20https%3A%2F%2Fexample.net%3Ffoo%3Dbar%22/polly-proxy_3343057686/recording.har +110 -0
  14. package/__recordings__/web%20test%20run%20https%3A%2F%2Fapp.autify.com%2Fprojects%2F743%2Fscenarios%2F91437%20-r%3D%22https%3A%2F%2Fexample.com%3Dhttps%3A%2F%2Fexample.net%3Ffoo%3Dbar%22/polly-proxy_3343057686/recording.har +110 -0
  15. package/__recordings__/web%20test%20run%20https%3A%2F%2Fapp.autify.com%2Fprojects%2F743%2Ftest_plans%2F169408/polly-proxy_3343057686/recording.har +5 -5
  16. package/__recordings__/{web%20test%20run%20--autify-connect-client%20--wait%20https%3A%2F%2Fapp.autify.com%2Fprojects%2F743%2Ftest_plans%2F169408 → web%20test%20run%20https%3A%2F%2Fapp.autify.com%2Fprojects%2F743%2Ftest_plans%2F169408%20--wait}/polly-proxy_3343057686/recording.har +92 -225
  17. package/__recordings__/{web%20test%20run%20--wait%20https%3A%2F%2Fapp.autify.com%2Fprojects%2F743%2Ftest_plans%2F169408 → 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 +134 -124
  18. package/__snapshots__/golden/mobileBuildUpload.test.js.snap +1 -1
  19. package/__snapshots__/golden/mobileBuildUploadIos.test.js.snap +1 -1
  20. package/__snapshots__/golden/mobileBuildUploadJson.test.js.snap +1 -1
  21. package/__snapshots__/golden/mobileTestRun.test.js.snap +2 -2
  22. package/__snapshots__/golden/mobileTestRunAndroid.test.js.snap +3 -3
  23. package/__snapshots__/golden/mobileTestRunAndroidWait.test.js.snap +10 -4
  24. package/__snapshots__/golden/mobileTestRunIos.test.js.snap +3 -3
  25. package/__snapshots__/golden/mobileTestRunIosWait.test.js.snap +194 -4
  26. package/__snapshots__/golden/mobileTestRunWait.test.js.snap +5 -31
  27. package/__snapshots__/golden/webTestRun.test.js.snap +2 -2
  28. package/__snapshots__/golden/webTestRunAutifyConnectClient.test.js.snap +7 -7
  29. package/__snapshots__/golden/webTestRunTestPlan.test.js.snap +2 -2
  30. package/__snapshots__/golden/webTestRunTestPlanAutifyConnectClient.test.js.snap +6 -8
  31. package/__snapshots__/golden/webTestRunTestPlanWait.test.js.snap +3 -4
  32. package/__snapshots__/golden/webTestRunUrlReplacements.test.js.snap +15 -0
  33. package/__snapshots__/golden/webTestRunUrlReplacementsDeprecated.test.js.snap +18 -0
  34. package/__snapshots__/golden/webTestRunWait.test.js.snap +3 -5
  35. package/dist/commands.js +9 -10
  36. package/dist/test/golden/webTestRunUrlReplacements.test.d.ts +1 -0
  37. package/dist/test/golden/webTestRunUrlReplacements.test.js +5 -0
  38. package/dist/test/golden/webTestRunUrlReplacementsDeprecated.test.d.ts +1 -0
  39. package/dist/test/golden/webTestRunUrlReplacementsDeprecated.test.js +5 -0
  40. package/dist/test/helpers/execAutifyCli.js +3 -2
  41. package/package.json +1 -1
  42. package/__recordings__/mobile%20test%20run%20--build-id%3Dd1ulrD%20--wait%20https%3A%2F%2Fmobile-app.autify.com%2Fprojects%2F4yyFEL%2Ftest_plans%2FWptd97/polly-proxy_3343057686/recording.har +0 -2028
  43. package/__recordings__/mobile%20test%20run%20--build-path%3Dios.app%20--wait%20https%3A%2F%2Fmobile-app.autify.com%2Fprojects%2F4yyFEL%2Ftest_plans%2FkYtlRR/polly-proxy_3343057686/recording.har +0 -3180
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ /* eslint-disable unicorn/filename-case */
4
+ const testAutifyCliSnapshot_1 = require("../helpers/testAutifyCliSnapshot");
5
+ (0, testAutifyCliSnapshot_1.testAutifyCliSnapshot)('web test run https://app.autify.com/projects/0000/scenarios/0000 -r "https://example.com https://example.net?foo=bar"');
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ /* eslint-disable unicorn/filename-case */
4
+ const testAutifyCliSnapshot_1 = require("../helpers/testAutifyCliSnapshot");
5
+ (0, testAutifyCliSnapshot_1.testAutifyCliSnapshot)('web test run https://app.autify.com/projects/0000/scenarios/0000 -r "https://example.com=https://example.net?foo=bar"');
@@ -14,13 +14,14 @@ const normalize = (stdout) => stdout
14
14
  .replace(/debugServerPort: \d+,/g, "debugServerPort: <random>,")
15
15
  .replace(/debug server on http:\/\/localhost:\d+/g, "debug server on http://127.0.0.1:<random>")
16
16
  .replace(/debug server on http:\/\/127.0.0.1:\d+/g, "debug server on http://127.0.0.1:<random>")
17
- .replace(/Your session ID is "[^"]+"/, 'Your session ID is "fake"');
17
+ .replace(/Your session ID is "[^"]+"/, 'Your session ID is "fake"')
18
+ .replace(/»/g, "›");
18
19
  const execAutifyCli = async (args) => {
19
20
  const command = `autify-with-proxy ${args}`;
20
21
  const { stdout, stderr } = await (0, node_util_1.promisify)(node_child_process_1.exec)(command, { env: node_process_1.env });
21
22
  return {
22
23
  stdout: normalize((0, strip_ansi_1.default)(stdout)),
23
- stderr: (0, strip_ansi_1.default)(stderr),
24
+ stderr: normalize((0, strip_ansi_1.default)(stderr)),
24
25
  };
25
26
  };
26
27
  exports.execAutifyCli = execAutifyCli;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@autifyhq/autify-cli-integration-test",
3
- "version": "0.28.0",
3
+ "version": "0.30.0",
4
4
  "description": "Autify Command Line Interface (CLI) Integration Test",
5
5
  "author": "Autify",
6
6
  "bin": {