@@ -137,11 +137,11 @@ describe('select row', () => {
137
137
} ) ;
138
138
139
139
it ( 'selection props are correct, with filter' , ( ) => {
140
- DashTable . getSelect ( 0 ) . within ( ( ) => cy . get ( 'input' ) . click ( ) ) ;
141
- DashTable . getSelect ( 1 ) . within ( ( ) => cy . get ( 'input' ) . click ( ) ) ;
142
- DashTable . getSelect ( 2 ) . within ( ( ) => cy . get ( 'input' ) . click ( ) ) ;
140
+ DashTable . getSelect ( 0 ) . within ( ( ) => cy . get ( 'input[type=text] ' ) . click ( ) ) ;
141
+ DashTable . getSelect ( 1 ) . within ( ( ) => cy . get ( 'input[type=text] ' ) . click ( ) ) ;
142
+ DashTable . getSelect ( 2 ) . within ( ( ) => cy . get ( 'input[type=text] ' ) . click ( ) ) ;
143
143
144
- cy . get ( 'tr th.column-0.dash-filter input' ) . type ( `is even${ Key . Enter } ` ) ;
144
+ cy . get ( 'tr th.column-0.dash-filter input[type=text] ' ) . type ( `is even${ Key . Enter } ` ) ;
145
145
146
146
// filtered-out data is still selected
147
147
expectArray ( '#selected_rows_container' , [ 0 , 1 , 2 ] ) ;
@@ -157,13 +157,13 @@ describe('select row', () => {
157
157
} ) ;
158
158
159
159
it ( 'selection props are correct, with filter & sort' , ( ) => {
160
- DashTable . getSelect ( 0 ) . within ( ( ) => cy . get ( 'input' ) . click ( ) ) ;
161
- DashTable . getSelect ( 1 ) . within ( ( ) => cy . get ( 'input' ) . click ( ) ) ;
160
+ DashTable . getSelect ( 0 ) . within ( ( ) => cy . get ( 'input[type=text] ' ) . click ( ) ) ;
161
+ DashTable . getSelect ( 1 ) . within ( ( ) => cy . get ( 'input[type=text] ' ) . click ( ) ) ;
162
162
163
163
DashTable . getCell ( 3 , 1 ) . click ( ) ;
164
164
expectCellSelection ( [ 3 ] , [ 3003 ] , [ 1 ] , [ 1 ] ) ;
165
165
166
- cy . get ( 'tr th.column-0.dash-filter input' ) . type ( `is even${ Key . Enter } ` ) ;
166
+ cy . get ( 'tr th.column-0.dash-filter input[type=text] ' ) . type ( `is even${ Key . Enter } ` ) ;
167
167
168
168
expectCellSelection ( [ ] ) ;
169
169
0 commit comments