验收20%
This commit is contained in:
@@ -31,6 +31,9 @@ foreach ($required in @(
|
||||
'settings-state--form',
|
||||
'settings-state--success',
|
||||
'settings-state--error',
|
||||
'settings-state--no-permission',
|
||||
'const nameError = ref',
|
||||
'class="settings-feedback"',
|
||||
'g06-search-input-wide.png',
|
||||
'a01-primary-button.png',
|
||||
'const genealogyDraft',
|
||||
@@ -45,6 +48,9 @@ foreach ($required in @(
|
||||
'poem-state--empty',
|
||||
'poem-state--edit',
|
||||
'poem-state--error',
|
||||
'poem-state--no-permission',
|
||||
'const poemError = ref',
|
||||
'class="poem-feedback"',
|
||||
'g06-search-input-wide.png',
|
||||
'a01-primary-button.png',
|
||||
'a01-secondary-button.png',
|
||||
@@ -53,6 +59,12 @@ foreach ($required in @(
|
||||
'query.genealogyId'
|
||||
)) { Assert-Contains $g12 $required "Missing G12 generation-poem contract: $required" }
|
||||
|
||||
foreach ($page in @($g11, $g12)) {
|
||||
foreach ($nativeUi in @('uni.showToast', 'uni.showModal', 'uni.showLoading', 'uni.showActionSheet')) {
|
||||
if ($page -match [regex]::Escape($nativeUi)) { throw "G11-G12 must not use native UniApp UI: $nativeUi" }
|
||||
}
|
||||
}
|
||||
|
||||
foreach ($className in @('settings-panel', 'settings-action', 'poem-row', 'poem-editor', 'poem-action')) {
|
||||
foreach ($page in @($g11, $g12)) { Assert-NoCssSurface $page $className }
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user