Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Turn on PortfolioView #28661

Merged
merged 5 commits into from
Nov 27, 2024
Merged
Show file tree
Hide file tree
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion builds.yml
Original file line number Diff line number Diff line change
Expand Up @@ -285,7 +285,7 @@ env:
# Determines if feature flagged Chain permissions
- CHAIN_PERMISSIONS: ''
# Determines if Portfolio View UI should be shown
- PORTFOLIO_VIEW: ''
- PORTFOLIO_VIEW: 'true'
# Enables use of test gas fee flow to debug gas fee estimation
- TEST_GAS_FEE_FLOWS: false
# Temporary mechanism to enable security alerts API prior to release
Expand Down
1 change: 1 addition & 0 deletions privacy-snapshot.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@
"github.com",
"goerli.infura.io",
"lattice.gridplus.io",
"linea-mainnet.infura.io",
"localhost:8000",
"localhost:8545",
"mainnet.infura.io",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -238,7 +238,11 @@
"redesignedTransactionsEnabled": "boolean",
"tokenSortConfig": "object",
"tokenNetworkFilter": {
"0x539": "boolean"
"0x1": "boolean",
"0x539": "boolean",
"0xaa36a7": "boolean",
"0xe705": "boolean",
"0xe708": "boolean"
},
"shouldShowAggregatedBalancePopover": "boolean"
},
Expand Down Expand Up @@ -323,7 +327,9 @@
"TokenListController": {
"tokenList": "object",
"tokensChainsCache": {
"0x539": "object"
"0x1": "object",
"0x539": "object",
"0xe708": "object"
},
"preventPollingOnNetworkRestart": false
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,11 @@
"redesignedTransactionsEnabled": "boolean",
"tokenSortConfig": "object",
"tokenNetworkFilter": {
"0x539": "boolean"
"0x1": "boolean",
"0x539": "boolean",
"0xaa36a7": "boolean",
"0xe705": "boolean",
"0xe708": "boolean"
},
"shouldShowAggregatedBalancePopover": "boolean"
},
Expand Down Expand Up @@ -177,7 +181,9 @@
"nonRPCGasFeeApisDisabled": "boolean",
"tokenList": "object",
"tokensChainsCache": {
"0x539": "object"
"0x1": "object",
"0x539": "object",
"0xe708": "object"
},
"tokenBalances": "object",
"preventPollingOnNetworkRestart": false,
Expand Down
7 changes: 7 additions & 0 deletions test/e2e/tests/tokens/import-tokens.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,13 @@ describe('Import flow', function () {
'[data-testid="token-list-loading-message"]',
);

await driver.assertElementNotPresent(
'[data-testid="token-list-loading-message"]',
);

await driver.clickElement('[data-testid="sort-by-networks"]');
await driver.clickElement('[data-testid="network-filter-current"]');

const expectedTokenListElementsAreFound =
await driver.elementCountBecomesN('.multichain-token-list-item', 4);
assert.equal(expectedTokenListElementsAreFound, true);
Expand Down
2 changes: 1 addition & 1 deletion test/e2e/tests/tokens/token-details.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ describe('Token Details', function () {

const openTokenDetails = async (driver: Driver) => {
await driver.clickElement('[data-testid="account-overview__asset-tab"]');
const [, tkn] = await driver.findElements(
const [, , tkn] = await driver.findElements(
'[data-testid="multichain-token-list-button"]',
);
await tkn.click();
Expand Down
Loading