From 64402c988e9ce0b5fc2c5fff10975bce3f513901 Mon Sep 17 00:00:00 2001 From: discreted66 <953831480@qq.com> Date: Thu, 5 Jun 2025 10:35:48 -0700 Subject: [PATCH] =?UTF-8?q?fix:=E4=BF=AE=E5=A4=8D=E6=B5=8B=E8=AF=95?= =?UTF-8?q?=E7=94=A8=E4=BE=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../sites/demos/pc/app/calendar-view/calendar-event.spec.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/sites/demos/pc/app/calendar-view/calendar-event.spec.ts b/examples/sites/demos/pc/app/calendar-view/calendar-event.spec.ts index ba4f98357e..fbbf57b96e 100644 --- a/examples/sites/demos/pc/app/calendar-view/calendar-event.spec.ts +++ b/examples/sites/demos/pc/app/calendar-view/calendar-event.spec.ts @@ -6,12 +6,12 @@ test('事件', async ({ page }) => { const timeInput = page.locator('.tiny-calendar-view').locator('.tiny-input__inner') const timeBtn = page.getByRole('textbox', { name: '年 05 月' }) const leftYear = page.getByRole('button', { name: '前一年' }) - const month6 = page.getByText('六月') + const month6 = page.getByText('6 月') const leftSvg = page.locator('.header-left > .tiny-svg') const rightSvg = page.locator('.header-right > .tiny-svg') const mode = page.locator('label').nth(2) const modalVal = page.getByText('模式切换事件:schedule') - const date = page.getByText('30周一') + const date = page.getByText('30周一') const dateVal = page.locator('div').filter({ hasText: '点击日期: 2022-5-30;日程事件:[]' }).nth(1) await timeBtn.click()