File tree Expand file tree Collapse file tree 1 file changed +7
-11
lines changed
e2e/testcafe-devextreme/tests/scheduler/common/a11y Expand file tree Collapse file tree 1 file changed +7
-11
lines changed Original file line number Diff line number Diff line change @@ -49,6 +49,12 @@ test('Scheduler recurrence editor repeat end accessible', async (t) => {
4949 . expect ( getAriaLabel ( 1 ) )
5050 . eql ( 'On 22 May 2025' )
5151 . expect ( getAriaLabel ( 2 ) )
52+ . eql ( 'After' )
53+ . typeText ( scheduler . appointmentPopup . repeatUntilElement , '2026' )
54+ . click ( getItem ( 1 ) ) // unfocus input
55+ . expect ( getAriaLabel ( 1 ) )
56+ . eql ( 'On 22 May 2026' )
57+ . expect ( getAriaLabel ( 2 ) )
5258 . eql ( 'After' ) ;
5359 await t
5460 . click ( getItem ( 0 ) )
@@ -61,17 +67,7 @@ test('Scheduler recurrence editor repeat end accessible', async (t) => {
6167 . expect ( getAriaLabel ( 1 ) )
6268 . eql ( 'On' )
6369 . expect ( getAriaLabel ( 2 ) )
64- . eql ( 'After 1 occurrence(s)' ) ;
65- await t
66- . click ( getItem ( 1 ) )
67- . typeText ( scheduler . appointmentPopup . repeatUntilElement , '2026' )
68- . click ( getItem ( 1 ) ) // unfocus input
69- . expect ( getAriaLabel ( 1 ) )
70- . eql ( 'On 22 May 2026' )
71- . expect ( getAriaLabel ( 2 ) )
72- . eql ( 'After' ) ;
73- await t
74- . click ( getItem ( 2 ) )
70+ . eql ( 'After 1 occurrence(s)' )
7571 . typeText ( scheduler . appointmentPopup . repeatCountElement , '3' )
7672 . click ( getItem ( 2 ) ) // unfocus input
7773 . expect ( getAriaLabel ( 1 ) )
You can’t perform that action at this time.
0 commit comments