feat(web): add queue collapse control

This commit is contained in:
kingwl
2026-07-30 16:41:55 +08:00
parent 09c217eba7
commit 0a25c0d237
11 changed files with 190 additions and 97 deletions

View File

@@ -80,6 +80,10 @@ describe('web e2e: queue row actions', () => {
await input.fill(text)
await input.press('Enter')
}
const queueHeader = page.getByRole('button', { name: '2 Queued' })
await expect.poll(() => queueHeader.getAttribute('aria-expanded'), { timeout: 10_000 })
.toBe('false')
await queueHeader.click()
await expect.poll(
() => page.getByRole('button', { name: '删除排队消息' }).count(),
{ timeout: 10_000 },

View File

@@ -12,6 +12,7 @@
- button "编辑":
- img
- paragraph: partial
- button "2 Queued" [expanded]
- list:
- listitem:
- text: Queue item to remove