Skip to content

[QAA] Update Swap tests to always choose valid provider #5700

[QAA] Update Swap tests to always choose valid provider

[QAA] Update Swap tests to always choose valid provider #5700

Triggered via pull request January 6, 2025 13:52
Status Cancelled
Total duration 13m 14s
Artifacts 16

build-and-test-pr.yml

on: pull_request
Turbo Affected  /  Determine Affected
32s
Turbo Affected / Determine Affected
Matrix: Test Mobile E2E / Ledger Live Mobile - Android Detox Tests
Test Desktop  /  Desktop Tests E2E (Ubuntu)
7m 25s
Test Desktop / Desktop Tests E2E (Ubuntu)
Test Mobile E2E  /  LLM - iOS Detox Tests
12m 21s
Test Mobile E2E / LLM - iOS Detox Tests
Matrix: Build Desktop / build-desktop-app
Build Mobile  /  Build LLM | Android
12m 11s
Build Mobile / Build LLM | Android
Build Mobile  /  Build LLM | iOS
12m 19s
Build Mobile / Build LLM | iOS
Build Web Tools  /  Build web-tools
3m 57s
Build Web Tools / Build web-tools
Test Mobile  /  LLM CodeCheck
7m 33s
Test Mobile / LLM CodeCheck
Test Design System  /  Design System Tests
Test Design System / Design System Tests
Test Desktop  /  LLD Code Checks
9m 29s
Test Desktop / LLD Code Checks
Test Desktop  /  Desktop Unit Tests
4m 22s
Test Desktop / Desktop Unit Tests
Test Libraries  /  Test Libraries
3m 46s
Test Libraries / Test Libraries
Test Libraries  /  Codecheck Libraries
4m 42s
Test Libraries / Codecheck Libraries
Test Libraries  /  Test Docs
1m 56s
Test Libraries / Test Docs
Test Mobile E2E  /  Allure Reports Export on Server
0s
Test Mobile E2E / Allure Reports Export on Server
Test Desktop  /  Allure Reports Export on Server
0s
Test Desktop / Allure Reports Export on Server
Matrix: Test Mobile E2E / Upload to Xray
Test Mobile E2E  /  Allure Reports Export on Server
0s
Test Mobile E2E / Allure Reports Export on Server
Build Desktop  /  report
25s
Build Desktop / report
Build Mobile  /  report
0s
Build Mobile / report
Build Web Tools  /  report
0s
Build Web Tools / report
Test CLI  /  report
0s
Test CLI / report
Test Desktop  /  report
26s
Test Desktop / report
Test Libraries  /  report
0s
Test Libraries / report
Test Mobile E2E  /  report-on-slack
0s
Test Mobile E2E / report-on-slack
Fit to window
Zoom out
Zoom in

Annotations

