feat: align upcoming with list layout
ci / gitleaks (push) Successful in 1m3s
ci / docker (push) Successful in 4m48s

This commit is contained in:
2026-09-19 19:43:32 +08:00
parent 915d690397
commit 0cf1c49094
6 changed files with 124 additions and 28 deletions
+1 -1
View File
@@ -23,7 +23,7 @@ describe('Today independent collapsible sections', () => {
expect(app).toContain(`:aria-expanded="!todaySectionCollapse.${section}"`)
if (section === 'tasks') {
expect(app).toContain(":id=\"activeView==='today' ? 'today-tasks' : undefined\"")
expect(app).toContain(":aria-labelledby=\"activeView==='today' ? 'today-tasks-heading' : activeView==='tasks' ? 'task-list-title' : undefined\"")
expect(app).toContain(":aria-labelledby=\"activeView==='today' ? 'today-tasks-heading' : (activeView==='tasks' || activeView==='upcoming') ? 'task-list-title' : undefined\"")
} else {
expect(app).toContain(`id="today-${section}"`)
expect(app).toContain(`aria-labelledby="today-${section}-heading"`)