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

Aptos/e2e test #8799

Draft
wants to merge 98 commits into
base: develop
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
98 commits
Select commit Hold shift + click to select a range
aad180d
WIP: ledger-live boilerplate
Mar 6, 2023
70304a8
Implement base functionality for aptos
belyokhin Apr 10, 2023
175b5cb
Merge branch 'develop' into merge-aptos-develop
belyokhin May 8, 2023
6484c0d
Add transaction configuration
belyokhin Jun 4, 2023
8ebf037
Merge branch 'develop' into aptos
belyokhin Jun 8, 2023
3c8d971
Fix issues
belyokhin Jun 9, 2023
d6398a2
Update dictionary
belyokhin Jun 20, 2023
43da6b5
Merge branch 'aptos' into merge_aptos_develop
belyokhin Sep 29, 2023
b71bf2b
update `hw-app-aptos` package
belyokhin Oct 3, 2023
2a2117c
Merge branch 'develop' into aptos
belyokhin Oct 29, 2023
ac8ed9d
Rework transaction receiving
belyokhin Nov 18, 2023
1b88abf
Merge branch 'develop' into aptos
belyokhin Nov 18, 2023
0f815c0
Fix dependencies
belyokhin Nov 18, 2023
870ee55
Merge branch 'develop' into aptos
belyokhin Dec 4, 2023
c0476cd
LLD small fixes
belyokhin Dec 5, 2023
365f479
Implement Aptos in LLM
belyokhin Dec 5, 2023
83bb756
Merge branch 'develop' into aptos
belyokhin Dec 27, 2023
bf7246f
Change transaction praparation, update operation signing
belyokhin Jan 12, 2024
8a8668b
Merge branch 'develop' into aptos
belyokhin Jan 12, 2024
9c0f307
Update `pnpm-lock.yaml` after merge with `develop`
belyokhin Jan 12, 2024
561c958
Calculate staked balance; display balance on account page
belyokhin Jan 16, 2024
3e2d8d8
Rename `xpub` field to `publicKey`
belyokhin Jan 16, 2024
926f35a
Merge branch 'develop' into aptos
belyokhin Jan 16, 2024
428493c
Remove unused field
belyokhin Jan 16, 2024
2540728
Fix staked amount
belyokhin Jan 16, 2024
0532097
Fix delegation dictionary
belyokhin Jan 16, 2024
3422bdd
Move `compareAddress` helper from `utils` to `logic`
belyokhin Jan 16, 2024
21e37bf
Rename `delegatedBalance` to `delegatedAmount`
belyokhin Jan 16, 2024
efdf39d
Fix typo in dictionary
belyokhin Jan 16, 2024
a0da2bc
Use mainnet
belyokhin Jan 16, 2024
faeeac4
Revert "Rename `xpub` field to `publicKey`"
belyokhin Jan 17, 2024
2a744ab
Handle the case when account's field `freshAddresses` is empty
belyokhin Jan 17, 2024
df02eb6
Get public key from account id if it can not be retrieved from the de…
belyokhin Jan 17, 2024
2c4c24b
Fix condition with xpub
belyokhin Jan 17, 2024
96a78b7
Implement `getStake` function to calculate stake rewards
belyokhin Jan 17, 2024
576c6c8
Use testnet endpoint if testnet selected
belyokhin Jan 17, 2024
00b2ab0
Change transaction `function`; add value to `type_arguments`
belyokhin Jan 18, 2024
b358627
Fix bug with the `recepient` field
belyokhin Jan 18, 2024
2476e80
Revert "Change transaction `function`; add value to `type_arguments`"
belyokhin Jan 18, 2024
667b529
Remove redundant translations
belyokhin Jan 19, 2024
d10ac5a
Add Aptos to CLI app
belyokhin Jan 19, 2024
51abfed
Add changeset
belyokhin Jan 19, 2024
0b7ebe5
Fix linter and types problems
belyokhin Jan 19, 2024
88294e7
Merge branch 'develop' into feat/aptos
belyokhin Jan 19, 2024
56fd855
Remove redundant dependency
belyokhin Jan 19, 2024
2a2ba68
Merge branch 'develop' into feat/aptos
belyokhin Jan 19, 2024
065354b
Merge branch 'LedgerHQ:develop' into feat/aptos
vldmkr Jan 23, 2024
4408d83
support/fix pnpm-lock.yaml after merge conflict
belyokhin Jan 24, 2024
57bfc8b
Merge branch 'develop' into feat/aptos
belyokhin Jan 24, 2024
3c25ea6
support(aptos): update pnpm-lock.yaml after merge conflict
belyokhin Jan 24, 2024
ffb8a92
feat(aptos): update transfer function
belyokhin Jan 24, 2024
bc26e23
Merge branch 'develop' into feat/integrate-aptos
hedi-edelbloute Nov 19, 2024
b96f07f
fix rebase issues
hedi-edelbloute Nov 19, 2024
5485226
fix remaining getAccountUnit imports
hedi-edelbloute Nov 19, 2024
0a58543
Merge branch 'develop' into feat/integrate-aptos
hedi-edelbloute Nov 21, 2024
d95527a
hw-app-aptos.js moved to lib/ledgerjs/packages/hw-app-aptos. Test fil…
joaoccmartins Nov 28, 2024
30369fe
Repurposed README.md from algorand. removed some unused dependencies …
joaoccmartins Nov 28, 2024
58995bc
Small cosmetic changes.
joaoccmartins Nov 28, 2024
b3a655f
Managed to make tests work.
joaoccmartins Nov 28, 2024
d9a13cf
Aptos fixing: History isn't full (#8512)
may01 Nov 29, 2024
0323377
fix(aptos): amount balance (#8462)
joaoccmartins Nov 29, 2024
b575976
feat(aptos): add coin feature flag (#8498)
jccguimaraes Nov 29, 2024
0eeef98
Removing fees from LLD
joaoccmartins Dec 3, 2024
c217cbb
Feedback from PR.
joaoccmartins Dec 4, 2024
8c509dc
Removed the custom fees from Ledger Live Mobile.
joaoccmartins Dec 5, 2024
92ce219
Removed a few files that are not needed after the custom fees removal.
joaoccmartins Dec 5, 2024
39fdfef
Merge pull request #8572 from LedgerHQ/aptos/move-hw-app-aptos
joaoccmartins Dec 5, 2024
189511b
fix(aptos): remove inexistent dependency (#8644)
semeano Dec 9, 2024
004ecb2
Removing unused imports.
joaoccmartins Dec 10, 2024
6653789
Merge pull request #8619 from LedgerHQ/aptos/remove-fees
joaoccmartins Dec 11, 2024
fd0af99
Feat/live 15120 aptos bst fix fees visibility for unparsed transactio…
may01 Dec 11, 2024
c70a5ec
feat(aptos): update aptos package (#8661)
semeano Dec 12, 2024
180a3f3
[QAA] adding Aptos send test (#8450)
VicAlbr Dec 12, 2024
509c274
Fix transaction parsing, after removing sender form aptos input argum…
may01 Dec 13, 2024
8673ad4
fix(aptos): add amount validation (#8481)
jccguimaraes Dec 13, 2024
35de23a
test(aptos): Unit tests for Aptos API (#8693)
semeano Dec 16, 2024
b60be46
Added a test file for the LedgerAccount based on Jest.
joaoccmartins Dec 17, 2024
d356913
Feat/live 15457 aptos send receive verify get max send balance logic …
may01 Dec 19, 2024
00dba47
Merge pull request #8716 from LedgerHQ/aptos/ledger-account-test
joaoccmartins Dec 19, 2024
fcbfca2
Merge branch 'develop' into feat/integrate-aptos
jccguimaraes Dec 19, 2024
8d5fe03
fix: merge conflicts
semeano Dec 20, 2024
698c42f
chore: update dependencies
semeano Dec 20, 2024
56302fb
Removed additional settings from Ledger Live Desktop.
joaoccmartins Dec 20, 2024
14b1222
Merge pull request #8747 from LedgerHQ/apptos/remove-additional-setti…
joaoccmartins Dec 26, 2024
ef4242c
Merge branch 'develop' into feat/integrate-aptos
hedi-edelbloute Dec 26, 2024
5d96801
fix merge issues
hedi-edelbloute Dec 26, 2024
25061bb
feat: add aptos bot tests (#8598)
jccguimaraes Dec 30, 2024
f664909
feat(aptos): update node and indexer endpoints (#8773)
semeano Dec 30, 2024
d4caafe
test(aptos): bridge integration tests (#8721)
semeano Dec 30, 2024
e9a6561
Feat/live 15540 aptos send receive fix when send max is toggled on th…
may01 Dec 30, 2024
089a7da
Feat/live 15542 aptos send receive fix send funds simulation failed w…
may01 Dec 31, 2024
2d897b1
Update transaction expiration ts (#8780)
may01 Dec 31, 2024
8aee213
Feat/hot fix tx expiration (#8791)
may01 Jan 2, 2025
3f89502
test(aptos): improve unit tests (#8784)
jccguimaraes Jan 3, 2025
89aea3a
test(aptos): index api (#8778)
semeano Jan 3, 2025
37d0efd
test(aptos): improve unit tests (#8792)
jccguimaraes Jan 3, 2025
b68b502
fix: only e2e test APTOS
qperrot Jan 3, 2025
273261a
fix: move only
qperrot Jan 3, 2025
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
10 changes: 10 additions & 0 deletions .changeset/lucky-toes-guess.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
---
"@ledgerhq/live-cli": minor
"ledger-live-desktop": minor
"live-mobile": minor
"@ledgerhq/live-common": minor
"@ledgerhq/cryptoassets": minor
"@ledgerhq/errors": minor
---

Support for Aptos blockchain
2 changes: 2 additions & 0 deletions apps/cli/src/live-common-setup-base.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@ import { WALLET_API_VERSION } from "@ledgerhq/live-common/wallet-api/constants";
setWalletAPIVersion(WALLET_API_VERSION);

setSupportedCurrencies([
"aptos",
"aptos_testnet",
"bitcoin",
"ethereum",
"bsc",
Expand Down
1 change: 1 addition & 0 deletions apps/ledger-live-desktop/scripts/resolver.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ module.exports = (path, options) => {
"@solana/codecs-numbers",
"@solana/codecs-strings",
"@solana/options",
"@aptos-labs/aptos-client",
]);

if (pkgNamesToTarget.has(pkg.name)) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,8 @@ setSupportedCurrencies([
"songbird",
"flare",
"near",
"aptos",
"aptos_testnet",
"icon",
"icon_berlin_testnet",
"optimism",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ import IconFees from "~/renderer/icons/Fees";
import IconTrash from "~/renderer/icons/Trash";
import IconLink from "~/renderer/icons/LinkIcon";
import IconCoins from "~/renderer/icons/Coins";
import IconCheck from "~/renderer/icons/Check";
import Freeze from "~/renderer/icons/Freeze";
import Unfreeze from "~/renderer/icons/Unfreeze";
import Box from "~/renderer/components/Box";
Expand Down Expand Up @@ -120,6 +121,7 @@ const iconsComponent = {
STAKE: IconDelegate,
UNSTAKE: IconUndelegate,
WITHDRAW_UNSTAKED: IconCoins,
UNKNOWN: IconCheck,
};
class ConfirmationCheck extends PureComponent<{
marketColor: string;
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
import { AptosFamily } from "./types";

const family: AptosFamily = {};

export default family;
14 changes: 14 additions & 0 deletions apps/ledger-live-desktop/src/renderer/families/aptos/types.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
import {
AptosAccount,
Transaction,
TransactionStatus,
} from "@ledgerhq/live-common/families/aptos/types";
import { Operation } from "@ledgerhq/types-live";
import { FieldComponentProps, LLDCoinFamily } from "../types";

export type AptosFamily = LLDCoinFamily<AptosAccount, Transaction, TransactionStatus, Operation>;
export type AptosFieldComponentProps = FieldComponentProps<
AptosAccount,
Transaction,
TransactionStatus
>;
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,8 @@ const listSupportedTokens = () =>
const StepChooseCurrency = ({ currency, setCurrency }: StepProps) => {
const mock = useEnv("MOCK");

const aptos = useFeature("currencyAptos");
const aptosTestnet = useFeature("currencyAptosTestnet");
const axelar = useFeature("currencyAxelar");
const stargaze = useFeature("currencyStargaze");
const secretNetwork = useFeature("currencySecretNetwork");
Expand Down Expand Up @@ -89,6 +91,8 @@ const StepChooseCurrency = ({ currency, setCurrency }: StepProps) => {

const featureFlaggedCurrencies = useMemo(
(): Partial<Record<CryptoCurrencyId, Feature<unknown> | null>> => ({
aptos,
aptos_testnet: aptosTestnet,
axelar,
stargaze,
secret_network: secretNetwork,
Expand Down Expand Up @@ -142,6 +146,8 @@ const StepChooseCurrency = ({ currency, setCurrency }: StepProps) => {
xion,
}),
[
aptos,
aptosTestnet,
axelar,
stargaze,
secretNetwork,
Expand Down
17 changes: 16 additions & 1 deletion apps/ledger-live-desktop/static/i18n/en/app.json
Original file line number Diff line number Diff line change
Expand Up @@ -1842,7 +1842,8 @@
"withdrawUnbondedAmount": "Withdrawn Amount",
"palletMethod": "Method",
"transferAmount": "Transfer Amount",
"validatorsCount": "Validators ({{number}})"
"validatorsCount": "Validators ({{number}})",
"version": "Version"
}
},
"operationList": {
Expand Down Expand Up @@ -2351,6 +2352,10 @@
"ethereumGasPrice": "Gas price",
"ethereumMaxFee": "Max Fee ({{unitName}})",
"ethereumPriorityFee": "Max Priority Fee ({{unitName}})",
"aptosGasFee": "Gas Fee",
"aptosGasLimit": "Gas Limit",
"aptosGasPrice": "Gas Price (OCTAS)",
"aptosSetOptimalGas": "SET OPTIMAL GAS",
"nextBlock": "Next block",
"suggested": "Suggested",
"unitPerByte": "{{unit}} per byte",
Expand Down Expand Up @@ -5815,6 +5820,16 @@
"title": "Account not scanned by full node",
"description": "Please configure your full node to scan for the accounts associated with this device. Your full node must first scan the blockchain for this account before you can add it to your portfolio."
},
"SequenceNumberTooNew": {
"title": "Sequence number too new"
},
"SequenceNumberTooOld": {
"title": "Sequence number too old",
"description": "Sequence number too old"
},
"TransactionExpired": {
"title": "Transaction expired"
},
"SwapRateExpiredError": {
"title": "Rate Expired",
"description": "Exchange rate expired. Please refresh and try again."
Expand Down
2 changes: 1 addition & 1 deletion apps/ledger-live-desktop/tests/page/account.page.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { Account } from "@ledgerhq/live-common/e2e/enum/Account";
import { expect } from "@playwright/test";
import { step } from "tests/misc/reporters/step";
import { AppPage } from "tests/page/abstractClasses";
import { Account } from "@ledgerhq/live-common/e2e/enum/Account";
import invariant from "invariant";

export class AccountPage extends AppPage {
Expand Down
2 changes: 1 addition & 1 deletion apps/ledger-live-desktop/tests/playwright.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ const config: PlaywrightTestConfig = {
ignoreHTTPSErrors: true,
screenshot: process.env.CI ? "only-on-failure" : "off",
},
forbidOnly: !!process.env.CI,
// forbidOnly: !!process.env.CI,
preserveOutput: process.env.CI ? "failures-only" : "always",
maxFailures: process.env.CI ? 5 : undefined,
reportSlowTests: process.env.CI ? { max: 0, threshold: 60000 } : null,
Expand Down
110 changes: 57 additions & 53 deletions apps/ledger-live-desktop/tests/specs/speculos/send.tx.spec.ts
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
import { test } from "../../fixtures/common";
import { Account } from "@ledgerhq/live-common/e2e/enum/Account";
import { Fee } from "@ledgerhq/live-common/e2e/enum/Fee";
import { OperationType } from "@ledgerhq/live-common/e2e/enum/OperationType";
import { Transaction } from "@ledgerhq/live-common/e2e/models/Transaction";
import { addTmsLink, addBugLink } from "tests/utils/allureUtils";
import { getDescription } from "../../utils/customJsonReporter";
import { CLI } from "tests/utils/cliUtils";
import { getEnv } from "@ledgerhq/live-env";
import { addBugLink, addTmsLink } from "tests/utils/allureUtils";
import { CLI } from "tests/utils/cliUtils";
import { test } from "../../fixtures/common";
import { getDescription } from "../../utils/customJsonReporter";

//Warning 🚨: XRP Tests may fail due to API HTTP 429 issue - Jira: LIVE-14237

Expand Down Expand Up @@ -145,54 +145,58 @@
];

const transactionE2E = [
{
transaction: new Transaction(Account.sep_ETH_1, Account.sep_ETH_2, "0.00001", Fee.SLOW),
xrayTicket: "B2CQA-2574",
},
{
transaction: new Transaction(Account.POL_1, Account.POL_2, "0.001", Fee.SLOW),
xrayTicket: "B2CQA-2807",
bugTicket: "BACK-8150",
},
{
transaction: new Transaction(Account.DOGE_1, Account.DOGE_2, "0.01", Fee.SLOW),
xrayTicket: "B2CQA-2573",
},
{
transaction: new Transaction(Account.BCH_1, Account.BCH_2, "0.0001", Fee.SLOW),
xrayTicket: "B2CQA-2808",
},
{
transaction: new Transaction(Account.DOT_1, Account.DOT_2, "0.0001"),
xrayTicket: "B2CQA-2809",
},
{
transaction: new Transaction(Account.ALGO_1, Account.ALGO_2, "0.001"),
xrayTicket: "B2CQA-2810",
},
{
transaction: new Transaction(Account.SOL_1, Account.SOL_2, "0.000001", undefined, "noTag"),
xrayTicket: "B2CQA-2811",
},
{
transaction: new Transaction(Account.TRX_1, Account.TRX_2, "0.01"),
xrayTicket: "B2CQA-2812",
},
{
transaction: new Transaction(Account.XLM_1, Account.XLM_2, "0.0001", undefined, "noTag"),
xrayTicket: "B2CQA-2813",
},
{
transaction: new Transaction(Account.ATOM_1, Account.ATOM_2, "0.0001", undefined, "noTag"),
xrayTicket: "B2CQA-2814",
},
{
transaction: new Transaction(Account.ADA_1, Account.ADA_2, "1", undefined, "noTag"),
xrayTicket: "B2CQA-2815",
},
{
transaction: new Transaction(Account.XRP_1, Account.XRP_2, "0.0001", undefined, "noTag"),
xrayTicket: "B2CQA-2816",
// {
// transaction: new Transaction(Account.sep_ETH_1, Account.sep_ETH_2, "0.00001", Fee.SLOW),
// xrayTicket: "B2CQA-2574",
// },
// {
// transaction: new Transaction(Account.POL_1, Account.POL_2, "0.001", Fee.SLOW),
// xrayTicket: "B2CQA-2807",
// bugTicket: "BACK-8150",
// },
// {
// transaction: new Transaction(Account.DOGE_1, Account.DOGE_2, "0.01", Fee.SLOW),
// xrayTicket: "B2CQA-2573",
// },
// {
// transaction: new Transaction(Account.BCH_1, Account.BCH_2, "0.0001", Fee.SLOW),
// xrayTicket: "B2CQA-2808",
// },
// {
// transaction: new Transaction(Account.DOT_1, Account.DOT_2, "0.0001"),
// xrayTicket: "B2CQA-2809",
// },
// {
// transaction: new Transaction(Account.ALGO_1, Account.ALGO_2, "0.001"),
// xrayTicket: "B2CQA-2810",
// },
// {
// transaction: new Transaction(Account.SOL_1, Account.SOL_2, "0.000001", undefined, "noTag"),
// xrayTicket: "B2CQA-2811",
// },
// {
// transaction: new Transaction(Account.TRX_1, Account.TRX_2, "0.01"),
// xrayTicket: "B2CQA-2812",
// },
// {
// transaction: new Transaction(Account.XLM_1, Account.XLM_2, "0.0001", undefined, "noTag"),
// xrayTicket: "B2CQA-2813",
// },
// {
// transaction: new Transaction(Account.ATOM_1, Account.ATOM_2, "0.0001", undefined, "noTag"),
// xrayTicket: "B2CQA-2814",
// },
// {
// transaction: new Transaction(Account.ADA_1, Account.ADA_2, "1", undefined, "noTag"),
// xrayTicket: "B2CQA-2815",
// },
// {
// transaction: new Transaction(Account.XRP_1, Account.XRP_2, "0.0001", undefined, "noTag"),
// xrayTicket: "B2CQA-2816",
// },
{
transaction: new Transaction(Account.APTOS_1, Account.APTOS_2, "0.0001"),
xrayTicket: "B2CQA-2920",
},
];

Expand Down Expand Up @@ -241,7 +245,7 @@
],
});

test(
test.only(
`Send from ${transaction.transaction.accountToDebit.accountName} to ${transaction.transaction.accountToCredit.accountName}`,
{
annotation: [
Expand Down Expand Up @@ -282,7 +286,7 @@
await app.accounts.navigateToAccountByName(
transaction.transaction.accountToCredit.accountName,
);
await app.account.selectAndClickOnLastOperation(OperationType.RECEIVED);

Check failure on line 289 in apps/ledger-live-desktop/tests/specs/speculos/send.tx.spec.ts

View workflow job for this annotation

GitHub Actions / Desktop Tests E2E (Ubuntu) (1, 3)

[speculos_tests] β€Ί specs/speculos/send.tx.spec.ts:248:12 β€Ί Send flows β€Ί Send from 1 account to another β€Ί Send from Aptos 1 to Aptos 2

1) [speculos_tests] β€Ί specs/speculos/send.tx.spec.ts:248:12 β€Ί Send flows β€Ί Send from 1 account to another β€Ί Send from Aptos 1 to Aptos 2 β€Ί Click on selected (Received) last operation TimeoutError: locator.click: Timeout 120000ms exceeded. Call log: - waiting for locator('[data-testid^=\'operation-row-\']').filter({ hasText: 'Received' }).first() 287 | transaction.transaction.accountToCredit.accountName, 288 | ); > 289 | await app.account.selectAndClickOnLastOperation(OperationType.RECEIVED); | ^ 290 | await app.sendDrawer.expectReceiverInfos(transaction.transaction); 291 | } 292 | }, at /home/runner/_work/ledger-live/ledger-live/apps/ledger-live-desktop/tests/specs/speculos/send.tx.spec.ts:289:31

Check failure on line 289 in apps/ledger-live-desktop/tests/specs/speculos/send.tx.spec.ts

View workflow job for this annotation

GitHub Actions / Desktop Tests E2E (Ubuntu) (1, 3)

[speculos_tests] β€Ί specs/speculos/send.tx.spec.ts:248:12 β€Ί Send flows β€Ί Send from 1 account to another β€Ί Send from Aptos 1 to Aptos 2

1) [speculos_tests] β€Ί specs/speculos/send.tx.spec.ts:248:12 β€Ί Send flows β€Ί Send from 1 account to another β€Ί Send from Aptos 1 to Aptos 2 β€Ί Click on selected (Received) last operation Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── TimeoutError: locator.click: Timeout 120000ms exceeded. Call log: - waiting for locator('[data-testid^=\'operation-row-\']').filter({ hasText: 'Received' }).first() 287 | transaction.transaction.accountToCredit.accountName, 288 | ); > 289 | await app.account.selectAndClickOnLastOperation(OperationType.RECEIVED); | ^ 290 | await app.sendDrawer.expectReceiverInfos(transaction.transaction); 291 | } 292 | }, at /home/runner/_work/ledger-live/ledger-live/apps/ledger-live-desktop/tests/specs/speculos/send.tx.spec.ts:289:31

Check failure on line 289 in apps/ledger-live-desktop/tests/specs/speculos/send.tx.spec.ts

View workflow job for this annotation

GitHub Actions / Desktop Tests E2E (Ubuntu) (1, 3)

[speculos_tests] β€Ί specs/speculos/send.tx.spec.ts:248:12 β€Ί Send flows β€Ί Send from 1 account to another β€Ί Send from Aptos 1 to Aptos 2

1) [speculos_tests] β€Ί specs/speculos/send.tx.spec.ts:248:12 β€Ί Send flows β€Ί Send from 1 account to another β€Ί Send from Aptos 1 to Aptos 2 β€Ί Click on selected (Received) last operation Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── TimeoutError: locator.click: Timeout 120000ms exceeded. Call log: - waiting for locator('[data-testid^=\'operation-row-\']').filter({ hasText: 'Received' }).first() 287 | transaction.transaction.accountToCredit.accountName, 288 | ); > 289 | await app.account.selectAndClickOnLastOperation(OperationType.RECEIVED); | ^ 290 | await app.sendDrawer.expectReceiverInfos(transaction.transaction); 291 | } 292 | }, at /home/runner/_work/ledger-live/ledger-live/apps/ledger-live-desktop/tests/specs/speculos/send.tx.spec.ts:289:31
await app.sendDrawer.expectReceiverInfos(transaction.transaction);
}
},
Expand Down
18 changes: 10 additions & 8 deletions apps/ledger-live-mobile/Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,12 @@ GEM
base64
nkf
rexml
activesupport (7.0.8.4)
activesupport (6.1.7.10)
concurrent-ruby (~> 1.0, >= 1.0.2)
i18n (>= 1.6, < 2)
minitest (>= 5.1)
tzinfo (~> 2.0)
zeitwerk (~> 2.3)
addressable (2.8.7)
public_suffix (>= 2.0.2, < 7.0)
algoliasearch (1.27.5)
Expand Down Expand Up @@ -178,19 +179,19 @@ GEM
google-apis-core (>= 0.11.0, < 2.a)
google-apis-playcustomapp_v1 (0.13.0)
google-apis-core (>= 0.11.0, < 2.a)
google-apis-storage_v1 (0.31.0)
google-apis-storage_v1 (0.29.0)
google-apis-core (>= 0.11.0, < 2.a)
google-cloud-core (1.7.1)
google-cloud-core (1.6.1)
google-cloud-env (>= 1.0, < 3.a)
google-cloud-errors (~> 1.0)
google-cloud-env (1.6.0)
faraday (>= 0.17.3, < 3.0)
google-cloud-errors (1.4.0)
google-cloud-storage (1.47.0)
google-cloud-errors (1.3.1)
google-cloud-storage (1.45.0)
addressable (~> 2.8)
digest-crc (~> 0.4)
google-apis-iamcredentials_v1 (~> 0.1)
google-apis-storage_v1 (~> 0.31.0)
google-apis-storage_v1 (~> 0.29.0)
google-cloud-core (~> 1.6)
googleauth (>= 0.16.2, < 2.a)
mini_mime (~> 1.0)
Expand Down Expand Up @@ -239,7 +240,7 @@ GEM
rubyzip (2.3.2)
security (0.1.5)
semver2 (3.4.2)
signet (0.19.0)
signet (0.18.0)
addressable (~> 2.8)
faraday (>= 0.17.5, < 3.a)
jwt (>= 1.5, < 3.0)
Expand Down Expand Up @@ -274,6 +275,7 @@ GEM
rouge (~> 2.0.7)
xcpretty-travis-formatter (1.0.1)
xcpretty (~> 0.2, >= 0.0.7)
zeitwerk (2.6.18)

PLATFORMS
ruby
Expand All @@ -288,4 +290,4 @@ DEPENDENCIES
semver2 (~> 3.4, >= 3.4.2)

BUNDLED WITH
2.5.7
2.4.22
1 change: 1 addition & 0 deletions apps/ledger-live-mobile/scripts/resolver.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ module.exports = (path, options) => {
"@solana/codecs-numbers",
"@solana/codecs-strings",
"@solana/options",
"@aptos-labs/aptos-client",
]);

if (pkgNamesToTarget.has(pkg.name)) {
Expand Down
2 changes: 2 additions & 0 deletions apps/ledger-live-mobile/src/live-common-setup.ts
Original file line number Diff line number Diff line change
Expand Up @@ -118,6 +118,8 @@ setSupportedCurrencies([
"casper",
"neon_evm",
"lukso",
"aptos",
"aptos_testnet",
"linea",
"linea_sepolia",
"blast",
Expand Down
Loading
Loading