This commit is contained in:
2026-08-28 10:03:42 +08:00
parent 3dcebc4737
commit fdde94488d
10 changed files with 105 additions and 35 deletions
+1 -1
View File
@@ -35,7 +35,7 @@ test('overseas profile exposes manual App update checking and the runtime versio
const profile = await read('../src/pages/profile/profile.vue')
assert.match(profile, /应用版本[\s\S]*?\{\{ appVersion \}\}/)
assert.match(profile, /@tap="checkUpdate">检查更新/)
assert.match(profile, /class="profile-row profile-row-action" @tap="checkUpdate"[\s\S]*检查更新/)
assert.match(profile, /plus\.runtime\.version/)
assert.match(profile, /checkForAppUpdate\(\{ manual: true \}\)/)
assert.match(profile, /#ifndef APP-PLUS[\s\S]*?请在 PDA App 中检查更新/)