Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

4,707 changes: 3,238 additions & 1,469 deletions Microsoft.SCIM.LogicAppValidationTemplate/StandardLogicApp/SCIMTests_Workflow.json

Large diffs are not rendered by default.

9,542 changes: 5,549 additions & 3,993 deletions Microsoft.SCIM.LogicAppValidationTemplate/StandardLogicApp/UserTests_Workflow.json

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
@@ -1 +1 @@
3.0
4.0
Original file line number Diff line number Diff line change
Expand Up @@ -381,19 +381,23 @@ foreach ($wf in $wfDefs.Keys) {

# ---------- 8. Aggregates ----------
Write-Host "[8/9] Compute aggregates" -ForegroundColor Cyan
# Probe actions whose Failed status is the expected success signal
$failedWhitelist = @('DeleteUser_Check_User_Deleted')
$allFlat = @()
foreach ($wf in $wfActions.Keys) { $allFlat += $wfActions[$wf] }
$whitelistedCount = ($allFlat | Where-Object { $_.properties.status -eq "Failed" -and $_.name -in $failedWhitelist }).Count
$summary = [ordered]@{
total = $allFlat.Count
succeeded = ($allFlat | Where-Object { $_.properties.status -eq "Succeeded" }).Count
failed = ($allFlat | Where-Object { $_.properties.status -eq "Failed" }).Count
succeeded = ($allFlat | Where-Object { $_.properties.status -eq "Succeeded" }).Count + $whitelistedCount
failed = ($allFlat | Where-Object { $_.properties.status -eq "Failed" -and $_.name -notin $failedWhitelist }).Count
skipped = ($allFlat | Where-Object { $_.properties.status -eq "Skipped" }).Count
other = ($allFlat | Where-Object { $_.properties.status -notin @("Succeeded","Failed","Skipped") }).Count
}
$failedActions = New-Object System.Collections.ArrayList
foreach ($wf in $wfActions.Keys) {
foreach ($a in $wfActions[$wf]) {
if ($a.properties.status -ne "Failed") { continue }
if ($a.name -in $failedWhitelist) { continue } # skip whitelisted probe actions
$msg = $a.properties.error.message
$code = $a.properties.error.code
if (-not $msg -and $contentMap.ContainsKey($wf) -and $contentMap[$wf].ContainsKey($a.name)) {
Expand All @@ -411,9 +415,9 @@ foreach ($wf in $wfActions.Keys) {
}
$testSummary = [ordered]@{
total = $testResults.Count
success = ($testResults | Where-Object { $_.testResult -eq "success" }).Count
success = ($testResults | Where-Object { $_.testResult -like "success*" }).Count
skipped = ($testResults | Where-Object { $_.testResult -eq "SKIPPED" }).Count
failed = ($testResults | Where-Object { $_.testResult -ne "success" -and $_.testResult -ne "SKIPPED" }).Count
failed = ($testResults | Where-Object { $_.testResult -notlike "success*" -and $_.testResult -ne "SKIPPED" }).Count
}

$tplRoot = $wfDefs['Orchestrator_Workflow'].actions
Expand Down

Large diffs are not rendered by default.

Loading