fix(web): isolate project refresh recovery

This commit is contained in:
2026-07-22 13:39:48 +08:00
parent 89d2f4659f
commit 51c6fea343
5 changed files with 175 additions and 49 deletions

View File

@@ -38,5 +38,7 @@ test('project settings and Inbox capture keep save success separate from refresh
test('refresh recovery remains actionable after a save', () => {
assert.match(appSource, /数据已保存,但页面刷新失败/)
assert.match(appSource, />刷新数据<\/Button>/)
assert.match(appSource, /refreshRecovery\.retry\(\)/)
assert.match(appSource, /pendingRefreshProjectIDs/)
assert.match(appSource, /refreshProjectWorkspaces\(requireSession\(\), targets\)/)
assert.match(appSource, /clearPendingRefreshProjects\(current, \[projectID\]\)/)
})