File tree 2 files changed +12
-6
lines changed
2 files changed +12
-6
lines changed Original file line number Diff line number Diff line change @@ -23,27 +23,32 @@ function BuildTestMarkdownTable {
23
23
[hashtable ] $resultIcons
24
24
)
25
25
26
+ $mdTableRows = [System.Collections.ArrayList ]@ ()
26
27
$mdTableSB = [System.Text.StringBuilder ]::new()
27
28
28
29
foreach ($row in $Rows ) {
29
- Write-Host $row
30
+ $row -join ' ,' | Out-Host
31
+ $formattedRow = @ ()
30
32
for ($i = 0 ; $i -lt $row.Length ; $i ++ ) {
31
33
# If resultIcons has a key for this column, we want to display an emoji for values > 0 and an empty cell for 0
32
34
if ($resultIcons.ContainsKey ($i )) {
33
35
if ($row [$i ] -gt 0 ) {
34
- $row [ $i ] = " $ ( $row [$i ]) $ ( $resultIcons [$i ]) "
36
+ $formattedRow + = " $ ( $row [$i ]) $ ( $resultIcons [$i ]) "
35
37
}
36
38
else {
37
- $row [ $i ] = $null
39
+ $formattedRow += " "
38
40
}
41
+ } else {
42
+ $formattedRow += " $ ( $row [$i ]) "
39
43
}
40
44
}
41
- Write-Host $row
45
+ $mdTableRows.Add ($formattedRow ) | Out-Null
46
+ " |$ ( $formattedRow -join ' |' ) |" | Out-Host
42
47
}
43
48
44
49
$mdTable = ' '
45
50
try {
46
- $mdTable = Build-MarkdownTable - Headers $Headers - Rows $Rows
51
+ $mdTable = Build-MarkdownTable - Headers $Headers - Rows $mdTableRows
47
52
} catch {
48
53
$mdTable = " <i>Failed to generate result table</i>"
49
54
}
@@ -198,8 +203,8 @@ function GetTestResultSummaryMD {
198
203
}
199
204
$failuresSB = BuildHTMLFailureSummary - rootFailureNode $rootFailureNode
200
205
}
201
- $summarySb = BuildTestMarkdownTable - Headers $mdTableHeaders - Rows $mdTableRows - resultIcons $mdTableEmojis
202
206
}
207
+ $summarySb = BuildTestMarkdownTable - Headers $mdTableHeaders - Rows $mdTableRows - resultIcons $mdTableEmojis
203
208
}
204
209
if ($totalFailed -gt 0 ) {
205
210
$failuresSummaryMD = " <i>$totalFailed failing tests, download test results to see details</i>"
Original file line number Diff line number Diff line change 1
1
### Issues
2
2
3
+ - Issue 1678 Test summary is showing too many status icons
3
4
- Issue 1640 AL1040 error due to app folder within the artifacts cache being incorrectly recognized as an app folder
4
5
- Issue 1630 Error when downloading a release, when the destination folder already exists.
5
6
- Issue 1540 and 1649 Apps with dependencies to Microsft\_\_ EXCLUDE\_ apps fails deployment
You can’t perform that action at this time.
0 commit comments