File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
examples/sites/demos/pc/app/calendar-view Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -6,12 +6,12 @@ test('事件', async ({ page }) => {
6
6
const timeInput = page . locator ( '.tiny-calendar-view' ) . locator ( '.tiny-input__inner' )
7
7
const timeBtn = page . getByRole ( 'textbox' , { name : '年 05 月' } )
8
8
const leftYear = page . getByRole ( 'button' , { name : '前一年' } )
9
- const month6 = page . getByText ( '六月 ' )
9
+ const month6 = page . getByText ( '6 月 ' )
10
10
const leftSvg = page . locator ( '.header-left > .tiny-svg' )
11
11
const rightSvg = page . locator ( '.header-right > .tiny-svg' )
12
12
const mode = page . locator ( 'label' ) . nth ( 2 )
13
13
const modalVal = page . getByText ( '模式切换事件:schedule' )
14
- const date = page . getByText ( '30周一' )
14
+ const date = page . getByText ( '30周一' )
15
15
const dateVal = page . locator ( 'div' ) . filter ( { hasText : '点击日期: 2022-5-30;日程事件:[]' } ) . nth ( 1 )
16
16
17
17
await timeBtn . click ( )
You can’t perform that action at this time.
0 commit comments