Skip to content

Commit

Permalink
fix: 🩹 Reactivating Solana Swap tests
Browse files Browse the repository at this point in the history
  • Loading branch information
VicAlbr committed Dec 12, 2024
1 parent 013e3ac commit c226c27
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 8 deletions.
11 changes: 5 additions & 6 deletions apps/ledger-live-desktop/tests/specs/speculos/swap.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -112,8 +112,7 @@ const swaps = [
),
xrayTicket: "B2CQA-2751",
},
//todo: flaky balance retrieval, reactivate after LIVE-14410
/*{
{
swap: new Swap(
Account.SOL_1,
Account.ETH_1,
Expand Down Expand Up @@ -146,7 +145,7 @@ const swaps = [
),
xrayTicket: "B2CQA-2829",
},
{
/*{
swap: new Swap(
Account.ETH_USDC_1,
Account.ETH_1,
Expand Down Expand Up @@ -331,11 +330,10 @@ const tooLowAmountForQuoteSwaps = [
),
xrayTicket: "B2CQA-2759",
},
//todo: flaky balance, reactivate after LIVE-14410
/*{
{
swap: new Swap(Account.TRX_1, Account.ETH_1, "77", Fee.MEDIUM, Provider.CHANGELLY, Rate.FLOAT),
xrayTicket: "B2CQA-2739",
},*/
},
];

for (const { swap, xrayTicket } of tooLowAmountForQuoteSwaps) {
Expand Down Expand Up @@ -426,6 +424,7 @@ async function performSwapUntilQuoteSelectionStep(
await app.layout.goToAccounts();
await app.accounts.navigateToAccountByName(swap.accountToDebit.accountName);
await app.layout.waitForPageDomContentLoadedState();

await app.layout.waitForAccountsSyncToBeDone();
await app.swap.waitForPageNetworkIdleState();
await app.layout.goToSwap();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19770,7 +19770,7 @@
"currencyId": "solana",
"lastSyncDate": "2024-08-01T09:07:02.214Z",
"balance": "20000000",
"spendableBalance": "19109120",
"spendableBalance": "11119109120",
"balanceHistoryCache": {
"HOUR": {
"balances": [
Expand Down Expand Up @@ -20288,7 +20288,7 @@
"currencyId": "tron",
"lastSyncDate": "2024-08-01T09:06:57.118Z",
"balance": "1719000",
"spendableBalance": "1719000",
"spendableBalance": "11719000",
"balanceHistoryCache": {
"HOUR": {
"balances": [
Expand Down

0 comments on commit c226c27

Please sign in to comment.