This commit is contained in:
2026-08-03 10:51:53 +08:00
parent beb86d53e7
commit f098610a6c
15 changed files with 125 additions and 115 deletions
+1
View File
@@ -17,6 +17,7 @@ test('registers the account profile route and navigation entry', () => {
test('implements profile view, edit, save and cancel states', () => {
assert.match(viewSource, /基本信息/)
assert.doesNotMatch(viewSource, /account-identity/)
assert.doesNotMatch(viewSource, /<h2>基本信息<\/h2>|<h2>修改密码<\/h2>/)
assert.match(viewSource, /function startEditing\(\)/)
assert.match(viewSource, /function cancelEditing\(\)/)
assert.match(viewSource, /async function saveProfile\(\)/)