@@ -53,7 +53,7 @@ describe('account-page', () => {
5353 } )
5454 } )
5555
56- describe ( 'when rendering an account with applications ' , ( ) => {
56+ describe ( 'when rendering an account' , ( ) => {
5757 const accountResult = accountResultMother [ 'mainnet-BIQXAK67KSCKN3EJXT4S3RVXUBFOLZ45IQOBTSOQWOSR4LLULBTD54S5IA' ] ( ) . build ( )
5858 const assetResults = new Map ( [
5959 [ 924268058 , atom ( assetResultMother [ 'mainnet-924268058' ] ( ) . build ( ) ) ] ,
@@ -95,18 +95,15 @@ describe('account-page', () => {
9595 } )
9696 } )
9797
98- describe ( 'when rendering an account with assets' , ( ) => {
99- const accountResult = accountResultMother [ 'mainnet-JY2FRXQP7Q6SYH7QE2HF2XWNE644V6KUH3PYC4SYWPUSEATTDJSNUHMHR4 ' ] ( ) . build ( )
98+ describe ( 'when rendering an account with assets and applications ' , ( ) => {
99+ const accountResult = accountResultMother [ 'mainnet-ORANGESCU7XMR2TFXSFTOHCUHNP6OYEPIKZW3JZANTCDHVQYMGQFYFIDDA ' ] ( ) . build ( )
100100 const assetResults = new Map ( [
101- [ 1205372113 , atom ( accountResult [ 'created-assets' ] ! [ 0 ] ) ] ,
102- [ 1205372555 , atom ( accountResult [ 'created-assets' ] ! [ 1 ] ) ] ,
103- [ 1205372814 , atom ( accountResult [ 'created-assets' ] ! [ 2 ] ) ] ,
104- [ 2254146 , atom ( assetResultMother [ 'mainnet-2254146' ] ( ) . build ( ) ) ] ,
105- [ 2254149 , atom ( assetResultMother [ 'mainnet-2254149' ] ( ) . build ( ) ) ] ,
106- [ 2254150 , atom ( assetResultMother [ 'mainnet-2254150' ] ( ) . build ( ) ) ] ,
107- [ 127745593 , atom ( assetResultMother [ 'mainnet-127745593' ] ( ) . build ( ) ) ] ,
108- [ 127746157 , atom ( assetResultMother [ 'mainnet-127746157' ] ( ) . build ( ) ) ] ,
109- [ 127746786 , atom ( assetResultMother [ 'mainnet-127746786' ] ( ) . build ( ) ) ] ,
101+ [ 1336655079 , atom ( accountResult [ 'created-assets' ] ! [ 0 ] ) ] ,
102+ [ 1284444444 , atom ( assetResultMother [ 'mainnet-1284444444' ] ( ) . build ( ) ) ] ,
103+ [ 1162292622 , atom ( assetResultMother [ 'mainnet-1162292622' ] ( ) . build ( ) ) ] ,
104+ [ 1294765516 , atom ( assetResultMother [ 'mainnet-1294765516' ] ( ) . build ( ) ) ] ,
105+ [ 1355858325 , atom ( assetResultMother [ 'mainnet-1355858325' ] ( ) . build ( ) ) ] ,
106+ [ 1355898842 , atom ( assetResultMother [ 'mainnet-1355898842' ] ( ) . build ( ) ) ] ,
110107 ] )
111108
112109 it ( 'should be rendered with the correct data' , ( ) => {
@@ -124,14 +121,14 @@ describe('account-page', () => {
124121 descriptionListAssertion ( {
125122 container : informationCard ,
126123 items : [
127- { term : accountAddressLabel , description : 'JY2FRXQP7Q6SYH7QE2HF2XWNE644V6KUH3PYC4SYWPUSEATTDJSNUHMHR4 ' } ,
128- { term : accountBalanceLabel , description : '12016.438084 ' } ,
129- { term : accountMinBalanceLabel , description : '1 ' } ,
130- { term : accountAssetsHeldLabel , description : '3 ' } ,
131- { term : accountAssetsCreatedLabel , description : '3 ' } ,
132- { term : accountAssetsOptedInLabel , description : '9 ' } ,
133- { term : accountApplicationsCreatedLabel , description : '0 ' } ,
134- { term : accountApplicationsOptedInLabel , description : '0 ' } ,
124+ { term : accountAddressLabel , description : 'ORANGESCU7XMR2TFXSFTOHCUHNP6OYEPIKZW3JZANTCDHVQYMGQFYFIDDA ' } ,
125+ { term : accountBalanceLabel , description : '123.714752 ' } ,
126+ { term : accountMinBalanceLabel , description : '5.281 ' } ,
127+ { term : accountAssetsHeldLabel , description : '5 ' } ,
128+ { term : accountAssetsCreatedLabel , description : '1 ' } ,
129+ { term : accountAssetsOptedInLabel , description : '6 ' } ,
130+ { term : accountApplicationsCreatedLabel , description : '4 ' } ,
131+ { term : accountApplicationsOptedInLabel , description : '1 ' } ,
135132 ] ,
136133 } )
137134 const activityTabList = component . getByRole ( 'tablist' , { name : accountActivityLabel } )
0 commit comments