@devicecloud.dev/dcd 3.3.1 → 3.3.3-beta.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.
@@ -214,8 +214,8 @@ class Cloud extends core_1.Command {
214
214
  });
215
215
  testFormData.set('file', blob, 'flowFile.zip');
216
216
  testFormData.set('appBinaryId', finalBinaryId);
217
- testFormData.set('testFileNames', JSON.stringify(testFileNames.map((t) => t.replaceAll(commonRoot, '.'))));
218
- testFormData.set('sequentialFlows', JSON.stringify(sequentialFlows.map((t) => t.replaceAll(commonRoot, '.'))));
217
+ testFormData.set('testFileNames', JSON.stringify(testFileNames.map((t) => t.replaceAll(commonRoot, '.').split(path.sep).join('/'))));
218
+ testFormData.set('sequentialFlows', JSON.stringify(sequentialFlows.map((t) => t.replaceAll(commonRoot, '.').split(path.sep).join('/'))));
219
219
  testFormData.set('env', JSON.stringify(envObject));
220
220
  testFormData.set('googlePlay', googlePlay ? 'true' : 'false');
221
221
  const config = {
@@ -50,27 +50,38 @@ class Status extends core_1.Command {
50
50
  return;
51
51
  }
52
52
  try {
53
- const status = await (0, methods_1.getUploadStatus)(apiUrl, apiKey, {
53
+ const status = (await (0, methods_1.getUploadStatus)(apiUrl, apiKey, {
54
54
  name,
55
55
  uploadId,
56
- });
56
+ }));
57
57
  if (flags.json) {
58
58
  this.log(JSON.stringify(status, null, 2));
59
59
  }
60
60
  else {
61
- this.log('\nUpload Status:');
62
- this.log('─'.repeat(50));
61
+ this.log('\nšŸ“Š Upload Status');
62
+ this.log('═'.repeat(80));
63
63
  // Display overall status
64
64
  const overallSymbol = this.getStatusSymbol(status.status);
65
- this.log(`\n${overallSymbol} Overall Status: ${status.status}`);
66
- this.log('─'.repeat(50));
67
- status.tests.forEach((item) => {
68
- const symbol = this.getStatusSymbol(item.status);
69
- this.log(`\n${symbol} Flow: ${item.name}`);
70
- this.log(` Status: ${item.status}`);
71
- this.log('─'.repeat(50));
72
- });
73
- this.log(''); // Add empty line at the end
65
+ this.log(`${overallSymbol} Status: ${status.status}`);
66
+ if (status.uploadId) {
67
+ this.log(`šŸ†” Upload ID: ${status.uploadId}`);
68
+ }
69
+ if (status.appBinaryId) {
70
+ this.log(`šŸ“± Binary ID: ${status.appBinaryId}`);
71
+ }
72
+ if (status.consoleUrl) {
73
+ this.log(`šŸ”— Console: ${status.consoleUrl}`);
74
+ }
75
+ if (status.tests.length > 0) {
76
+ this.log('\nšŸ“‹ Test Results');
77
+ this.log('─'.repeat(80));
78
+ status.tests.forEach((item) => {
79
+ const symbol = this.getStatusSymbol(item.status);
80
+ this.log(`${symbol} ${item.name}`);
81
+ this.log(` Status: ${item.status}`);
82
+ this.log('');
83
+ });
84
+ }
74
85
  }
75
86
  }
76
87
  catch (error) {
@@ -398,5 +398,5 @@
398
398
  ]
399
399
  }
400
400
  },
401
- "version": "3.3.1"
401
+ "version": "3.3.3-beta.1"
402
402
  }
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": "3.3.1",
83
+ "version": "3.3.3-beta.1",
84
84
  "bugs": {
85
85
  "url": "https://discord.gg/gm3mJwcNw8"
86
86
  },