@@ -44,28 +44,16 @@ describe('Drawer Demo Test', () => {
4444 $drawerPanel . should ( 'have.class' , 'pf-m-width-50-on-lg' ) ;
4545 $drawerPanel . should ( 'have.class' , 'pf-m-width-33-on-xl' ) ;
4646 $drawerPanel . should ( 'have.class' , 'pf-m-width-25-on-2xl' ) ;
47- $drawerPanel . should ( 'have.css' , 'flex-basis' , 'max(0% + 24px, min(0% + 300px, 100% + 0px ))' ) ;
47+ $drawerPanel . should ( 'have.css' , 'flex-basis' , 'max(24px, min(300px, 100%))' ) ;
4848 // Medium viewport
4949 cy . viewport ( 800 , 660 ) ;
50- cy . get ( '#basic-drawer .pf-v6-c-drawer__panel' ) . should (
51- 'have.css' ,
52- 'flex-basis' ,
53- 'max(0% + 24px, min(100% + 0px, 100% + 0px))'
54- ) ;
50+ cy . get ( '#basic-drawer .pf-v6-c-drawer__panel' ) . should ( 'have.css' , 'flex-basis' , 'max(24px, min(100%, 100%))' ) ;
5551 // Xl viewport
5652 cy . viewport ( 1200 , 660 ) ;
57- cy . get ( '#basic-drawer .pf-v6-c-drawer__panel' ) . should (
58- 'have.css' ,
59- 'flex-basis' ,
60- 'max(0% + 24px, min(0% + 300px, 100% + 0px))'
61- ) ;
53+ cy . get ( '#basic-drawer .pf-v6-c-drawer__panel' ) . should ( 'have.css' , 'flex-basis' , 'max(24px, min(300px, 100%))' ) ;
6254 // 2Xl viewport
6355 cy . viewport ( 1450 , 660 ) ;
64- cy . get ( '#basic-drawer .pf-v6-c-drawer__panel' ) . should (
65- 'have.css' ,
66- 'flex-basis' ,
67- 'max(0% + 24px, min(0% + 300px, 100% + 0px))'
68- ) ;
56+ cy . get ( '#basic-drawer .pf-v6-c-drawer__panel' ) . should ( 'have.css' , 'flex-basis' , 'max(24px, min(300px, 100%))' ) ;
6957 } ) ;
7058
7159 it ( 'Verify that focus gets sent to drawer' , ( ) => {
0 commit comments