@Desktop • Test App triggered by sshmaxime on ref bugfix/LIVE-9593 #21195
test-desktop.yml
on: workflow_dispatch
Desktop E2E (Windows)
25m 51s
Desktop E2E (Linux)
6m 28s
Desktop E2E (macOS X)
34m 9s
Desktop code checks
6m 53s
Desktop deadcode check
4m 15s
Desktop Unit Tests
6m 44s
Allure Reports Export on Server
0s
report
30s
Annotations
10 errors, 3 warnings, and 3 notices
accounts\account.spec.ts:18:9 › Accounts @smoke › [XRP] Add account:
apps\ledger-live-desktop\tests\models\DeviceAction.ts#L41
1) accounts\account.spec.ts:18:9 › Accounts @smoke › [XRP] Add account › [XRP] Open device app ───
TimeoutError: locator.waitFor: Timeout 30000ms exceeded.
=========================== logs ===========================
waiting for locator('data-test-id=device-action-loader') to be visible
============================================================
at ..\models\DeviceAction.ts:41
39 | });
40 |
> 41 | await this.loader.waitFor({ state: "visible" });
| ^
42 | await this.loader.waitFor({ state: "detached" });
43 | }
44 |
at DeviceAction.openApp (C:\actions-runner\_work\ledger-live\ledger-live\apps\ledger-live-desktop\tests\models\DeviceAction.ts:41:23)
at C:\actions-runner\_work\ledger-live\ledger-live\apps\ledger-live-desktop\tests\specs\accounts\account.spec.ts:39:9
at C:\actions-runner\_work\ledger-live\ledger-live\apps\ledger-live-desktop\tests\specs\accounts\account.spec.ts:38:7
|
services\liveapp-sdk.spec.ts:34:5 › Live App SDK methods @smoke:
apps\ledger-live-desktop\tests\specs\services\liveapp-sdk.spec.ts#L87
2) services\liveapp-sdk.spec.ts:34:5 › Live App SDK methods @smoke › Verify Address - modal ──────
Error: Screenshot comparison failed:
39844 pixels (ratio 0.06 of all image pixels) are different.
Expected: C:\actions-runner\_work\ledger-live\ledger-live\apps\ledger-live-desktop\tests\specs\services\liveapp-sdk.spec.ts-snapshots\live-app-verify-address-win32.png
Received: C:\actions-runner\_work\ledger-live\ledger-live\apps\ledger-live-desktop\tests\artifacts\test-results\services-liveapp-sdk-Live-App-SDK-methods-smoke\live-app-verify-address-actual.png
Diff: C:\actions-runner\_work\ledger-live\ledger-live\apps\ledger-live-desktop\tests\artifacts\test-results\services-liveapp-sdk-Live-App-SDK-methods-smoke\live-app-verify-address-diff.png
Call log:
- page._expectScreenshot with timeout 61000ms
- verifying given screenshot expectation
- taking page screenshot
- disabled all CSS animations
- 39844 pixels (ratio 0.06 of all image pixels) are different.
- waiting 100ms before taking screenshot
- taking page screenshot
- disabled all CSS animations
- captured a stable screenshot
- 39844 pixels (ratio 0.06 of all image pixels) are different.
85 | await liveAppWebview.verifyAddress();
86 | await deviceAction.openApp();
> 87 | await expect.soft(page).toHaveScreenshot("live-app-verify-address.png");
| ^
88 | });
89 |
90 | await test.step("Verify Address - address output", async () => {
at C:\actions-runner\_work\ledger-live\ledger-live\apps\ledger-live-desktop\tests\specs\services\liveapp-sdk.spec.ts:87:29
at C:\actions-runner\_work\ledger-live\ledger-live\apps\ledger-live-desktop\tests\specs\services\liveapp-sdk.spec.ts:84:3
|
services\liveapp-sdk.spec.ts:34:5 › Live App SDK methods @smoke:
apps\ledger-live-desktop\tests\models\LiveAppWebview.ts#L116
2) services\liveapp-sdk.spec.ts:34:5 › Live App SDK methods @smoke › Verify Address - modal ──────
Error: page.evaluate: Target closed
at ..\models\LiveAppWebview.ts:116
114 |
115 | async textIsPresent(textToCheck: string) {
> 116 | const result: boolean = await this.page.evaluate(textToCheck => {
| ^
117 | const webview = document.querySelector("webview");
118 | return (webview as WebviewTag)
119 | .executeJavaScript(
at LiveAppWebview.textIsPresent (C:\actions-runner\_work\ledger-live\ledger-live\apps\ledger-live-desktop\tests\models\LiveAppWebview.ts:116:45)
at predicate (C:\actions-runner\_work\ledger-live\ledger-live\apps\ledger-live-desktop\tests\models\LiveAppWebview.ts:112:31)
at Timeout._onTimeout (C:\actions-runner\_work\ledger-live\ledger-live\apps\ledger-live-desktop\tests\utils\waitFor.ts:14:31)
|
services\wallet-api.spec.ts:191:5 › Wallet API methods @smoke:
apps\ledger-live-desktop\tests\specs\services\wallet-api.spec.ts#L1
3) services\wallet-api.spec.ts:191:5 › Wallet API methods @smoke › transaction.signAndBroadcast ──
Test timeout of 190000ms exceeded.
|
services\wallet-api.spec.ts:191:5 › Wallet API methods @smoke:
apps\ledger-live-desktop\tests\specs\services\wallet-api.spec.ts#L437
3) services\wallet-api.spec.ts:191:5 › Wallet API methods @smoke › transaction.signAndBroadcast ──
Error: expect(received).resolves.toStrictEqual()
Received promise rejected instead of resolved
Rejected to value: [Error: page.evaluate: Target closed]
435 | await deviceAction.silentSign();
436 |
> 437 | await expect(response).resolves.toStrictEqual({
| ^
438 | id,
439 | jsonrpc: "2.0",
440 | result: {
at C:\actions-runner\_work\ledger-live\ledger-live\apps\ledger-live-desktop\tests\specs\services\wallet-api.spec.ts:437:37
at C:\actions-runner\_work\ledger-live\ledger-live\apps\ledger-live-desktop\tests\specs\services\wallet-api.spec.ts:414:3
|
Desktop E2E (macOS X)
you need to resolve your current index first
|
settings/localization.spec.ts:12:5 › Settings:
apps/ledger-live-desktop/tests/specs/settings/localization.spec.ts#L39
1) settings/localization.spec.ts:12:5 › Settings › go to settings -> change language with device in English
Error: Screenshot comparison failed:
19263 pixels (ratio 0.03 of all image pixels) are different.
Expected: /Users/admin/actions-runner/_work/ledger-live/ledger-live/apps/ledger-live-desktop/tests/specs/settings/localization.spec.ts-snapshots/settings-français-with-device-l10n-darwin.png
Received: /Users/admin/actions-runner/_work/ledger-live/ledger-live/apps/ledger-live-desktop/tests/artifacts/test-results/settings-localization-Settings/settings-français-with-device-l10n-actual.png
Diff: /Users/admin/actions-runner/_work/ledger-live/ledger-live/apps/ledger-live-desktop/tests/artifacts/test-results/settings-localization-Settings/settings-français-with-device-l10n-diff.png
Call log:
- page._expectScreenshot with timeout 61000ms
- verifying given screenshot expectation
- taking page screenshot
- disabled all CSS animations
- 19263 pixels (ratio 0.03 of all image pixels) are different.
- waiting 100ms before taking screenshot
- taking page screenshot
- disabled all CSS animations
- captured a stable screenshot
- 19263 pixels (ratio 0.03 of all image pixels) are different.
37 | await page.waitForTimeout(3000);
38 | await settingsPage.changeLanguage("Français", "Español");
> 39 | await expect(page).toHaveScreenshot("settings-français-with-device-l10n.png");
| ^
40 | });
41 |
42 | await test.step("accept and install language change on device", async () => {
at /Users/admin/actions-runner/_work/ledger-live/ledger-live/apps/ledger-live-desktop/tests/specs/settings/localization.spec.ts:39:24
at /Users/admin/actions-runner/_work/ledger-live/ledger-live/apps/ledger-live-desktop/tests/specs/settings/localization.spec.ts:24:3
|
settings/localization.spec.ts:12:5 › Settings:
apps/ledger-live-desktop/tests/specs/settings/localization.spec.ts#L39
1) settings/localization.spec.ts:12:5 › Settings › go to settings -> change language with device in English
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: Screenshot comparison failed:
19263 pixels (ratio 0.03 of all image pixels) are different.
Expected: /Users/admin/actions-runner/_work/ledger-live/ledger-live/apps/ledger-live-desktop/tests/specs/settings/localization.spec.ts-snapshots/settings-français-with-device-l10n-darwin.png
Received: /Users/admin/actions-runner/_work/ledger-live/ledger-live/apps/ledger-live-desktop/tests/artifacts/test-results/settings-localization-Settings-retry1/settings-français-with-device-l10n-actual.png
Diff: /Users/admin/actions-runner/_work/ledger-live/ledger-live/apps/ledger-live-desktop/tests/artifacts/test-results/settings-localization-Settings-retry1/settings-français-with-device-l10n-diff.png
Call log:
- page._expectScreenshot with timeout 61000ms
- verifying given screenshot expectation
- taking page screenshot
- disabled all CSS animations
- 19263 pixels (ratio 0.03 of all image pixels) are different.
- waiting 100ms before taking screenshot
- taking page screenshot
- disabled all CSS animations
- captured a stable screenshot
- 19263 pixels (ratio 0.03 of all image pixels) are different.
37 | await page.waitForTimeout(3000);
38 | await settingsPage.changeLanguage("Français", "Español");
> 39 | await expect(page).toHaveScreenshot("settings-français-with-device-l10n.png");
| ^
40 | });
41 |
42 | await test.step("accept and install language change on device", async () => {
at /Users/admin/actions-runner/_work/ledger-live/ledger-live/apps/ledger-live-desktop/tests/specs/settings/localization.spec.ts:39:24
at /Users/admin/actions-runner/_work/ledger-live/ledger-live/apps/ledger-live-desktop/tests/specs/settings/localization.spec.ts:24:3
|
settings/localization.spec.ts:12:5 › Settings:
apps/ledger-live-desktop/tests/specs/settings/localization.spec.ts#L39
1) settings/localization.spec.ts:12:5 › Settings › go to settings -> change language with device in English
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: Screenshot comparison failed:
19263 pixels (ratio 0.03 of all image pixels) are different.
Expected: /Users/admin/actions-runner/_work/ledger-live/ledger-live/apps/ledger-live-desktop/tests/specs/settings/localization.spec.ts-snapshots/settings-français-with-device-l10n-darwin.png
Received: /Users/admin/actions-runner/_work/ledger-live/ledger-live/apps/ledger-live-desktop/tests/artifacts/test-results/settings-localization-Settings-retry2/settings-français-with-device-l10n-actual.png
Diff: /Users/admin/actions-runner/_work/ledger-live/ledger-live/apps/ledger-live-desktop/tests/artifacts/test-results/settings-localization-Settings-retry2/settings-français-with-device-l10n-diff.png
Call log:
- page._expectScreenshot with timeout 61000ms
- verifying given screenshot expectation
- taking page screenshot
- disabled all CSS animations
- 19263 pixels (ratio 0.03 of all image pixels) are different.
- waiting 100ms before taking screenshot
- taking page screenshot
- disabled all CSS animations
- captured a stable screenshot
- 19263 pixels (ratio 0.03 of all image pixels) are different.
37 | await page.waitForTimeout(3000);
38 | await settingsPage.changeLanguage("Français", "Español");
> 39 | await expect(page).toHaveScreenshot("settings-français-with-device-l10n.png");
| ^
40 | });
41 |
42 | await test.step("accept and install language change on device", async () => {
at /Users/admin/actions-runner/_work/ledger-live/ledger-live/apps/ledger-live-desktop/tests/specs/settings/localization.spec.ts:39:24
at /Users/admin/actions-runner/_work/ledger-live/ledger-live/apps/ledger-live-desktop/tests/specs/settings/localization.spec.ts:24:3
|
Desktop E2E (macOS X)
Process completed with exit code 1.
|
Desktop E2E (Windows)
'v8::ObjectTemplate::SetAccessor': Do signature check in accessor
|
Desktop E2E (Windows)
'<<': result of 32-bit shift implicitly converted to 64 bits (was 64-bit shift intended?)
|
Desktop E2E (macOS X)
Unable to prepare the existing repository. The repository will be recreated instead.
|
🎭 Playwright Run Summary
3 skipped
57 passed (2.6m)
|
🎭 Playwright Run Summary
3 flaky
accounts\account.spec.ts:18:9 › Accounts @smoke › [XRP] Add account ────────────────────────────
services\liveapp-sdk.spec.ts:34:5 › Live App SDK methods @smoke ────────────────────────────────
services\wallet-api.spec.ts:191:5 › Wallet API methods @smoke ──────────────────────────────────
3 skipped
54 passed (9.0m)
|
🎭 Playwright Run Summary
1 failed
settings/localization.spec.ts:12:5 › Settings ──────────────────────────────────────────────────
3 skipped
56 passed (20.0m)
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
allure-results-linux
Expired
|
1.05 MB |
|
allure-results-macos
Expired
|
3.46 MB |
|
allure-results-windows
Expired
|
1.74 MB |
|
images
Expired
|
1.25 KB |
|
lint
Expired
|
585 KB |
|
playwright-results-macos
Expired
|
55.2 MB |
|
summary.json
Expired
|
2.65 KB |
|