@@ -53,7 +53,7 @@ describe('simple table interactions', () => {
5353 // verify correct number of pages
5454 cy . getByTestID ( 'pagination-item' )
5555 . last ( )
56- . contains ( '50 ' )
56+ . contains ( '100 ' )
5757
5858 // show raw data view of data with 10 pages
5959 cy . getByTestID ( `selector-list ${ simpleSmall } ` ) . should ( 'be.visible' )
@@ -84,7 +84,7 @@ describe('simple table interactions', () => {
8484 . should ( 'be.visible' )
8585 cy . getByTestID ( 'pagination-item' )
8686 . last ( )
87- . contains ( '15 ' )
87+ . contains ( '10 ' )
8888 } )
8989
9090 it ( 'should render correctly after switching from a dataset with fewer pages to one with more' , ( ) => {
@@ -117,7 +117,7 @@ describe('simple table interactions', () => {
117117 // verify correct number of pages
118118 cy . getByTestID ( 'pagination-item' )
119119 . last ( )
120- . contains ( '5 ' )
120+ . contains ( '10 ' )
121121
122122 // show raw data view of data with 100 pages
123123 cy . getByTestID ( `selector-list ${ simpleLarge } ` ) . should ( 'be.visible' )
@@ -148,7 +148,7 @@ describe('simple table interactions', () => {
148148 . should ( 'be.visible' )
149149 cy . getByTestID ( 'pagination-item' )
150150 . last ( )
151- . contains ( '150 ' )
151+ . contains ( '100 ' )
152152 } )
153153
154154 it ( 'should not duplicate records from the n-1 page on the nth page' , ( ) => {
@@ -181,7 +181,7 @@ describe('simple table interactions', () => {
181181 // verify correct number of pages
182182 cy . getByTestID ( 'pagination-item' )
183183 . last ( )
184- . contains ( '6 ' )
184+ . contains ( '11 ' )
185185 // verify only record 31 is on last page
186186 cy . getByTestID ( 'table-cell 30' ) . should ( 'not.exist' )
187187 cy . getByTestID ( 'table-cell 31' ) . should ( 'be.visible' )
@@ -229,8 +229,8 @@ describe('simple table interactions', () => {
229229 cy . getByTestID ( 'pagination-item' )
230230 . eq ( 3 )
231231 . click ( )
232+ cy . getByTestID ( 'table-cell 26' ) . should ( 'be.visible' )
232233 cy . getByTestID ( 'table-cell 27' ) . should ( 'be.visible' )
233- cy . getByTestID ( 'table-cell 28' ) . should ( 'be.visible' )
234234 cy . getByTestID ( 'pagination-item' )
235235 . last ( )
236236 . click ( )
@@ -239,8 +239,8 @@ describe('simple table interactions', () => {
239239 cy . getByTestID ( 'pagination-item' )
240240 . eq ( 2 )
241241 . click ( )
242- cy . getByTestID ( 'table-cell 25 ' ) . should ( 'be.visible' )
243- cy . getByTestID ( 'table-cell 26 ' ) . should ( 'be.visible' )
242+ cy . getByTestID ( 'table-cell 23 ' ) . should ( 'be.visible' )
243+ cy . getByTestID ( 'table-cell 24 ' ) . should ( 'be.visible' )
244244 cy . getByTestID ( 'pagination-item' )
245245 . last ( )
246246 . click ( )
@@ -249,8 +249,8 @@ describe('simple table interactions', () => {
249249 cy . getByTestID ( 'pagination-item' )
250250 . eq ( 1 )
251251 . click ( )
252- cy . getByTestID ( 'table-cell 23 ' ) . should ( 'be.visible' )
253- cy . getByTestID ( 'table-cell 24 ' ) . should ( 'be.visible' )
252+ cy . getByTestID ( 'table-cell 20 ' ) . should ( 'be.visible' )
253+ cy . getByTestID ( 'table-cell 21 ' ) . should ( 'be.visible' )
254254 cy . getByTestID ( 'pagination-item' )
255255 . last ( )
256256 . click ( )
0 commit comments