@@ -227,33 +227,33 @@ describe('<DataTable />', () => {
227227 cy . get ( 'pre' ) . should ( 'not.exist' )
228228 } )
229229
230- it ( 'should display with footer prop as text' , ( ) => {
230+ it ( 'should display with footnote prop as text' , ( ) => {
231231 cy . mount (
232232 < DataTable
233233 title = "Test Table"
234234 config = { config }
235235 data = { [ ] }
236- footer = "This is footer "
236+ footnote = "This is footnote "
237237 />
238238 )
239239
240- cy . get ( 'div' ) . contains ( 'This is footer ' )
240+ cy . get ( 'div' ) . contains ( 'This is footnote ' )
241241 } )
242242
243- it ( 'should display with footer prop as elemenent' , ( ) => {
243+ it ( 'should display with footnote prop as elemenent' , ( ) => {
244244 cy . mount (
245245 < DataTable
246246 title = "Test Table"
247247 config = { config }
248248 data = { [ ] }
249- footer = { < div className = "footer " > This is footer </ div > }
249+ footnote = { < div className = "footnote " > This is footnote </ div > }
250250 />
251251 )
252252
253- cy . get ( '.footer ' ) . contains ( 'This is footer ' ) . should ( 'exist' )
253+ cy . get ( '.footnote ' ) . contains ( 'This is footnote ' ) . should ( 'exist' )
254254 } )
255255
256- it ( 'should display without footer props, with 1 row, pageSize=10' , ( ) => {
256+ it ( 'should display without footnote props, with 1 row, pageSize=10' , ( ) => {
257257 cy . mount (
258258 < DataTable
259259 config = { config }
@@ -266,7 +266,7 @@ describe('<DataTable />', () => {
266266 cy . get ( '[aria-label="Pagination"]' ) . should ( 'is.not.visible' )
267267 } )
268268
269- it ( 'should display without footer , with 10 row, pageSize=10' , ( ) => {
269+ it ( 'should display without footnote , with 10 row, pageSize=10' , ( ) => {
270270 const data = [ ]
271271 for ( let i = 0 ; i < 10 ; i ++ ) {
272272 data . push ( { col1 : '1' , col2 : '2' } )
0 commit comments