@Desktop • UI e2e • Test App triggered by valber-ledger on ref develop #746
Annotations
10 errors and 1 notice
Run playwright tests [Linux => xvfb-run]:
apps/ledger-live-desktop/tests/specs/speculos/swap.spec.ts#L432
1) [speculos_tests] › specs/speculos/swap.spec.ts:214:9 › Swap - Accepted (without tx broadcast) › Swap Bitcoin to Ethereum
TypeError: Cannot read properties of undefined (reading 'getByTestId')
430 | await app.layout.goToSwap();
431 | await app.swap.waitForPageNetworkIdleState();
> 432 | await app.swap.selectAssetFrom(electronApp, swap.accountToDebit);
| ^
433 | await app.swapDrawer.selectAccountByName(swap.accountToDebit);
434 | await app.swap.selectAssetTo(electronApp, swap.accountToCredit.currency.name);
435 | await app.swapDrawer.selectAccountByName(swap.accountToCredit);
at performSwapUntilQuoteSelectionStep (/home/runner/_work/ledger-live/ledger-live/apps/ledger-live-desktop/tests/specs/speculos/swap.spec.ts:432:18)
at /home/runner/_work/ledger-live/ledger-live/apps/ledger-live-desktop/tests/specs/speculos/swap.spec.ts:225:9
|
Run playwright tests [Linux => xvfb-run]:
apps/ledger-live-desktop/tests/specs/speculos/swap.spec.ts#L432
1) [speculos_tests] › specs/speculos/swap.spec.ts:214:9 › Swap - Accepted (without tx broadcast) › Swap Bitcoin to Ethereum
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
TypeError: Cannot read properties of undefined (reading 'getByTestId')
430 | await app.layout.goToSwap();
431 | await app.swap.waitForPageNetworkIdleState();
> 432 | await app.swap.selectAssetFrom(electronApp, swap.accountToDebit);
| ^
433 | await app.swapDrawer.selectAccountByName(swap.accountToDebit);
434 | await app.swap.selectAssetTo(electronApp, swap.accountToCredit.currency.name);
435 | await app.swapDrawer.selectAccountByName(swap.accountToCredit);
at performSwapUntilQuoteSelectionStep (/home/runner/_work/ledger-live/ledger-live/apps/ledger-live-desktop/tests/specs/speculos/swap.spec.ts:432:18)
at /home/runner/_work/ledger-live/ledger-live/apps/ledger-live-desktop/tests/specs/speculos/swap.spec.ts:225:9
|
Run playwright tests [Linux => xvfb-run]:
apps/ledger-live-desktop/tests/specs/speculos/swap.spec.ts#L229
1) [speculos_tests] › specs/speculos/swap.spec.ts:214:9 › Swap - Accepted (without tx broadcast) › Swap Bitcoin to Ethereum
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: Timed out 60000ms waiting for expect(locator).toHaveText(expected)
Locator: getByTestId('swap-completed-message')
Expected string: "Transaction broadcast successfully"
Received: <element(s) not found>
Call log:
- expect.toHaveText with timeout 60000ms
- waiting for getByTestId('swap-completed-message')
227 | await performSwapUntilDeviceVerificationStep(app, electronApp, swap);
228 | await app.speculos.verifyAmountsAndAcceptSwap(swap);
> 229 | await app.swapDrawer.verifyExchangeCompletedTextContent(swap.accountToCredit.currency.name);
| ^
230 | },
231 | );
232 | });
at /home/runner/_work/ledger-live/ledger-live/apps/ledger-live-desktop/tests/specs/speculos/swap.spec.ts:229:30
|
Run playwright tests [Linux => xvfb-run]:
apps/ledger-live-desktop/tests/specs/speculos/swap.spec.ts#L229
2) [speculos_tests] › specs/speculos/swap.spec.ts:214:9 › Swap - Accepted (without tx broadcast) › Swap Bitcoin to Tether USD › Verify swap completion: Tether USD
Error: Timed out 60000ms waiting for expect(locator).toHaveText(expected)
Locator: getByTestId('swap-completed-message')
Expected string: "Transaction broadcast successfully"
Received: <element(s) not found>
Call log:
- expect.toHaveText with timeout 60000ms
- waiting for getByTestId('swap-completed-message')
227 | await performSwapUntilDeviceVerificationStep(app, electronApp, swap);
228 | await app.speculos.verifyAmountsAndAcceptSwap(swap);
> 229 | await app.swapDrawer.verifyExchangeCompletedTextContent(swap.accountToCredit.currency.name);
| ^
230 | },
231 | );
232 | });
at /home/runner/_work/ledger-live/ledger-live/apps/ledger-live-desktop/tests/specs/speculos/swap.spec.ts:229:30
|
Run playwright tests [Linux => xvfb-run]:
apps/ledger-live-desktop/tests/specs/speculos/swap.spec.ts#L229
2) [speculos_tests] › specs/speculos/swap.spec.ts:214:9 › Swap - Accepted (without tx broadcast) › Swap Bitcoin to Tether USD › Verify swap completion: Tether USD
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: Timed out 60000ms waiting for expect(locator).toHaveText(expected)
Locator: getByTestId('swap-completed-message')
Expected string: "Transaction broadcast successfully"
Received: <element(s) not found>
Call log:
- expect.toHaveText with timeout 60000ms
- waiting for getByTestId('swap-completed-message')
227 | await performSwapUntilDeviceVerificationStep(app, electronApp, swap);
228 | await app.speculos.verifyAmountsAndAcceptSwap(swap);
> 229 | await app.swapDrawer.verifyExchangeCompletedTextContent(swap.accountToCredit.currency.name);
| ^
230 | },
231 | );
232 | });
at /home/runner/_work/ledger-live/ledger-live/apps/ledger-live-desktop/tests/specs/speculos/swap.spec.ts:229:30
|
Run playwright tests [Linux => xvfb-run]:
apps/ledger-live-desktop/tests/specs/speculos/swap.spec.ts#L229
2) [speculos_tests] › specs/speculos/swap.spec.ts:214:9 › Swap - Accepted (without tx broadcast) › Swap Bitcoin to Tether USD › Verify swap completion: Tether USD
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: Timed out 60000ms waiting for expect(locator).toHaveText(expected)
Locator: getByTestId('swap-completed-message')
Expected string: "Transaction broadcast successfully"
Received: <element(s) not found>
Call log:
- expect.toHaveText with timeout 60000ms
- waiting for getByTestId('swap-completed-message')
227 | await performSwapUntilDeviceVerificationStep(app, electronApp, swap);
228 | await app.speculos.verifyAmountsAndAcceptSwap(swap);
> 229 | await app.swapDrawer.verifyExchangeCompletedTextContent(swap.accountToCredit.currency.name);
| ^
230 | },
231 | );
232 | });
at /home/runner/_work/ledger-live/ledger-live/apps/ledger-live-desktop/tests/specs/speculos/swap.spec.ts:229:30
|
Run playwright tests [Linux => xvfb-run]:
libs/live-network/src/network.ts#L130
3) [speculos_tests] › specs/speculos/send.tx.spec.ts:585:11 › Send flows › Send funds step 1 (Recipient) - negative cases (Button disabled) › Check "Recipient address is the same as the sender address" (from Polkadot 1 to Polkadot 1) - invalid address input error
LedgerAPI5xx: API HTTP 520 https://polkadot-sidecar.coin.ledger.com/pallets/staking/storage/bonded?keys[]=15NKsw4AoSEgBJ5NpHDkAjUmqLRfeSuqZBzZXH9uRg6MWbo3&key1=15NKsw4AoSEgBJ5NpHDkAjUmqLRfeSuqZBzZXH9uRg6MWbo3
at ../../../libs/live-network/src/network.ts:130
128 | return (status || "").toString().startsWith("4")
129 | ? new LedgerAPI4xx(msg, obj)
> 130 | : new LedgerAPI5xx(msg, obj);
| ^
131 | };
132 |
133 | const getErrorMessage = (data: Record<string, any>): string | null | undefined => {
at makeError (/home/runner/_work/ledger-live/ledger-live/libs/live-network/src/network.ts:130:7)
at errorInterceptor (/home/runner/_work/ledger-live/ledger-live/libs/live-network/src/network.ts:88:22)
at Axios.request (/home/runner/_work/ledger-live/ledger-live/node_modules/.pnpm/[email protected]/node_modules/axios/lib/core/Axios.js:40:14)
at Axios.request (/home/runner/_work/ledger-live/ledger-live/node_modules/.pnpm/[email protected]/node_modules/axios/lib/core/Axios.js:45:41)
|
Run playwright tests [Linux => xvfb-run]:
libs/live-network/src/network.ts#L130
3) [speculos_tests] › specs/speculos/send.tx.spec.ts:585:11 › Send flows › Send funds step 1 (Recipient) - negative cases (Button disabled) › Check "Recipient address is the same as the sender address" (from Polkadot 1 to Polkadot 1) - invalid address input error
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
LedgerAPI5xx: API HTTP 520 https://polkadot-sidecar.coin.ledger.com/transaction/material?metadata=scale
at ../../../libs/live-network/src/network.ts:130
128 | return (status || "").toString().startsWith("4")
129 | ? new LedgerAPI4xx(msg, obj)
> 130 | : new LedgerAPI5xx(msg, obj);
| ^
131 | };
132 |
133 | const getErrorMessage = (data: Record<string, any>): string | null | undefined => {
at makeError (/home/runner/_work/ledger-live/ledger-live/libs/live-network/src/network.ts:130:7)
at errorInterceptor (/home/runner/_work/ledger-live/ledger-live/libs/live-network/src/network.ts:88:22)
at Axios.request (/home/runner/_work/ledger-live/ledger-live/node_modules/.pnpm/[email protected]/node_modules/axios/lib/core/Axios.js:40:14)
at Axios.request (/home/runner/_work/ledger-live/ledger-live/node_modules/.pnpm/[email protected]/node_modules/axios/lib/core/Axios.js:45:41)
|
Run playwright tests [Linux => xvfb-run]:
apps/ledger-live-desktop/tests/specs/speculos/subAccount.spec.ts#L51
4) [speculos_tests] › specs/speculos/subAccount.spec.ts:32:9 › Add subAccount without parent › Add Sub Account without parent (Stellar) - usdc › Navigate to asset USDC
TimeoutError: locator.click: Timeout 120000ms exceeded.
Call log:
- waiting for getByText('Show all')
49 | await app.addAccount.done();
50 | await app.layout.goToPortfolio();
> 51 | await app.portfolio.navigateToAsset(token.account.currency.name);
| ^
52 | await app.account.navigateToToken(token.account);
53 | await app.account.expectLastOperationsVisibility();
54 | await app.account.expectTokenAccount(token.account);
at /home/runner/_work/ledger-live/ledger-live/apps/ledger-live-desktop/tests/specs/speculos/subAccount.spec.ts:51:29
|
Run playwright tests [Linux => xvfb-run]:
apps/ledger-live-desktop/tests/specs/speculos/swap.spec.ts#L229
5) [speculos_tests] › specs/speculos/swap.spec.ts:214:9 › Swap - Accepted (without tx broadcast) › Swap Bitcoin to Solana
Error: Timed out 60000ms waiting for expect(locator).toHaveText(expected)
Locator: getByTestId('swap-completed-message')
Expected string: "Transaction broadcast successfully"
Received: <element(s) not found>
Call log:
- expect.toHaveText with timeout 60000ms
- waiting for getByTestId('swap-completed-message')
227 | await performSwapUntilDeviceVerificationStep(app, electronApp, swap);
228 | await app.speculos.verifyAmountsAndAcceptSwap(swap);
> 229 | await app.swapDrawer.verifyExchangeCompletedTextContent(swap.accountToCredit.currency.name);
| ^
230 | },
231 | );
232 | });
at /home/runner/_work/ledger-live/ledger-live/apps/ledger-live-desktop/tests/specs/speculos/swap.spec.ts:229:30
|
Run playwright tests [Linux => xvfb-run]
2 failed
[speculos_tests] › specs/speculos/swap.spec.ts:214:9 › Swap - Accepted (without tx broadcast) › Swap Bitcoin to Ethereum
[speculos_tests] › specs/speculos/swap.spec.ts:214:9 › Swap - Accepted (without tx broadcast) › Swap Bitcoin to Tether USD
6 flaky
[speculos_tests] › specs/speculos/send.tx.spec.ts:585:11 › Send flows › Send funds step 1 (Recipient) - negative cases (Button disabled) › Check "Recipient address is the same as the sender address" (from Polkadot 1 to Polkadot 1) - invalid address input error
[speculos_tests] › specs/speculos/subAccount.spec.ts:32:9 › Add subAccount without parent › Add Sub Account without parent (Stellar) - usdc
[speculos_tests] › specs/speculos/swap.spec.ts:214:9 › Swap - Accepted (without tx broadcast) › Swap Bitcoin to Solana
[speculos_tests] › specs/speculos/swap.spec.ts:214:9 › Swap - Accepted (without tx broadcast) › Swap Solana to Bitcoin
[speculos_tests] › specs/speculos/swap.spec.ts:368:9 › Swap - with too low amount (throwing UI errors) › Swap too low quote amounts from Bitcoin to Ethereum
[speculos_tests] › specs/speculos/swap.spec.ts:368:9 › Swap - with too low amount (throwing UI errors) › Swap too low quote amounts from Tron to Ethereum
36 passed (16.3m)
|
Loading