File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
react/test/base/tests/e2e/specs/components
vue/test/base/tests/e2e/specs Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -55,7 +55,7 @@ describe('Inputs', () => {
5555 } ) ;
5656
5757 it ( 'typing into input-otp should update ref' , ( ) => {
58- cy . get ( 'ion-input-otp input' ) . eq ( 0 ) . type ( '1234' , { scrollBehavior : false } ) ;
58+ cy . get ( 'ion-input-otp' ) . shadow ( ) . find ( ' input') . eq ( 0 ) . type ( '1234' , { scrollBehavior : false } ) ;
5959
6060 cy . get ( '#input-otp-ref' ) . should ( 'have.text' , '1234' ) ;
6161 } ) ;
Original file line number Diff line number Diff line change @@ -53,7 +53,7 @@ describe('Inputs', () => {
5353 cy . get ( '#input-ref' ) . should ( 'have.text' , 'Hello Input' ) ;
5454 } ) ;
5555 it ( 'typing into input-otp should update ref' , ( ) => {
56- cy . get ( 'ion-input-otp input' ) . eq ( 0 ) . type ( '1234' , { scrollBehavior : false } ) ;
56+ cy . get ( 'ion-input-otp' ) . shadow ( ) . find ( ' input') . eq ( 0 ) . type ( '1234' , { scrollBehavior : false } ) ;
5757
5858 cy . get ( '#input-otp-ref' ) . should ( 'have.text' , '1234' ) ;
5959 } ) ;
You can’t perform that action at this time.
0 commit comments