fix: 完善交互、知识库目录与 Windows 运行库提示

This commit is contained in:
电摇小子
2026-08-11 02:59:30 +08:00
parent 32864ff88c
commit 8a0d3b02d9
16 changed files with 283 additions and 20 deletions
@@ -180,4 +180,16 @@ describe('DatabaseConnectionPage', () => {
expect(screen.getByRole('button', { name: '返回上一步' })).toBeEnabled()
expect(screen.getByRole('button', { name: '取消并重新检查' })).toBeEnabled()
})
it('provides the official Visual C++ runtime download on Windows', () => {
renderPage({
status: '当前 Windows 缺少 Microsoft Visual C++ 运行库',
statusKind: 'error'
})
expect(screen.getByRole('link', { name: '下载运行库' })).toHaveAttribute(
'href',
'https://aka.ms/vc14/vc_redist.x64.exe'
)
})
})