Skip to content

Commit e4afa32

Browse files
committed
fix: fix e2e tests
1 parent e997d9e commit e4afa32

5 files changed

+11
-4
lines changed

test/e2e/tests/metrics/state-snapshots/errors-after-init-opt-in-background-state.json

+2
Original file line numberDiff line numberDiff line change
@@ -222,6 +222,8 @@
222222
"redesignedConfirmationsEnabled": true,
223223
"redesignedTransactionsEnabled": "boolean",
224224
"tokenSortConfig": "object",
225+
"tokenNetworkFilter": "object",
226+
"activityNetworkFilter": "object",
225227
"shouldShowAggregatedBalancePopover": "boolean"
226228
},
227229
"ipfsGateway": "string",

test/e2e/tests/metrics/state-snapshots/errors-after-init-opt-in-ui-state.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,8 @@
3838
"redesignedConfirmationsEnabled": true,
3939
"redesignedTransactionsEnabled": "boolean",
4040
"tokenSortConfig": "object",
41-
"showMultiRpcModal": "boolean",
41+
"activityNetworkFilter": "object",
42+
"tokenNetworkFilter": "object",
4243
"shouldShowAggregatedBalancePopover": "boolean"
4344
},
4445
"firstTimeFlowType": "import",

test/e2e/tests/metrics/state-snapshots/errors-before-init-opt-in-background-state.json

+2
Original file line numberDiff line numberDiff line change
@@ -134,6 +134,8 @@
134134
"isRedesignedConfirmationsDeveloperEnabled": "boolean",
135135
"showConfirmationAdvancedDetails": false,
136136
"tokenSortConfig": "object",
137+
"activityNetworkFilter": "object",
138+
"tokenNetworkFilter": "object",
137139
"showMultiRpcModal": "boolean",
138140
"shouldShowAggregatedBalancePopover": "boolean"
139141
},

test/e2e/tests/metrics/state-snapshots/errors-before-init-opt-in-ui-state.json

+2
Original file line numberDiff line numberDiff line change
@@ -134,6 +134,8 @@
134134
"isRedesignedConfirmationsDeveloperEnabled": "boolean",
135135
"showConfirmationAdvancedDetails": false,
136136
"tokenSortConfig": "object",
137+
"activityNetworkFilter": "object",
138+
"tokenNetworkFilter": "object",
137139
"showMultiRpcModal": "boolean",
138140
"shouldShowAggregatedBalancePopover": "boolean"
139141
},

ui/components/app/transaction-list-item/transaction-list-item.component.js

+3-3
Original file line numberDiff line numberDiff line change
@@ -368,21 +368,21 @@ function TransactionListItemInner({
368368
variant={TextVariant.bodyLgMedium}
369369
fontWeight={FontWeight.Medium}
370370
color={Color.textDefault}
371-
title={secondaryCurrency}
371+
title={primaryCurrency}
372372
textAlign={TextAlign.Right}
373373
data-testid="transaction-list-item-primary-currency"
374374
className="activity-list-item__primary-currency"
375375
ellipsis
376376
>
377-
{secondaryCurrency}
377+
{primaryCurrency}
378378
</Text>
379379
<Text
380380
variant={TextVariant.bodyMd}
381381
color={Color.textAlternative}
382382
textAlign={TextAlign.Right}
383383
data-testid="transaction-list-item-secondary-currency"
384384
>
385-
{primaryCurrency}
385+
{secondaryCurrency}
386386
</Text>
387387
</>
388388
)

0 commit comments

Comments
 (0)