Skip to content

Commit b82ea64

Browse files
Copilotmazhelez
andcommitted
Update disabled-scenarios.json to use array format with scenario and reason in each object
Co-authored-by: mazhelez <43066499+mazhelez@users.noreply.github.com>
1 parent 0c3ffe4 commit b82ea64

File tree

2 files changed

+6
-8
lines changed

2 files changed

+6
-8
lines changed

.github/workflows/E2E.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -234,7 +234,7 @@ jobs:
234234
235235
# Load disabled scenarios from config file
236236
$disabledScenariosConfig = Get-Content -path (Join-Path $ENV:GITHUB_WORKSPACE "e2eTests/disabled-scenarios.json") -encoding UTF8 -raw | ConvertFrom-Json
237-
$disabledScenarios = $disabledScenariosConfig.disabledScenarios
237+
$disabledScenarios = @($disabledScenariosConfig | ForEach-Object { $_.scenario })
238238
239239
$scenariosJson = @{
240240
"matrix" = @{

e2eTests/disabled-scenarios.json

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
1-
{
2-
"disabledScenarios": [
3-
"FederatedCredentials"
4-
],
5-
"reason": {
6-
"FederatedCredentials": "Azure resource migration work in progress"
1+
[
2+
{
3+
"scenario": "FederatedCredentials",
4+
"reason": "Azure resource migration work in progress"
75
}
8-
}
6+
]

0 commit comments

Comments
 (0)