Skip to content

fix(calendar-view):fix the E2E test #3483

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jun 5, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down
Loading