diff --git a/frontend/e2e/mobile-ui.spec.ts b/frontend/e2e/mobile-ui.spec.ts index 32c889a..8902452 100644 --- a/frontend/e2e/mobile-ui.spec.ts +++ b/frontend/e2e/mobile-ui.spec.ts @@ -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') diff --git a/frontend/src/App.vue b/frontend/src/App.vue index a3caf80..95ce25a 100644 --- a/frontend/src/App.vue +++ b/frontend/src/App.vue @@ -1910,7 +1910,7 @@ onUnmounted(() => { - +

{{ taskComposeTitle }}

diff --git a/frontend/src/CalendarIntegration.test.ts b/frontend/src/CalendarIntegration.test.ts index f7e54bf..fcd8b17 100644 --- a/frontend/src/CalendarIntegration.test.ts +++ b/frontend/src/CalendarIntegration.test.ts @@ -2,7 +2,7 @@ import { readFileSync } from 'node:fs' import { describe,expect,it } from 'vitest' const app=readFileSync('src/App.vue','utf8');const utils=readFileSync('src/lib/mvp-utils.ts','utf8');const css=readFileSync('src/calendar.css','utf8') describe('calendar shell integration',()=>{ - it('puts calendar beside the other first-level tools on desktop and mobile',()=>{const nav=app.slice(app.indexOf('',app.indexOf('