@devicecloud.dev/dcd 2.2.1 → 2.3.1

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.
@@ -202,7 +202,7 @@ class Cloud extends core_1.Command {
202
202
  testFormData.set('file', blob, 'flowFile.zip');
203
203
  testFormData.set('appBinaryId', finalBinaryId);
204
204
  testFormData.set('testFileNames', JSON.stringify(testFileNames.map((t) => t.replaceAll(commonRoot, '.'))));
205
- testFormData.set('sequentialFlows', JSON.stringify(sequentialFlows));
205
+ testFormData.set('sequentialFlows', JSON.stringify(sequentialFlows.map((t) => t.replaceAll(commonRoot, '.'))));
206
206
  testFormData.set('env', JSON.stringify(envObject));
207
207
  testFormData.set('googlePlay', googlePlay ? 'true' : 'false');
208
208
  const config = {
@@ -250,6 +250,7 @@ class Cloud extends core_1.Command {
250
250
  (0, errors_1.error)('No tests created: ' + message);
251
251
  (0, cli_ux_1.info)(`\nCreated ${results.length} tests: ${results
252
252
  .map((r) => r.test_file_name)
253
+ .sort((a, b) => a.localeCompare(b))
253
254
  .join(', ')}\n`);
254
255
  (0, cli_ux_1.info)('Run triggered, you can access the results at:');
255
256
  const url = `https://console.devicecloud.dev/results?upload=${results[0].test_upload_id}&result=${results[0].id}`;
package/dist/plan.js CHANGED
@@ -119,7 +119,9 @@ async function plan(input, includeTags, excludeTags, excludeFlows) {
119
119
  const flowsToRunInSequence = workspaceConfig.executionOrder?.flowsOrder
120
120
  ?.map((flowOrder) => (0, planMethods_1.getFlowsToRunInSequence)(pathsByName, [flowOrder]))
121
121
  .flat() || [];
122
- const normalFlows = allFlows.filter((flow) => !flowsToRunInSequence.includes(flow));
122
+ const normalFlows = allFlows
123
+ .filter((flow) => !flowsToRunInSequence.includes(flow))
124
+ .sort((a, b) => a.localeCompare(b));
123
125
  return {
124
126
  allExcludeTags,
125
127
  allIncludeTags,
@@ -299,5 +299,5 @@
299
299
  ]
300
300
  }
301
301
  },
302
- "version": "2.2.1"
302
+ "version": "2.3.1"
303
303
  }
package/package.json CHANGED
@@ -80,7 +80,7 @@
80
80
  "test": "mocha --forbid-only \"test/**/*.test.ts\"",
81
81
  "version": "oclif readme && git add README.md"
82
82
  },
83
- "version": "2.2.1",
83
+ "version": "2.3.1",
84
84
  "bugs": {
85
85
  "url": "https://discord.gg/gm3mJwcNw8"
86
86
  },