fix: complete legacy operator parity workflows
This commit is contained in:
@@ -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)) {
|
||||
|
||||
Reference in New Issue
Block a user