This commit is contained in:
2026-11-03 17:15:11 +08:00
parent bab96743d7
commit 09ada7a441
2 changed files with 64 additions and 22 deletions
+2 -1
View File
@@ -146,7 +146,8 @@ test('Chinese English and Spanish locale selection is persisted from profile wit
for (const label of ['简体中文', 'English', 'Español']) assert.match(i18n, new RegExp(label))
assert.match(profile, /currentLocale, LOCALE_OPTIONS, setLocale/)
assert.match(profile, /@tap="selectLanguage"[\s\S]*切换语言/)
assert.match(profile, /uni\.showActionSheet[\s\S]*setLocale\(selected\.value\)/)
assert.match(profile, /ref="languagePopup"[\s\S]*role="radiogroup"/)
assert.match(profile, /applyLanguage\(value\)[\s\S]*setLocale\(selected\.value\)/)
assert.match(inbound, /warehouse-profile/)
})