@@ -557,10 +557,10 @@ describe("Carousel general interaction", () => {
557557 cy . get ( "#firstButton" ) . realClick ( ) ;
558558 cy . realPress ( "End" ) ;
559559 cy . get ( "#testHomeAndEnd" ) . should ( "have.prop" , "_focusedItemIndex" , 9 ) ;
560- cy . get ( "#testHomeAndEnd" ) . should ( "have.prop" , "_currentSlideIndex " , 9 ) ;
560+ cy . get ( "#testHomeAndEnd" ) . should ( "have.prop" , "_currentPageIndex " , 9 ) ;
561561 cy . realPress ( "Home" ) ;
562562 cy . get ( "#testHomeAndEnd" ) . should ( "have.prop" , "_focusedItemIndex" , 0 ) ;
563- cy . get ( "#testHomeAndEnd" ) . should ( "have.prop" , "_currentSlideIndex " , 0 ) ;
563+ cy . get ( "#testHomeAndEnd" ) . should ( "have.prop" , "_currentPageIndex " , 0 ) ;
564564 } ) ;
565565
566566 it ( "'PageUp' and 'PageDown' button press" , ( ) => {
@@ -592,22 +592,22 @@ describe("Carousel general interaction", () => {
592592
593593 cy . get ( "#firstButton" ) . realClick ( ) ;
594594 cy . get ( "#testPageUpDown" ) . should ( "have.prop" , "_focusedItemIndex" , 0 ) ;
595- cy . get ( "#testPageUpDown" ) . should ( "have.prop" , "_currentSlideIndex " , 0 ) ;
595+ cy . get ( "#testPageUpDown" ) . should ( "have.prop" , "_currentPageIndex " , 0 ) ;
596596 cy . realPress ( "PageUp" ) ;
597597 cy . get ( "#testPageUpDown" ) . should ( "have.prop" , "_focusedItemIndex" , 10 ) ;
598- cy . get ( "#testPageUpDown" ) . should ( "have.prop" , "_currentSlideIndex " , 10 ) ;
598+ cy . get ( "#testPageUpDown" ) . should ( "have.prop" , "_currentPageIndex " , 10 ) ;
599599 cy . realPress ( "PageUp" ) ;
600600 cy . get ( "#testPageUpDown" ) . should ( "have.prop" , "_focusedItemIndex" , 20 ) ;
601- cy . get ( "#testPageUpDown" ) . should ( "have.prop" , "_currentSlideIndex " , 19 ) ;
601+ cy . get ( "#testPageUpDown" ) . should ( "have.prop" , "_currentPageIndex " , 19 ) ;
602602 cy . realPress ( "PageUp" ) ;
603603 cy . get ( "#testPageUpDown" ) . should ( "have.prop" , "_focusedItemIndex" , 21 ) ;
604- cy . get ( "#testPageUpDown" ) . should ( "have.prop" , "_currentSlideIndex " , 19 ) ;
604+ cy . get ( "#testPageUpDown" ) . should ( "have.prop" , "_currentPageIndex " , 19 ) ;
605605 cy . realPress ( "PageDown" ) ;
606606 cy . get ( "#testPageUpDown" ) . should ( "have.prop" , "_focusedItemIndex" , 9 ) ;
607- cy . get ( "#testPageUpDown" ) . should ( "have.prop" , "_currentSlideIndex " , 9 ) ;
607+ cy . get ( "#testPageUpDown" ) . should ( "have.prop" , "_currentPageIndex " , 9 ) ;
608608 cy . realPress ( "PageDown" ) ;
609609 cy . get ( "#testPageUpDown" ) . should ( "have.prop" , "_focusedItemIndex" , 0 ) ;
610- cy . get ( "#testPageUpDown" ) . should ( "have.prop" , "_currentSlideIndex " , 0 ) ;
610+ cy . get ( "#testPageUpDown" ) . should ( "have.prop" , "_currentPageIndex " , 0 ) ;
611611 cy . realPress ( "PageDown" ) ;
612612 cy . get ( "#testPageUpDown" ) . should ( "have.prop" , "_focusedItemIndex" , 0 ) ;
613613 } ) ;
0 commit comments