feat: redesign task detail paper flow
This commit is contained in:
@@ -166,7 +166,10 @@ test('approved polish keeps search state, dense rows, title-only memos, and uniq
|
||||
await taskRow.locator('.task-main').click()
|
||||
await expect(taskRow).toHaveClass(/selected/)
|
||||
await expect(taskRow).toHaveCSS('background-color', transparent)
|
||||
const taskDetail = page.getByRole('dialog', { name: '任务详情' })
|
||||
await expect(taskDetail.getByRole('button', { name: '保存更改' })).toBeEnabled()
|
||||
await page.keyboard.press('Escape')
|
||||
await expect(taskDetail).toBeHidden()
|
||||
await searchInput.press('Escape')
|
||||
const collapsedToggle = page.getByRole('button', { name: '展开搜索任务' })
|
||||
await expect(collapsedToggle).toBeFocused()
|
||||
|
||||
Reference in New Issue
Block a user