mirror of
https://wget.la/https://github.com/Wxw-Gu/WechatExplorer
synced 2026-10-03 18:33:14 +08:00
feat: 定时日报支持Windows
This commit is contained in:
@@ -647,7 +647,7 @@ describe('daily report controls', () => {
|
||||
|
||||
const button = screen.getByRole('button', { name: '发送到当前群聊' })
|
||||
expect(button).toBeDisabled()
|
||||
expect(button.parentElement).toHaveAttribute('title', '仅支持 macOS')
|
||||
expect(button.parentElement).toHaveAttribute('title', '仅支持 macOS 和 Windows')
|
||||
})
|
||||
|
||||
it('switches templates from the top toolbar using the saved report snapshot', async () => {
|
||||
|
||||
@@ -81,7 +81,9 @@ describe('ScheduledReportsWorkspace', () => {
|
||||
onOpenWechatSettings={onOpenWechatSettings}
|
||||
/>
|
||||
)
|
||||
await waitFor(() => expect(screen.getByText('微信消息发送目前仅支持 macOS')).toBeVisible())
|
||||
await waitFor(() =>
|
||||
expect(screen.getByText('微信消息发送目前仅支持 macOS 和 Windows')).toBeVisible()
|
||||
)
|
||||
expect(screen.getByRole('button', { name: /新建定时日报/ })).toBeDisabled()
|
||||
})
|
||||
|
||||
|
||||
Reference in New Issue
Block a user