feat: add resizable desktop panes
ci / gitleaks (push) Successful in 6s
ci / docker (push) Successful in 3m32s

This commit is contained in:
2026-09-20 11:33:43 +08:00
parent 3a23c6cd44
commit 8ab5ad05a0
7 changed files with 259 additions and 19 deletions
+1 -1
View File
@@ -75,7 +75,7 @@ test('task detail paper flow keeps approved responsive geometry and material', a
expect(Math.abs((footerBox.y + footerBox.height) - (detailBox.y + detailBox.height))).toBeLessThanOrEqual(2)
if (viewport.width >= 931) {
expect(metrics.width).toBeCloseTo(350, 0)
expect(metrics.width).toBeCloseTo(Number(await page.getByRole('separator', { name: '调整任务详情宽度' }).getAttribute('aria-valuenow')), 0)
const columns = await dateTime.locator('.task-detail-field').evaluateAll(elements => elements.map(element => element.getBoundingClientRect()))
expect(columns[0].top).toBeCloseTo(columns[1].top, 0)
expect(columns[1].left - columns[0].right).toBeCloseTo(10, 0)