@@ -75,24 +75,24 @@ describe('Grid', () => {
75
75
{ CustomItems }
76
76
</ Grid >
77
77
) ;
78
- cy . findAllByTestId ( 'grid-item' ) . parent ( ) . should ( 'have.css' , 'grid-column' , `span ${ range . defaultSpan } / auto ` ) ;
79
- cy . findByTestId ( 'custom-span' ) . parent ( ) . should ( 'have.css' , 'grid-column' , `span 12 / auto ` ) ;
78
+ cy . findAllByTestId ( 'grid-item' ) . parent ( ) . should ( 'have.css' , 'grid-column' , `span ${ range . defaultSpan } ` ) ;
79
+ cy . findByTestId ( 'custom-span' ) . parent ( ) . should ( 'have.css' , 'grid-column' , `span 12` ) ;
80
80
cy . get ( '[data-component-name="GridIndentSpacer"]' )
81
81
. should ( 'have.length' , '1' )
82
- . should ( 'have.css' , 'grid-column' , ` span 1 / auto` ) ;
82
+ . should ( 'have.css' , 'grid-column' , ' span 1' ) ;
83
83
cy . mount (
84
84
< Grid defaultSpan = "XL4 L3 M2 S1" defaultIndent = "XL4 L5 M6 S7" >
85
85
{ GridContent }
86
86
{ CustomItems }
87
87
</ Grid >
88
88
) ;
89
- cy . findAllByTestId ( 'grid-item' ) . parent ( ) . should ( 'have.css' , 'grid-column' , `span ${ range . customSpan } / auto ` ) ;
90
- cy . findByTestId ( 'custom-span' ) . parent ( ) . should ( 'have.css' , 'grid-column' , `span 12 / auto ` ) ;
89
+ cy . findAllByTestId ( 'grid-item' ) . parent ( ) . should ( 'have.css' , 'grid-column' , `span ${ range . customSpan } ` ) ;
90
+ cy . findByTestId ( 'custom-span' ) . parent ( ) . should ( 'have.css' , 'grid-column' , `span 12` ) ;
91
91
cy . get ( '[data-component-name="GridIndentSpacer"]' ) . each ( ( $el , index , arr ) => {
92
92
if ( arr . length - 1 === index ) {
93
- cy . wrap ( $el ) . should ( 'have.css' , 'grid-column' , ` span 1 / auto` ) ;
93
+ cy . wrap ( $el ) . should ( 'have.css' , 'grid-column' , ' span 1' ) ;
94
94
} else {
95
- cy . wrap ( $el ) . should ( 'have.css' , 'grid-column' , `span ${ range . customIndent } / auto ` ) ;
95
+ cy . wrap ( $el ) . should ( 'have.css' , 'grid-column' , `span ${ range . customIndent } ` ) ;
96
96
}
97
97
} ) ;
98
98
} ) ;
0 commit comments