fix: complete legacy operator parity workflows

This commit is contained in:
2026-07-23 00:54:31 +09:00
parent 939c252d23
commit cf117de144
25 changed files with 2430 additions and 223 deletions

View File

@@ -216,6 +216,17 @@ if (($actualRoutes -join ',') -cne ($expectedRoutes -join ',')) {
throw 'The 30-route validation order changed.'
}
$probeFixedIdBlock = [regex]::Match(
$stage,
'const fixedIds = new Set\(\[(?<body>.*?)\]\);',
[Text.RegularExpressions.RegexOptions]::Singleline)
if (-not $probeFixedIdBlock.Success) { throw 'The probe fixed-action allowlist is missing.' }
foreach ($actionId in @('fixed-072', 'fixed-073', 'fixed-074', 'fixed-075')) {
if (-not $probeFixedIdBlock.Groups['body'].Value.Contains("'$actionId'")) {
throw "The S6001 physical action is not probe-allowlisted: $actionId"
}
}
foreach ($token in @(
'S6001_ASSET_INDEPENDENT_ACTIONS',
"actionId: 'fixed-072'",
@@ -226,6 +237,12 @@ foreach ($token in @(
"subtype: 'WtiCrude'",
"subtype: 'BrentCrude'",
"subtype: 'Gold'",
"physicalSelectCatalogTab(client, 'overseas')",
'#market-tabs button[data-tab-id=',
'current.probe.nativeStateCount > nativeStateBefore',
"current.dom.activeWorkspace === 'catalog'",
'current.dom.catalogVisible === true',
"types[0] !== 'select-tab'",
'physicalDoubleClickAndWait(client, selector',
"current.state.currentCode === '6001'")) {
if (-not $stage.Contains($token)) {