@@ -2,7 +2,7 @@ import { executeComponentTest } from '@/tests/test-component'
22import { getByRole , render , waitFor } from '@/tests/testing-library'
33import { useParams } from 'react-router-dom'
44import { describe , expect , it , vi } from 'vitest'
5- import { GroupPage , blockInvalidRoundMessage , blockNotFoundMessage , groupFailedToLoadMessage } from './group-page'
5+ import { GroupPage , blockInvalidRoundMessage , groupNotFoundMessage , groupFailedToLoadMessage } from './group-page'
66import { indexer } from '@/features/common/data'
77import { HttpError } from '@/tests/errors'
88import { groupResultMother } from '@/tests/object-mother/group-result'
@@ -14,7 +14,7 @@ import { transactionResultMother } from '@/tests/object-mother/transaction-resul
1414import { assetResultMother } from '@/tests/object-mother/asset-result'
1515import { algoAssetResult } from '@/features/assets/data'
1616import { transactionResultsAtom } from '@/features/transactions/data'
17- import { groupVisual , groupVisualGraphLabel , groupVisualTableLabel } from '../components/group-visual -tabs'
17+ import { groupVisual , groupVisualGraphLabel , groupVisualTableLabel } from '../components/group-transactions-view -tabs'
1818import { tableAssertion } from '@/tests/assertions/table-assertion'
1919import { assetResultsAtom } from '@/features/assets/data'
2020
@@ -40,7 +40,7 @@ describe('block-page', () => {
4040 return executeComponentTest (
4141 ( ) => render ( < GroupPage /> ) ,
4242 async ( component ) => {
43- await waitFor ( ( ) => expect ( component . getByText ( blockNotFoundMessage ) ) . toBeTruthy ( ) )
43+ await waitFor ( ( ) => expect ( component . getByText ( groupNotFoundMessage ) ) . toBeTruthy ( ) )
4444 }
4545 )
4646 } )
@@ -117,10 +117,10 @@ describe('block-page', () => {
117117 // This table has 10+ row, we only test the first 2 rows
118118 rows : [
119119 {
120- cells : [ 'INDQXWQ...' , 'AACC...EN4A' , '1201559522' , 'Application Call' ] ,
120+ cells : [ 'INDQXWQ...' , '/oRSr2u...' , ' AACC...EN4A', '1201559522' , 'Application Call' , ' '] ,
121121 } ,
122122 {
123- cells : [ 'Inner 1' , 'AACC...EN4A' , '2PIF...RNMM' , 'Payment' , '2.770045' ] ,
123+ cells : [ 'Inner 1' , 'aWpPwlo...' , ' AACC...EN4A', '2PIF...RNMM' , 'Payment' , '2.770045' ] ,
124124 } ,
125125 ] ,
126126 } )
0 commit comments