17 errors, 1 warning, and 1 notice
Test Libraries / Codecheck Libraries
@ledgerhq/live-common#unimported: command (/home/runner/work/ledger-live/ledger-live/libs/ledger-live-common) /home/runner/.proto/shims/pnpm run unimported exited (1)
Test Libraries / Codecheck Libraries
Process completed with exit code 1.
Test Desktop / Desktop Tests E2E (Ubuntu)
Testing stopped early after 5 maximum allowed failures.
[mocked_tests] › specs/manager/devicelocalization.spec.ts:13:5 › Manager: apps/ledger-live-desktop/tests/specs/manager/devicelocalization.spec.ts#L38
1) [mocked_tests] › specs/manager/devicelocalization.spec.ts:13:5 › Manager › can install language Error: Screenshot comparison failed: 7642 pixels (ratio 0.02 of all image pixels) are different. Expected: /home/runner/_work/ledger-live/ledger-live/apps/ledger-live-desktop/tests/specs/manager/devicelocalization.spec.ts-snapshots/manager-allow-language-installation-linux.png Received: /home/runner/_work/ledger-live/ledger-live/apps/ledger-live-desktop/tests/artifacts/test-results/manager-devicelocalization-Manager-mocked-tests/manager-allow-language-installation-actual.png Diff: /home/runner/_work/ledger-live/ledger-live/apps/ledger-live-desktop/tests/artifacts/test-results/manager-devicelocalization-Manager-mocked-tests/manager-allow-language-installation-diff.png Call log: - expect.soft.toHaveScreenshot(manager-allow-language-installation.png) with timeout 41000ms - verifying given screenshot expectation - waiting for getByTestId('drawer-content') - locator resolved to <div direction="left" class="sc-dovdUy cgRWWT" data-testid="drawer-content">…</div> - taking element screenshot - disabled all CSS animations - waiting for fonts to load... - fonts loaded - attempting scroll into view action - waiting for element to be stable - 7642 pixels (ratio 0.02 of all image pixels) are different. - waiting 100ms before taking screenshot - waiting for getByTestId('drawer-content') - locator resolved to <div direction="left" class="sc-dovdUy cgRWWT" data-testid="drawer-content">…</div> - taking element screenshot - disabled all CSS animations - waiting for fonts to load... - fonts loaded - attempting scroll into view action - waiting for element to be stable - captured a stable screenshot - 7642 pixels (ratio 0.02 of all image pixels) are different. 36 | await deviceAction.initiateLanguageInstallation(); 37 | await languageInstallation.allowLanguageInstallation.waitFor({ state: "visible" }); > 38 | await expect.soft(drawer.content).toHaveScreenshot("manager-allow-language-installation.png"); | ^ 39 | 40 | await deviceAction.add50ProgressToLanguageInstallation(); 41 | await languageInstallation.installingLanguageProgress.waitFor({ state: "visible" }); at /home/runner/_work/ledger-live/ledger-live/apps/ledger-live-desktop/tests/specs/manager/devicelocalization.spec.ts:38:39 at /home/runner/_work/ledger-live/ledger-live/apps/ledger-live-desktop/tests/specs/manager/devicelocalization.spec.ts:34:3
[mocked_tests] › specs/onboarding/connect-device.spec.ts:19:9 › Onboarding › [nanoX] Onboarding flow already set up: apps/ledger-live-desktop/tests/specs/onboarding/connect-device.spec.ts#L59
2) [mocked_tests] › specs/onboarding/connect-device.spec.ts:19:9 › Onboarding › [nanoX] Onboarding flow already set up › Reach app Error: Screenshot comparison failed: 26815 pixels (ratio 0.04 of all image pixels) are different. Expected: /home/runner/_work/ledger-live/ledger-live/apps/ledger-live-desktop/tests/specs/onboarding/connect-device.spec.ts-snapshots/v3-onboarding-complete-linux.png Received: /home/runner/_work/ledger-live/ledger-live/apps/ledger-live-desktop/tests/artifacts/test-results/onboarding-connect-device--8c0c1-oarding-flow-already-set-up-mocked-tests/v3-onboarding-complete-actual.png Diff: /home/runner/_work/ledger-live/ledger-live/apps/ledger-live-desktop/tests/artifacts/test-results/onboarding-connect-device--8c0c1-oarding-flow-already-set-up-mocked-tests/v3-onboarding-complete-diff.png Call log: - expect.toHaveScreenshot(v3-onboarding-complete.png) with timeout 41000ms - verifying given screenshot expectation - taking page screenshot - disabled all CSS animations - waiting for fonts to load... - fonts loaded - 26815 pixels (ratio 0.04 of all image pixels) are different. - waiting 100ms before taking screenshot - taking page screenshot - disabled all CSS animations - waiting for fonts to load... - fonts loaded - captured a stable screenshot - 26815 pixels (ratio 0.04 of all image pixels) are different. 57 | await test.step("Reach app", async () => { 58 | await onboardingPage.reachApp(); > 59 | await expect(page).toHaveScreenshot("v3-onboarding-complete.png"); | ^ 60 | }); 61 | }); 62 | } at /home/runner/_work/ledger-live/ledger-live/apps/ledger-live-desktop/tests/specs/onboarding/connect-device.spec.ts:59:28 at /home/runner/_work/ledger-live/ledger-live/apps/ledger-live-desktop/tests/specs/onboarding/connect-device.spec.ts:57:7
[mocked_tests] › specs/onboarding/connect-device.spec.ts:19:9 › Onboarding › [nanoS] Onboarding flow already set up: apps/ledger-live-desktop/tests/specs/onboarding/connect-device.spec.ts#L59
3) [mocked_tests] › specs/onboarding/connect-device.spec.ts:19:9 › Onboarding › [nanoS] Onboarding flow already set up › Reach app Error: Screenshot comparison failed: 26815 pixels (ratio 0.04 of all image pixels) are different. Expected: /home/runner/_work/ledger-live/ledger-live/apps/ledger-live-desktop/tests/specs/onboarding/connect-device.spec.ts-snapshots/v3-onboarding-complete-linux.png Received: /home/runner/_work/ledger-live/ledger-live/apps/ledger-live-desktop/tests/artifacts/test-results/onboarding-connect-device--d23bd-oarding-flow-already-set-up-mocked-tests/v3-onboarding-complete-actual.png Diff: /home/runner/_work/ledger-live/ledger-live/apps/ledger-live-desktop/tests/artifacts/test-results/onboarding-connect-device--d23bd-oarding-flow-already-set-up-mocked-tests/v3-onboarding-complete-diff.png Call log: - expect.toHaveScreenshot(v3-onboarding-complete.png) with timeout 41000ms - verifying given screenshot expectation - taking page screenshot - disabled all CSS animations - waiting for fonts to load... - fonts loaded - 26815 pixels (ratio 0.04 of all image pixels) are different. - waiting 100ms before taking screenshot - taking page screenshot - disabled all CSS animations - waiting for fonts to load... - fonts loaded - captured a stable screenshot - 26815 pixels (ratio 0.04 of all image pixels) are different. 57 | await test.step("Reach app", async () => { 58 | await onboardingPage.reachApp(); > 59 | await expect(page).toHaveScreenshot("v3-onboarding-complete.png"); | ^ 60 | }); 61 | }); 62 | } at /home/runner/_work/ledger-live/ledger-live/apps/ledger-live-desktop/tests/specs/onboarding/connect-device.spec.ts:59:28 at /home/runner/_work/ledger-live/ledger-live/apps/ledger-live-desktop/tests/specs/onboarding/connect-device.spec.ts:57:7
[mocked_tests] › specs/onboarding/connect-device.spec.ts:19:9 › Onboarding › [nanoSP] Onboarding flow already set up: apps/ledger-live-desktop/tests/specs/onboarding/connect-device.spec.ts#L59
4) [mocked_tests] › specs/onboarding/connect-device.spec.ts:19:9 › Onboarding › [nanoSP] Onboarding flow already set up › Reach app Error: Screenshot comparison failed: 26815 pixels (ratio 0.04 of all image pixels) are different. Expected: /home/runner/_work/ledger-live/ledger-live/apps/ledger-live-desktop/tests/specs/onboarding/connect-device.spec.ts-snapshots/v3-onboarding-complete-linux.png Received: /home/runner/_work/ledger-live/ledger-live/apps/ledger-live-desktop/tests/artifacts/test-results/onboarding-connect-device--512eb-oarding-flow-already-set-up-mocked-tests/v3-onboarding-complete-actual.png Diff: /home/runner/_work/ledger-live/ledger-live/apps/ledger-live-desktop/tests/artifacts/test-results/onboarding-connect-device--512eb-oarding-flow-already-set-up-mocked-tests/v3-onboarding-complete-diff.png Call log: - expect.toHaveScreenshot(v3-onboarding-complete.png) with timeout 41000ms - verifying given screenshot expectation - taking page screenshot - disabled all CSS animations - waiting for fonts to load... - fonts loaded - 26815 pixels (ratio 0.04 of all image pixels) are different. - waiting 100ms before taking screenshot - taking page screenshot - disabled all CSS animations - waiting for fonts to load... - fonts loaded - captured a stable screenshot - 26815 pixels (ratio 0.04 of all image pixels) are different. 57 | await test.step("Reach app", async () => { 58 | await onboardingPage.reachApp(); > 59 | await expect(page).toHaveScreenshot("v3-onboarding-complete.png"); | ^ 60 | }); 61 | }); 62 | } at /home/runner/_work/ledger-live/ledger-live/apps/ledger-live-desktop/tests/specs/onboarding/connect-device.spec.ts:59:28 at /home/runner/_work/ledger-live/ledger-live/apps/ledger-live-desktop/tests/specs/onboarding/connect-device.spec.ts:57:7
[mocked_tests] › specs/onboarding/restore-device.spec.ts:19:9 › Onboarding › [nanoX] Onboarding flow already set up: apps/ledger-live-desktop/tests/specs/onboarding/restore-device.spec.ts#L104
5) [mocked_tests] › specs/onboarding/restore-device.spec.ts:19:9 › Onboarding › [nanoX] Onboarding flow already set up › Reach app Error: Screenshot comparison failed: 26815 pixels (ratio 0.04 of all image pixels) are different. Expected: /home/runner/_work/ledger-live/ledger-live/apps/ledger-live-desktop/tests/specs/onboarding/restore-device.spec.ts-snapshots/v3-onboarding-complete-linux.png Received: /home/runner/_work/ledger-live/ledger-live/apps/ledger-live-desktop/tests/artifacts/test-results/onboarding-restore-device--677a7-oarding-flow-already-set-up-mocked-tests/v3-onboarding-complete-actual.png Diff: /home/runner/_work/ledger-live/ledger-live/apps/ledger-live-desktop/tests/artifacts/test-results/onboarding-restore-device--677a7-oarding-flow-already-set-up-mocked-tests/v3-onboarding-complete-diff.png Call log: - expect.toHaveScreenshot(v3-onboarding-complete.png) with timeout 41000ms - verifying given screenshot expectation - taking page screenshot - disabled all CSS animations - waiting for fonts to load... - fonts loaded - 26815 pixels (ratio 0.04 of all image pixels) are different. - waiting 100ms before taking screenshot - taking page screenshot - disabled all CSS animations - waiting for fonts to load... - fonts loaded - captured a stable screenshot - 26815 pixels (ratio 0.04 of all image pixels) are different. 102 | await test.step("Reach app", async () => { 103 | await onboardingPage.reachApp(); > 104 | await expect(page).toHaveScreenshot("v3-onboarding-complete.png"); | ^ 105 | }); 106 | }); 107 | } at /home/runner/_work/ledger-live/ledger-live/apps/ledger-live-desktop/tests/specs/onboarding/restore-device.spec.ts:104:28 at /home/runner/_work/ledger-live/ledger-live/apps/ledger-live-desktop/tests/specs/onboarding/restore-device.spec.ts:102:7
Test Desktop / Desktop Tests E2E (Ubuntu)
Process completed with exit code 1.
Test Mobile E2E / Ledger Live Mobile - Android Detox Tests (1, 1)
Canceling since a higher priority waiting request for '[PR] Build and Test-refs/pull/8800/merge' exists
Test Mobile E2E / Ledger Live Mobile - Android Detox Tests (1, 1)
The operation was canceled.
Build Mobile / Build LLM | Android
Canceling since a higher priority waiting request for '[PR] Build and Test-refs/pull/8800/merge' exists
Build Mobile / Build LLM | Android
The operation was canceled.
Test Mobile E2E / LLM - iOS Detox Tests
Canceling since a higher priority waiting request for '[PR] Build and Test-refs/pull/8800/merge' exists
Test Mobile E2E / LLM - iOS Detox Tests
The operation was canceled.
Build Mobile / Build LLM | iOS
Canceling since a higher priority waiting request for '[PR] Build and Test-refs/pull/8800/merge' exists
Build Mobile / Build LLM | iOS
The operation was canceled.
Build Mobile / Build LLM | iOS
Attempt 1 failed. Reason: Child_process exited with error code 1
🎭 Playwright Run Summary
5 failed [mocked_tests] › specs/manager/devicelocalization.spec.ts:13:5 › Manager ─────────────────────── [mocked_tests] › specs/onboarding/connect-device.spec.ts:19:9 › Onboarding › [nanoX] Onboarding flow already set up [mocked_tests] › specs/onboarding/connect-device.spec.ts:19:9 › Onboarding › [nanoS] Onboarding flow already set up [mocked_tests] › specs/onboarding/connect-device.spec.ts:19:9 › Onboarding › [nanoSP] Onboarding flow already set up [mocked_tests] › specs/onboarding/restore-device.spec.ts:19:9 › Onboarding › [nanoX] Onboarding flow already set up 7 interrupted [mocked_tests] › specs/onboarding/restore-device.spec.ts:19:9 › Onboarding › [nanoS] Onboarding flow already set up [mocked_tests] › specs/onboarding/restore-device.spec.ts:19:9 › Onboarding › [nanoSP] Onboarding flow already set up [mocked_tests] › specs/onboarding/setup-device.spec.ts:19:9 › Onboarding › [nanoX] Onboarding flow new device [mocked_tests] › specs/onboarding/setup-device.spec.ts:19:9 › Onboarding › [nanoS] Onboarding flow new device [mocked_tests] › specs/onboarding/setup-device.spec.ts:19:9 › Onboarding › [nanoSP] Onboarding flow new device [mocked_tests] › specs/postOnboarding/post-onboarding.spec.ts:16:5 › PostOnboarding state logic [mocked_tests] › specs/recover/recover.spec.ts:12:7 › Recover @smoke › Restore page with no device 1 skipped 21 did not run 32 passed (4.6m)

Artifacts

Produced during runtime
Name Size
2.94.0-sha.c4fc786942cb5d15a3897e8a7a74b2e4d4039ce4-linux-x86_64.AppImage
181 MB
2.94.0-sha.c4fc786942cb5d15a3897e8a7a74b2e4d4039ce4-mac.dmg
245 MB
2.94.0-sha.c4fc786942cb5d15a3897e8a7a74b2e4d4039ce4-win-x64.exe
142 MB
allure-results-linux
9.38 MB
images
409 Bytes
ios-test-artifacts
7.2 MB
lint-desktop
38 KB
lint-mobile
31.7 KB
linux-js-bundle-metafiles
635 KB
mac-js-bundle-metafiles
635 KB
outputs-codecheck
298 Bytes
outputs-test-libraries
157 Bytes
playwright-results-linux
26.7 MB
summary-build-desktop.json
360 Bytes
summary-test-desktop.json
1.27 KB
win-js-bundle-metafiles
635 KB