@@ -333,13 +333,12 @@ test.serial(
333333 t . is ( getTableRowsResponse . status , 200 ) ;
334334
335335 const getTableRowsRO = JSON . parse ( getTableRowsResponse . text ) ;
336- console . log ( '🚀 ~ withsearch,pagination:page=1,perPage=2andDESCsorting`, ~ getTableRowsRO:' , getTableRowsRO ) ;
337336
338337 t . is ( typeof getTableRowsRO , 'object' ) ;
339338 t . is ( getTableRowsRO . hasOwnProperty ( 'rows' ) , true ) ;
340339 t . is ( getTableRowsRO . hasOwnProperty ( 'primaryColumns' ) , true ) ;
341340 t . is ( getTableRowsRO . hasOwnProperty ( 'pagination' ) , true ) ;
342- t . is ( getTableRowsRO . rows . length , 2 ) ;
341+ t . is ( getTableRowsRO . rows . length , 3 ) ;
343342 t . is ( Object . keys ( getTableRowsRO . rows [ 1 ] ) . length , 5 ) ;
344343
345344 t . is ( getTableRowsRO . rows [ 0 ] [ testTableColumnName ] , testSearchedUserName ) ;
@@ -353,6 +352,8 @@ test.serial(
353352 t . is ( typeof getTableRowsRO . primaryColumns , 'object' ) ;
354353 t . is ( getTableRowsRO . primaryColumns [ 0 ] . hasOwnProperty ( 'column_name' ) , true ) ;
355354 t . is ( getTableRowsRO . primaryColumns [ 0 ] . hasOwnProperty ( 'data_type' ) , true ) ;
355+ t . is ( getTableRowsRO . hasOwnProperty ( 'saved_filters' ) , true ) ;
356+ t . deepEqual ( getTableRowsRO . saved_filters , filters ) ;
356357 } catch ( error ) {
357358 console . error ( error ) ;
358359 t . fail ( ) ;
0 commit comments