mirror of
https://wget.la/https://github.com/Wxw-Gu/WechatExplorer
synced 2026-10-03 18:33:14 +08:00
fix: 增加sip文案
This commit is contained in:
@@ -143,7 +143,9 @@ describe('DatabaseConnectionPage', () => {
|
||||
|
||||
expect(screen.getByRole('button', { name: '开始获取密钥' })).toBeVisible()
|
||||
expect(screen.queryByText(/管理员授权|电脑密码/)).not.toBeInTheDocument()
|
||||
expect(screen.queryByText(/Frida|Python|SIP|重新签名/)).not.toBeInTheDocument()
|
||||
// SIP is a user prerequisite, not an implementation detail: seeing it in the
|
||||
// UI is expected whenever the key cannot be captured without it.
|
||||
expect(screen.queryByText(/Frida|Python|重新签名/)).not.toBeInTheDocument()
|
||||
})
|
||||
|
||||
it('renders a discovered nickname and avatar before connection', () => {
|
||||
|
||||
@@ -84,7 +84,8 @@ describe('database key controls', () => {
|
||||
|
||||
expect(screen.getByText('Intel Mac 自动获取')).toBeVisible()
|
||||
expect(screen.getByText(/按页面提示操作即可/)).toBeVisible()
|
||||
expect(screen.queryByText(/Frida|Python|SIP|签名/)).not.toBeInTheDocument()
|
||||
// SIP is a user prerequisite, not an implementation detail.
|
||||
expect(screen.queryByText(/Frida|Python|签名/)).not.toBeInTheDocument()
|
||||
await user.click(screen.getByRole('button', { name: '自动获取密钥' }))
|
||||
expect(onDetect).toHaveBeenCalledOnce()
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user