import { withLineUp , waitReady , LineUpJSType , LineUp } from './utils/lineup' ; import { aggregateAll } from './utils/ui' ; describe ( 'issue 322' , ( ) => { let lineup ; let lineUpJS ; before ( withLineUp ( ( l , document ) => { lineUpJS = l ; const arr = [ { string : 'Row 0' , number : NaN , cat : 'c1' } , ] ; const builder = lineUpJS . builder ( arr ) . deriveColumns ( ) . deriveColors ( ) ; const ranking = lineUpJS . buildRanking ( ) . aggregate ( ) . allColumns ( ) . groupBy ( 'cat' ) . groupSortBy ( 'cat' , 'desc' ) ; builder . ranking ( ranking ) ; lineup = builder . build ( document . body ) ; waitReady ( lineup ) ; } ) ) ; it ( 'Check for .lu-missing in boxplot renderer' , ( ) => { aggregateAll ( ) ; cy . get ( '.le-tr[data-index="0"] > .lu-renderer-boxplot[data-group="g"]' ) . should ( 'have.class' , 'lu-missing' ) ; } ) ; } ) ;