@devicecloud.dev/dcd 4.3.1 → 4.3.3
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/dist/commands/cloud.d.ts +1 -1
- package/dist/commands/cloud.js +2 -2
- package/dist/config/flags/device.flags.d.ts +1 -1
- package/dist/config/flags/device.flags.js +3 -3
- package/dist/config/flags/execution.flags.js +2 -2
- package/dist/constants.d.ts +1 -1
- package/dist/services/test-submission.service.d.ts +1 -1
- package/dist/services/test-submission.service.js +2 -2
- package/oclif.manifest.json +7 -7
- package/package.json +1 -1
package/dist/commands/cloud.d.ts
CHANGED
|
@@ -57,7 +57,7 @@ export default class Cloud extends Command {
|
|
|
57
57
|
'show-crosshairs': import("@oclif/core/lib/interfaces").BooleanFlag<boolean>;
|
|
58
58
|
'maestro-chrome-onboarding': import("@oclif/core/lib/interfaces").BooleanFlag<boolean>;
|
|
59
59
|
'android-no-snapshot': import("@oclif/core/lib/interfaces").BooleanFlag<boolean>;
|
|
60
|
-
'
|
|
60
|
+
'disable-animations': import("@oclif/core/lib/interfaces").BooleanFlag<boolean>;
|
|
61
61
|
'app-binary-id': import("@oclif/core/lib/interfaces").OptionFlag<string, import("@oclif/core/lib/interfaces").CustomOptions>;
|
|
62
62
|
'app-file': import("@oclif/core/lib/interfaces").OptionFlag<string, import("@oclif/core/lib/interfaces").CustomOptions>;
|
|
63
63
|
'ignore-sha-check': import("@oclif/core/lib/interfaces").BooleanFlag<boolean>;
|
package/dist/commands/cloud.js
CHANGED
|
@@ -170,7 +170,7 @@ class Cloud extends core_1.Command {
|
|
|
170
170
|
`${styling_1.colors.warning('⚠')} ${styling_1.colors.bold('Deprecation Warning')}\n` +
|
|
171
171
|
styling_1.colors.dim(`Maestro version ${resolvedMaestroVersion} is deprecated and will be removed soon. `) +
|
|
172
172
|
styling_1.colors.dim(`Please upgrade to a newer version. See: `) +
|
|
173
|
-
styling_1.colors.info('https://docs.devicecloud.dev/
|
|
173
|
+
styling_1.colors.info('https://docs.devicecloud.dev/configuration/maestro-versions') + `\n` +
|
|
174
174
|
`${styling_1.dividers.light}\n`);
|
|
175
175
|
}
|
|
176
176
|
if (retry && retry > 2) {
|
|
@@ -413,7 +413,7 @@ class Cloud extends core_1.Command {
|
|
|
413
413
|
runnerType,
|
|
414
414
|
showCrosshairs: flags['show-crosshairs'],
|
|
415
415
|
maestroChromeOnboarding: flags['maestro-chrome-onboarding'],
|
|
416
|
-
|
|
416
|
+
disableAnimations: flags['disable-animations'],
|
|
417
417
|
});
|
|
418
418
|
if (debug) {
|
|
419
419
|
this.log(`[DEBUG] Submitting flow upload request to ${apiUrl}/uploads/flow`);
|
|
@@ -12,5 +12,5 @@ export declare const deviceFlags: {
|
|
|
12
12
|
'show-crosshairs': import("@oclif/core/lib/interfaces").BooleanFlag<boolean>;
|
|
13
13
|
'maestro-chrome-onboarding': import("@oclif/core/lib/interfaces").BooleanFlag<boolean>;
|
|
14
14
|
'android-no-snapshot': import("@oclif/core/lib/interfaces").BooleanFlag<boolean>;
|
|
15
|
-
'
|
|
15
|
+
'disable-animations': import("@oclif/core/lib/interfaces").BooleanFlag<boolean>;
|
|
16
16
|
};
|
|
@@ -41,14 +41,14 @@ exports.deviceFlags = {
|
|
|
41
41
|
}),
|
|
42
42
|
'maestro-chrome-onboarding': core_1.Flags.boolean({
|
|
43
43
|
default: false,
|
|
44
|
-
description: '[Android only] Force Maestro-based Chrome onboarding - note: this will slow your tests but can fix browser related crashes. See https://docs.devicecloud.dev/
|
|
44
|
+
description: '[Android only] Force Maestro-based Chrome onboarding - note: this will slow your tests but can fix browser related crashes. See https://docs.devicecloud.dev/advanced/chrome-onboarding for more information.',
|
|
45
45
|
}),
|
|
46
46
|
'android-no-snapshot': core_1.Flags.boolean({
|
|
47
47
|
default: false,
|
|
48
48
|
description: '[Android only] Force cold boot instead of using snapshot boot. This is automatically enabled for API 35+ but can be used to force cold boot on older API levels.',
|
|
49
49
|
}),
|
|
50
|
-
'
|
|
50
|
+
'disable-animations': core_1.Flags.boolean({
|
|
51
51
|
default: false,
|
|
52
|
-
description: '[Android only]
|
|
52
|
+
description: '[Android only] Disable device animations during test execution. This reduces CPU load and may improve test reliability on resource-constrained runners.',
|
|
53
53
|
}),
|
|
54
54
|
};
|
|
@@ -37,14 +37,14 @@ exports.executionFlags = {
|
|
|
37
37
|
}),
|
|
38
38
|
'maestro-version': core_1.Flags.string({
|
|
39
39
|
aliases: ['maestroVersion'],
|
|
40
|
-
description: 'Maestro version to run your flow against. Use "latest" for the most recent version. See https://docs.devicecloud.dev/
|
|
40
|
+
description: 'Maestro version to run your flow against. Use "latest" for the most recent version. See https://docs.devicecloud.dev/configuration/maestro-versions for supported versions.',
|
|
41
41
|
}),
|
|
42
42
|
retry: core_1.Flags.integer({
|
|
43
43
|
description: 'Automatically retry the run up to the number of times specified (same as pressing retry in the UI) - this is free of charge',
|
|
44
44
|
}),
|
|
45
45
|
'runner-type': core_1.Flags.string({
|
|
46
46
|
default: 'default',
|
|
47
|
-
description: '[experimental] The type of runner to use - note: anything other than default or cpu1 will incur premium pricing tiers, see https://docs.devicecloud.dev/
|
|
47
|
+
description: '[experimental] The type of runner to use - note: anything other than default or cpu1 will incur premium pricing tiers, see https://docs.devicecloud.dev/configuration/runner-type for more information.',
|
|
48
48
|
options: ['default', 'm4', 'm1', 'gpu1', 'cpu1'],
|
|
49
49
|
}),
|
|
50
50
|
};
|
package/dist/constants.d.ts
CHANGED
|
@@ -44,7 +44,7 @@ export declare const flags: {
|
|
|
44
44
|
'show-crosshairs': import("@oclif/core/lib/interfaces").BooleanFlag<boolean>;
|
|
45
45
|
'maestro-chrome-onboarding': import("@oclif/core/lib/interfaces").BooleanFlag<boolean>;
|
|
46
46
|
'android-no-snapshot': import("@oclif/core/lib/interfaces").BooleanFlag<boolean>;
|
|
47
|
-
'
|
|
47
|
+
'disable-animations': import("@oclif/core/lib/interfaces").BooleanFlag<boolean>;
|
|
48
48
|
'app-binary-id': import("@oclif/core/lib/interfaces").OptionFlag<string, import("@oclif/core/lib/interfaces").CustomOptions>;
|
|
49
49
|
'app-file': import("@oclif/core/lib/interfaces").OptionFlag<string, import("@oclif/core/lib/interfaces").CustomOptions>;
|
|
50
50
|
'ignore-sha-check': import("@oclif/core/lib/interfaces").BooleanFlag<boolean>;
|
|
@@ -17,7 +17,7 @@ class TestSubmissionService {
|
|
|
17
17
|
* @returns FormData ready to be submitted to the API
|
|
18
18
|
*/
|
|
19
19
|
async buildTestFormData(config) {
|
|
20
|
-
const { appBinaryId, flowFile, executionPlan, commonRoot, cliVersion, env = [], metadata = [], googlePlay = false, androidApiLevel, androidDevice, androidNoSnapshot, iOSVersion, iOSDevice, name, runnerType, maestroVersion, deviceLocale, orientation, mitmHost, mitmPath, retry, continueOnFailure = true, report, showCrosshairs, maestroChromeOnboarding, raw,
|
|
20
|
+
const { appBinaryId, flowFile, executionPlan, commonRoot, cliVersion, env = [], metadata = [], googlePlay = false, androidApiLevel, androidDevice, androidNoSnapshot, iOSVersion, iOSDevice, name, runnerType, maestroVersion, deviceLocale, orientation, mitmHost, mitmPath, retry, continueOnFailure = true, report, showCrosshairs, maestroChromeOnboarding, raw, disableAnimations, debug = false, logger, } = config;
|
|
21
21
|
const { allExcludeTags, allIncludeTags, flowMetadata, flowOverrides, flowsToRun: testFileNames, referencedFiles, sequence, workspaceConfig, } = executionPlan;
|
|
22
22
|
const { flows: sequentialFlows = [] } = sequence ?? {};
|
|
23
23
|
const testFormData = new FormData();
|
|
@@ -83,7 +83,7 @@ class TestSubmissionService {
|
|
|
83
83
|
report,
|
|
84
84
|
showCrosshairs,
|
|
85
85
|
maestroChromeOnboarding,
|
|
86
|
-
|
|
86
|
+
disableAnimations,
|
|
87
87
|
version: cliVersion,
|
|
88
88
|
};
|
|
89
89
|
testFormData.set('config', JSON.stringify(configPayload));
|
package/oclif.manifest.json
CHANGED
|
@@ -170,7 +170,7 @@
|
|
|
170
170
|
"type": "boolean"
|
|
171
171
|
},
|
|
172
172
|
"maestro-chrome-onboarding": {
|
|
173
|
-
"description": "[Android only] Force Maestro-based Chrome onboarding - note: this will slow your tests but can fix browser related crashes. See https://docs.devicecloud.dev/
|
|
173
|
+
"description": "[Android only] Force Maestro-based Chrome onboarding - note: this will slow your tests but can fix browser related crashes. See https://docs.devicecloud.dev/advanced/chrome-onboarding for more information.",
|
|
174
174
|
"name": "maestro-chrome-onboarding",
|
|
175
175
|
"allowNo": false,
|
|
176
176
|
"type": "boolean"
|
|
@@ -181,9 +181,9 @@
|
|
|
181
181
|
"allowNo": false,
|
|
182
182
|
"type": "boolean"
|
|
183
183
|
},
|
|
184
|
-
"
|
|
185
|
-
"description": "[Android only]
|
|
186
|
-
"name": "
|
|
184
|
+
"disable-animations": {
|
|
185
|
+
"description": "[Android only] Disable device animations during test execution. This reduces CPU load and may improve test reliability on resource-constrained runners.",
|
|
186
|
+
"name": "disable-animations",
|
|
187
187
|
"allowNo": false,
|
|
188
188
|
"type": "boolean"
|
|
189
189
|
},
|
|
@@ -285,7 +285,7 @@
|
|
|
285
285
|
"aliases": [
|
|
286
286
|
"maestroVersion"
|
|
287
287
|
],
|
|
288
|
-
"description": "Maestro version to run your flow against. Use \"latest\" for the most recent version. See https://docs.devicecloud.dev/
|
|
288
|
+
"description": "Maestro version to run your flow against. Use \"latest\" for the most recent version. See https://docs.devicecloud.dev/configuration/maestro-versions for supported versions.",
|
|
289
289
|
"name": "maestro-version",
|
|
290
290
|
"hasDynamicHelp": false,
|
|
291
291
|
"multiple": false,
|
|
@@ -299,7 +299,7 @@
|
|
|
299
299
|
"type": "option"
|
|
300
300
|
},
|
|
301
301
|
"runner-type": {
|
|
302
|
-
"description": "[experimental] The type of runner to use - note: anything other than default or cpu1 will incur premium pricing tiers, see https://docs.devicecloud.dev/
|
|
302
|
+
"description": "[experimental] The type of runner to use - note: anything other than default or cpu1 will incur premium pricing tiers, see https://docs.devicecloud.dev/configuration/runner-type for more information.",
|
|
303
303
|
"name": "runner-type",
|
|
304
304
|
"default": "default",
|
|
305
305
|
"hasDynamicHelp": false,
|
|
@@ -680,5 +680,5 @@
|
|
|
680
680
|
]
|
|
681
681
|
}
|
|
682
682
|
},
|
|
683
|
-
"version": "4.3.
|
|
683
|
+
"version": "4.3.3"
|
|
684
684
|
}
|