验收20%

This commit is contained in:
2026-07-16 07:42:07 +08:00
parent 0dec90ffdd
commit cb25317412
108 changed files with 6477 additions and 1308 deletions
+12 -1
View File
@@ -45,11 +45,22 @@ if ($captureScript -notmatch 'await waitForFreshDocument\(send, documentTimeOrig
if ($captureScript -notmatch "action !== 'fresh-navigation'") {
throw 'Chrome capture must support fresh-navigation for root pages whose tab lifecycle closes a reloaded CDP target'
}
foreach ($g06Action in @('g06-results', 'g06-empty')) {
foreach ($g06Action in @('g06-results', 'g06-empty', 'g06-invite')) {
if ($captureScript -notmatch [regex]::Escape($g06Action)) {
throw "Chrome capture must support the $g06Action visual state"
}
}
foreach ($a01Action in @('password-tab', 'sms-tab')) {
if ($captureScript -notmatch [regex]::Escape($a01Action)) {
throw "Chrome capture must support the $a01Action A01 state"
}
}
if ($captureScript -notmatch 'const prepareA01LoginState = async \(send, action\) =>') {
throw 'Chrome capture must wait for A01 login tabs before switching state'
}
if ($captureScript -notmatch 'await prepareA01LoginState\(send, action\)') {
throw 'Chrome capture must verify the requested A01 state before taking a screenshot'
}
if ($captureScript -notmatch 'const prepareG06State = async \(send, action\) =>') {
throw 'Chrome capture must prepare G06 search states through the real input and action controls'
}