@Desktop • Test App triggered by lvndry on ref develop #20139
test-desktop.yml
on: push
Desktop E2E (Windows)
16m 46s
Desktop E2E (Linux)
7m 14s
Desktop E2E (macOS X)
11m 37s
Desktop code checks
8m 9s
Desktop deadcode check
5m 40s
Desktop Unit Tests
8m 13s
Allure Reports Export on Server
4m 51s
report
23s
Annotations
2 errors, 1 warning, and 3 notices
services/swap.spec.ts:129:7 › Swap › Full Swap with Centralised Exchange @smoke:
apps/ledger-live-desktop/tests/specs/services/swap.spec.ts#L200
1) services/swap.spec.ts:129:7 › Swap › Full Swap with Centralised Exchange @smoke › Confirm Exchange
Error: Screenshot comparison failed:
1945 pixels (ratio 0.01 of all image pixels) are different.
Call log:
- expect.soft.toHaveScreenshot(initiate-swap.png) with timeout 10000ms
- verifying given screenshot expectation
- waiting for locator('data-test-id=drawer-content')
- locator resolved to <div direction="left" class="sc-hCgVqe bNwzOw" data-t…>…</div>
- taking element screenshot
- disabled all CSS animations
- waiting for element to be visible and stable
- element is visible and stable
- 2411 pixels (ratio 0.01 of all image pixels) are different.
- waiting 100ms before taking screenshot
- waiting for locator('data-test-id=drawer-content')
- locator resolved to <div direction="left" class="sc-hCgVqe bNwzOw" data-t…>…</div>
- taking element screenshot
- disabled all CSS animations
- waiting for element to be visible and stable
- element is visible and stable
- captured a stable screenshot
- 1945 pixels (ratio 0.01 of all image pixels) are different.
Expected: /Users/macrunner1/RUNNER/actions-runner-2/_work/ledger-live/ledger-live/apps/ledger-live-desktop/tests/specs/services/swap.spec.ts-snapshots/initiate-swap-darwin.png
Received: /Users/macrunner1/RUNNER/actions-runner-2/_work/ledger-live/ledger-live/apps/ledger-live-desktop/tests/artifacts/test-results/services-swap-Swap-Full-Swap-with-Centralised-Exchange-smoke/initiate-swap-actual.png
Diff: /Users/macrunner1/RUNNER/actions-runner-2/_work/ledger-live/ledger-live/apps/ledger-live-desktop/tests/artifacts/test-results/services-swap-Swap-Full-Swap-with-Centralised-Exchange-smoke/initiate-swap-diff.png
198 | await swapPage.confirmExchange();
199 | await deviceAction.initiateSwap();
> 200 | await expect.soft(drawer.content).toHaveScreenshot("initiate-swap.png", { timeout: 10000 });
| ^
201 | });
202 |
203 | await test.step("Confirm swap with Nano App", async () => {
at /Users/macrunner1/RUNNER/actions-runner-2/_work/ledger-live/ledger-live/apps/ledger-live-desktop/tests/specs/services/swap.spec.ts:200:41
at /Users/macrunner1/RUNNER/actions-runner-2/_work/ledger-live/ledger-live/apps/ledger-live-desktop/tests/specs/services/swap.spec.ts:196:5
|
services\liveapp-sdk.spec.ts:34:5 › Live App SDK methods @smoke:
apps\ledger-live-desktop\tests\specs\services\liveapp-sdk.spec.ts#L110
1) services\liveapp-sdk.spec.ts:34:5 › Live App SDK methods @smoke › Sign bitcoin Transaction - confirmation modal
Error: Timed out 30000ms waiting for expect(received).toBeVisible()
Call log:
- expect.toBeVisible with timeout 30000ms
- waiting for locator('text=0.0000123')
108 | await layout.waitForLoadingSpinnerToHaveDisappeared();
109 | await modal.waitForConfirmationScreenToBeDisplayed();
> 110 | await expect(page.locator("text=0.0000123")).toBeVisible();
| ^
111 | await expect(page.locator("text=0.0000025")).toBeVisible();
112 | // This screenshot is flaky as the loading spinner appears again after this confirm modal, and on slow CI runners the screenshot can take a picture of this instead of the confirm.
113 | // await expect.soft(page).toHaveScreenshot("live-app-sign-transaction-confirm.png");
at C:\actions-runner\_work\ledger-live\ledger-live\apps\ledger-live-desktop\tests\specs\services\liveapp-sdk.spec.ts:110:50
at C:\actions-runner\_work\ledger-live\ledger-live\apps\ledger-live-desktop\tests\specs\services\liveapp-sdk.spec.ts:106:3
|
Allure Reports Export on Server
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/download-artifact@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
🎭 Playwright Run Summary
1 flaky
services/swap.spec.ts:129:7 › Swap › Full Swap with Centralised Exchange @smoke ────────────────
3 skipped
57 passed (6.2m)
|
🎭 Playwright Run Summary
3 skipped
58 passed (3.2m)
|
🎭 Playwright Run Summary
1 flaky
services\liveapp-sdk.spec.ts:34:5 › Live App SDK methods @smoke ────────────────────────────────
3 skipped
57 passed (5.1m)
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
allure-results-linux
Expired
|
942 KB |
|
allure-results-macos
Expired
|
1.44 MB |
|
allure-results-windows
Expired
|
2.71 MB |
|
images
Expired
|
384 Bytes |
|
lint
Expired
|
583 KB |
|
playwright-results-windows
Expired
|
61.9 MB |
|
summary.json
Expired
|
1.76 KB |
|