60%
This commit is contained in:
@@ -158,10 +158,8 @@ foreach ($asset in @(
|
||||
'brand-seal.png',
|
||||
'a01-vnext-divider-v1.png',
|
||||
'a01-scroll-primary-v3.png',
|
||||
'a01-scroll-secondary-v3.png',
|
||||
'a01-scroll-toast-v3.png',
|
||||
'a01-scroll-dialog-v3.png',
|
||||
'auth-wechat.png',
|
||||
'a01-icon-phone-v1.png',
|
||||
'a01-icon-lock-v1.png',
|
||||
'a01-icon-eye-open-v1.png',
|
||||
@@ -189,8 +187,8 @@ foreach ($obsoleteVisualAsset in @(
|
||||
}
|
||||
|
||||
$buttonSkinTags = [regex]::Matches($entry, '<image\s+class="button-skin"[^>]+>')
|
||||
if ($buttonSkinTags.Count -ne 2) {
|
||||
throw "A01 must have exactly two visible login button skins, found $($buttonSkinTags.Count)."
|
||||
if ($buttonSkinTags.Count -ne 1) {
|
||||
throw "A01 must have exactly one supported login button skin, found $($buttonSkinTags.Count)."
|
||||
}
|
||||
foreach ($buttonSkinTag in $buttonSkinTags) {
|
||||
Assert-Contains -Content $buttonSkinTag.Value -Expected 'mode="aspectFit"' -Message 'A01 button skins must use uniform aspectFit rendering.'
|
||||
@@ -207,7 +205,6 @@ $requiredCopy = @(
|
||||
'6aqM6K+B56CB',
|
||||
'5b+Y6K6w5a+G56CB',
|
||||
'6I635Y+W6aqM6K+B56CB',
|
||||
'5b6u5L+h55m75b2V',
|
||||
'6L+Y5rKh5pyJ6LSm5Y+377yf',
|
||||
'5rOo5YaM6LSm5Y+3',
|
||||
'44CK55So5oi35Y2P6K6u44CL',
|
||||
|
||||
Reference in New Issue
Block a user