mirror of
https://wget.la/https://github.com/Wxw-Gu/WechatExplorer
synced 2026-08-21 21:47:00 +08:00
feat: 优化全局 UI 交互与页面视觉体验
统一按钮、输入框、选择控件和开关的交互状态 优化日报、导出、设置、Agent Hub 和 API Center 的UI 完善组件、单元及 Electron E2E 测试
This commit is contained in:
@@ -79,5 +79,10 @@ describe('TraceMemo UI infrastructure', () => {
|
||||
await user.click(screen.getByRole('button', { name: '显示通知' }))
|
||||
expect(screen.getByText('已保存')).toBeVisible()
|
||||
expect(screen.getByText('设置已更新')).toBeVisible()
|
||||
|
||||
const close = screen.getByRole('button', { name: '关闭通知' })
|
||||
expect(close).toHaveClass('h-7', 'w-7', 'border-0', 'bg-transparent')
|
||||
await user.click(close)
|
||||
expect(screen.queryByText('已保存')).not.toBeInTheDocument()
|
||||
})
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user