feat: 移动端底部导航备忘录入口改为专注
ci / gitleaks (push) Successful in 10s
ci / docker (push) Successful in 3m44s

This commit is contained in:
2026-09-24 06:10:47 +08:00
parent 6c9618252b
commit 3b6cd70d5b
6 changed files with 11 additions and 9 deletions
+1 -1
View File
@@ -160,7 +160,7 @@ test('all bottom destinations expose one active page and desktop layout stays un
const navigation = page.getByRole('navigation', { name: '主要导航' })
const mobile = (await page.viewportSize())!.width <= 930
if (mobile) {
for (const label of ['今天', '习惯', '倒数日', '备忘录', '日历订阅']) {
for (const label of ['今天', '习惯', '倒数日', '专注', '日历订阅']) {
await bottomTab(page, label).click()
await expect(navigation.locator('[aria-current="page"]')).toHaveCount(1)
await expect(bottomTab(page, label)).toHaveAttribute('aria-current', 'page')