This repository has been archived by the owner on Jun 16, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 301
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'develop' of github.com:LedgerHQ/ledger-live-desktop int…
…o LL-7231
- Loading branch information
Showing
2,614 changed files
with
4,930 additions
and
50,585 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,7 +8,7 @@ on: | |
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
runs-on: ubuntu-20.04 | ||
steps: | ||
- name: Cancel Previous Runs | ||
uses: styfle/[email protected] | ||
|
@@ -22,6 +22,8 @@ jobs: | |
node-version: 14.x | ||
- name: install linux dependencies | ||
run: sudo apt-get update && sudo apt-get install libudev-dev libusb-1.0-0-dev | ||
- name: install and switch to GCC 5.4 | ||
run: ./tools/g++-5.4/install.sh | ||
- name: get yarn cache | ||
id: yarn-cache | ||
run: echo "::set-output name=dir::$(yarn cache dir)" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -11,7 +11,7 @@ on: | |
|
||
jobs: | ||
cancel-previous: | ||
runs-on: ubuntu-latest | ||
runs-on: ubuntu-20.04 | ||
steps: | ||
- name: Cancel Previous Runs | ||
run: curl -i -L -X GET 'https://github-actions-live.ledger.tools/api/cancel-previous-run?runId=${{ github.run_id }}&owner=LedgerHQ&repo=ledger-live-desktop&branch=${{ github.event.pull_request.head.ref }}&headSha=${{ github.event.pull_request.head.sha }}' | ||
|
@@ -72,7 +72,7 @@ jobs: | |
path: dist/${{ steps.post-version.outputs.name }}-${{ steps.post-version.outputs.version }}-mac.dmg | ||
|
||
bundle-linux: | ||
runs-on: ubuntu-latest | ||
runs-on: ubuntu-20.04 | ||
needs: cancel-previous | ||
steps: | ||
- uses: ledgerhq/actions/[email protected] | ||
|
@@ -94,6 +94,8 @@ jobs: | |
git config user.name "Team Live" | ||
- name: install linux dependencies | ||
run: sudo apt-get update && sudo apt-get install libudev-dev libusb-1.0-0-dev | ||
- name: install and switch to GCC 5.4 | ||
run: ./tools/g++-5.4/install.sh | ||
- name: get yarn cache | ||
id: yarn-cache | ||
run: echo "::set-output name=dir::$(yarn cache dir)" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
# Ledger Live contributors | ||
|
||
> External teams and individuals who help making Ledger Live better 🚀 | ||
- ElrondTeam: `elrond` coin family integration |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
// @flow | ||
import type { Observable } from "rxjs"; | ||
import { withDevice } from "@ledgerhq/live-common/lib/hw/deviceAccess"; | ||
import getAppAndVersion from "@ledgerhq/live-common/lib/hw/getAppAndVersion"; | ||
import { from } from "rxjs"; | ||
|
||
type Input = { | ||
deviceId: string, | ||
}; | ||
|
||
const cmd = ({ | ||
deviceId, | ||
}: Input): Observable<{ | ||
name: string, | ||
version: string, | ||
flags: number | Buffer, | ||
}> => withDevice(deviceId)(transport => from(getAppAndVersion(transport))); | ||
|
||
export default cmd; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
4e4159b
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
cc @LFBarreto
Lint outputs ✅
Tests outputs ✅
PASS src/generate-cryptoassets-md.test.js
Test Suites: 1 skipped, 1 passed, 1 of 2 total
Tests: 5 skipped, 1 passed, 6 total
Snapshots: 0 total
Time: 2.046 s
Ran all test suites matching /src/i.
Tests outputs ❌
PASS tests/specs/swap.spec.js (90.193 s)
PASS tests/specs/firmwareupdate.spec.js (95.567 s)
PASS tests/specs/global.spec.js (147.303 s)
PASS tests/specs/updater.spec.js (128.13 s)
PASS tests/specs/settings/passwordlock.spec.js (138.214 s)
PASS tests/specs/accounts/subaccount.spec.js (237.378 s)
PASS tests/specs/walletconnect.spec.js (103.583 s)
PASS tests/specs/manager.spec.js (85.055 s)
PASS tests/specs/settings/settings.spec.js (74.022 s)
PASS tests/specs/settings/developermode.spec.js (337.056 s)
PASS tests/specs/accounts/ethereum.spec.js (340.729 s)
PASS tests/specs/accounts/bitcoin.spec.js (315.215 s)
PASS tests/specs/accounts/cosmos.spec.js (318.928 s)
PASS tests/specs/USBTroubleshooting/windows.spec.js (128.564 s)
PASS tests/specs/USBTroubleshooting/linux.spec.js (132.308 s)
PASS tests/specs/USBTroubleshooting/mac.spec.js (132.93 s)
PASS tests/specs/accounts/tezos.spec.js (327.811 s)
PASS tests/specs/accounts/xrp.spec.js (339.831 s)
PASS tests/specs/accounts/global.spec.js (275.795 s)
FAIL tests/specs/onboarding/nanoX.spec.js (314.834 s)
● onboarding nanoX - new nano › selects nanoX
● onboarding nanoX - connect › selects nanoX
● onboarding nanoX - connect › displays warning if initialized already
● onboarding nanoX - connect › goes to connect 1/2
● onboarding nanoX - connect › check nano
● onboarding nanoX - connect › should be on app
● onboarding nanoX - restore › selects nanoX
● onboarding nanoX - restore › goes to restore 1
● onboarding nanoX - restore › shows the recovery seed modal
› 7 snapshots failed.
FAIL tests/specs/onboarding/nanoS.spec.js (292.451 s)
● onboarding nanoS - new nano › selects nanoS
● onboarding nanoS - connect › selects nanoS
● onboarding nanoS - connect › displays warning if initialized already
● onboarding nanoS - connect › goes to connect 1/2
● onboarding nanoS - connect › check nano
● onboarding nanoS - connect › should be on app
● onboarding nanoS - restore › selects nanoS
● onboarding nanoS - restore › goes to restore 1
● onboarding nanoS - restore › shows the recovery seed modal
› 7 snapshots failed.
FAIL tests/specs/onboarding/blue.spec.js (271.631 s)
● onboarding blue - new nano › selects blue
● onboarding blue - connect › selects blue
● onboarding blue - connect › displays warning if initialized already
● onboarding blue - connect › goes to connect 1/2
● onboarding blue - connect › check nano
● onboarding blue - connect › should be on app
● onboarding blue - restore › selects blue
● onboarding blue - restore › goes to restore 1
● onboarding blue - restore › shows the recovery seed modal
› 7 snapshots failed.
Summary of all failing tests
FAIL tests/specs/onboarding/nanoX.spec.js (314.834 s)
● onboarding nanoX - new nano › selects nanoX
● onboarding nanoX - connect › selects nanoX
● onboarding nanoX - connect › displays warning if initialized already
● onboarding nanoX - connect › goes to connect 1/2
● onboarding nanoX - connect › check nano
● onboarding nanoX - connect › should be on app
● onboarding nanoX - restore › selects nanoX
● onboarding nanoX - restore › goes to restore 1
● onboarding nanoX - restore › shows the recovery seed modal
FAIL tests/specs/onboarding/nanoS.spec.js (292.451 s)
● onboarding nanoS - new nano › selects nanoS
● onboarding nanoS - connect › selects nanoS
● onboarding nanoS - connect › displays warning if initialized already
● onboarding nanoS - connect › goes to connect 1/2
● onboarding nanoS - connect › check nano
● onboarding nanoS - connect › should be on app
● onboarding nanoS - restore › selects nanoS
● onboarding nanoS - restore › goes to restore 1
● onboarding nanoS - restore › shows the recovery seed modal
FAIL tests/specs/onboarding/blue.spec.js (271.631 s)
● onboarding blue - new nano › selects blue
● onboarding blue - connect › selects blue
● onboarding blue - connect › displays warning if initialized already
● onboarding blue - connect › goes to connect 1/2
● onboarding blue - connect › check nano
● onboarding blue - connect › should be on app
● onboarding blue - restore › selects blue
● onboarding blue - restore › goes to restore 1
● onboarding blue - restore › shows the recovery seed modal
Snapshot Summary
› 21 snapshots failed from 3 test suites. Inspect your code changes or run
yarn run spectron -u
to update them.Test Suites: 3 failed, 19 passed, 22 total
Tests: 27 failed, 392 passed, 419 total
Snapshots: 21 failed, 347 passed, 368 total
Time: 1233.747 s
Ran all test suites matching /tests/specs/.*.spec.js/i.
error Command failed with exit code 1.
Diff output ❌
onboarding-blue-flow-blue
onboarding-genuine-check-initialized-device-blue
onboarding-genuine-check-initialized-device-nanoS
onboarding-genuine-check-initialized-device-nanoX
onboarding-initialized-seedwarning-blue
onboarding-initialized-seedwarning-nanoS
onboarding-initialized-seedwarning-nanoX
onboarding-nanoS-flow-nanoS
onboarding-nanoX-flow-nanoX
onboarding-restore-seedwarning-blue
onboarding-restore-seedwarning-nanoS
onboarding-restore-seedwarning-nanoX
onboarding-restore-start-blue
onboarding-restore-start-nanoS
onboarding-restore-start-nanoX
Suggested snapshots to update
Screenshots diff with develop⚠️
tests/specs/image_snapshots/USBTroubleshooting-mac-noHelpPopup-snap.png
tests/specs/image_snapshots/__start__appUpdater-snap.png
tests/specs/image_snapshots/__start__global-accounts-snap.png
tests/specs/image_snapshots/__start__global-snap.png
tests/specs/image_snapshots/__start__onboarding-snap.png
tests/specs/image_snapshots/__start__settings-password-lock-snap.png
tests/specs/image_snapshots/__start__swap-snap.png
tests/specs/image_snapshots/__start__usbtroubleshooting-snap.png
tests/specs/image_snapshots/__start__walletconnect-snap.png
tests/specs/image_snapshots/app-updater-error-with-carousel-snap.png
tests/specs/image_snapshots/app-updater-error-without-carousel-snap.png
tests/specs/image_snapshots/app-updater-idle-snap.png
tests/specs/image_snapshots/global-collapse-sidebar-snap.png
tests/specs/image_snapshots/global-discreet-mode-snap.png
tests/specs/image_snapshots/global-dismiss-carousel-snap.png
tests/specs/image_snapshots/global-help-drawer-snap.png
tests/specs/image_snapshots/global-receive-modal-snap.png
tests/specs/image_snapshots/global-send-modal-snap.png
tests/specs/image_snapshots/onboarding-blue-flow-blue-snap.png
tests/specs/image_snapshots/onboarding-check-complete-initialized-device-blue-snap.png
tests/specs/image_snapshots/onboarding-check-complete-initialized-device-nanoS-snap.png
tests/specs/image_snapshots/onboarding-check-complete-initialized-device-nanoX-snap.png
tests/specs/image_snapshots/onboarding-check-complete-quizz-success-cta-blue-snap.png
tests/specs/image_snapshots/onboarding-check-complete-quizz-success-cta-nanoS-snap.png
tests/specs/image_snapshots/onboarding-check-complete-quizz-success-cta-nanoX-snap.png
tests/specs/image_snapshots/onboarding-check-complete-recovery-howto-2-blue-snap.png
tests/specs/image_snapshots/onboarding-check-complete-recovery-howto-2-nanoS-snap.png
tests/specs/image_snapshots/onboarding-check-complete-recovery-howto-2-nanoX-snap.png
tests/specs/image_snapshots/onboarding-genuine-check-initialized-device-blue-snap.png
tests/specs/image_snapshots/onboarding-genuine-check-initialized-device-nanoS-snap.png
tests/specs/image_snapshots/onboarding-genuine-check-initialized-device-nanoX-snap.png
tests/specs/image_snapshots/onboarding-genuine-check-quizz-success-cta-blue-snap.png
tests/specs/image_snapshots/onboarding-genuine-check-quizz-success-cta-nanoS-snap.png
tests/specs/image_snapshots/onboarding-genuine-check-quizz-success-cta-nanoX-snap.png
tests/specs/image_snapshots/onboarding-genuine-check-recovery-howto-2-blue-snap.png
tests/specs/image_snapshots/onboarding-genuine-check-recovery-howto-2-nanoS-snap.png
tests/specs/image_snapshots/onboarding-genuine-check-recovery-howto-2-nanoX-snap.png
tests/specs/image_snapshots/onboarding-nano-getstarted-2-blue-snap.png
tests/specs/image_snapshots/onboarding-nano-getstarted-2-nanoS-snap.png
tests/specs/image_snapshots/onboarding-nano-getstarted-2-nanoX-snap.png
tests/specs/image_snapshots/onboarding-nano-getstarted-blue-snap.png
tests/specs/image_snapshots/onboarding-nano-getstarted-nanoS-snap.png
tests/specs/image_snapshots/onboarding-nano-getstarted-nanoX-snap.png
tests/specs/image_snapshots/onboarding-nano-pincode-2-blue-snap.png
tests/specs/image_snapshots/onboarding-nano-pincode-2-nanoS-snap.png
tests/specs/image_snapshots/onboarding-nano-pincode-2-nanoX-snap.png
tests/specs/image_snapshots/onboarding-nano-pincode-blue-snap.png
tests/specs/image_snapshots/onboarding-nano-pincode-nanoS-snap.png
tests/specs/image_snapshots/onboarding-nano-pincode-nanoX-snap.png
tests/specs/image_snapshots/onboarding-nano-quizz-blue-snap.png
tests/specs/image_snapshots/onboarding-nano-quizz-nanoS-snap.png
tests/specs/image_snapshots/onboarding-nano-quizz-nanoX-snap.png
tests/specs/image_snapshots/onboarding-nano-recoveryphrase-2-blue-snap.png
tests/specs/image_snapshots/onboarding-nano-recoveryphrase-2-nanoS-snap.png
tests/specs/image_snapshots/onboarding-nano-recoveryphrase-2-nanoX-snap.png
tests/specs/image_snapshots/onboarding-nano-recoveryphrase-3-blue-snap.png
tests/specs/image_snapshots/onboarding-nano-recoveryphrase-3-nanoS-snap.png
tests/specs/image_snapshots/onboarding-nano-recoveryphrase-3-nanoX-snap.png
tests/specs/image_snapshots/onboarding-nano-recoveryphrase-4-blue-snap.png
tests/specs/image_snapshots/onboarding-nano-recoveryphrase-4-nanoS-snap.png
tests/specs/image_snapshots/onboarding-nano-recoveryphrase-4-nanoX-snap.png
tests/specs/image_snapshots/onboarding-nano-recoveryphrase-blue-snap.png
tests/specs/image_snapshots/onboarding-nano-recoveryphrase-nanoS-snap.png
tests/specs/image_snapshots/onboarding-nano-recoveryphrase-nanoX-snap.png
tests/specs/image_snapshots/onboarding-nano-recoveryphrase-restore-2-blue-snap.png
tests/specs/image_snapshots/onboarding-nano-recoveryphrase-restore-2-nanoS-snap.png
tests/specs/image_snapshots/onboarding-nano-recoveryphrase-restore-2-nanoX-snap.png
tests/specs/image_snapshots/onboarding-nano-recoveryphrase-restore-3-blue-snap.png
tests/specs/image_snapshots/onboarding-nano-recoveryphrase-restore-3-nanoS-snap.png
tests/specs/image_snapshots/onboarding-nano-recoveryphrase-restore-3-nanoX-snap.png
tests/specs/image_snapshots/onboarding-nano-recoveryphrase-restore-blue-snap.png
tests/specs/image_snapshots/onboarding-nano-recoveryphrase-restore-nanoS-snap.png
tests/specs/image_snapshots/onboarding-nano-recoveryphrase-restore-nanoX-snap.png
tests/specs/image_snapshots/onboarding-nano-restore-pincode-2-blue-snap.png
tests/specs/image_snapshots/onboarding-nano-restore-pincode-2-nanoS-snap.png
tests/specs/image_snapshots/onboarding-nano-restore-pincode-2-nanoX-snap.png
tests/specs/image_snapshots/onboarding-nano-restore-pincode-blue-snap.png
tests/specs/image_snapshots/onboarding-nano-restore-pincode-nanoS-snap.png
tests/specs/image_snapshots/onboarding-nano-restore-pincode-nanoX-snap.png
tests/specs/image_snapshots/onboarding-nanoS-flow-nanoS-snap.png
tests/specs/image_snapshots/onboarding-nanoX-flow-nanoX-snap.png
tests/specs/image_snapshots/onboarding-restore-start-blue-snap.png
tests/specs/image_snapshots/onboarding-restore-start-nanoS-snap.png
tests/specs/image_snapshots/onboarding-restore-start-nanoX-snap.png
tests/specs/image_snapshots/onboarding-restore-step1-blue-snap.png
tests/specs/image_snapshots/onboarding-restore-step1-nanoS-snap.png
tests/specs/image_snapshots/onboarding-restore-step1-nanoX-snap.png
tests/specs/image_snapshots/onboarding-restore-warn-blue-snap.png
tests/specs/image_snapshots/onboarding-restore-warn-nanoS-snap.png
tests/specs/image_snapshots/onboarding-restore-warn-nanoX-snap.png
tests/specs/image_snapshots/onboarding-terms-accepted-blue-snap.png
tests/specs/image_snapshots/onboarding-terms-accepted-nanoS-snap.png
tests/specs/image_snapshots/onboarding-terms-accepted-nanoX-snap.png
tests/specs/image_snapshots/onboarding-terms-blue-snap.png
tests/specs/image_snapshots/onboarding-terms-nanoS-snap.png
tests/specs/image_snapshots/onboarding-terms-nanoX-snap.png
tests/specs/image_snapshots/onboarding-you-are-a-pro-blue-snap.png
tests/specs/image_snapshots/onboarding-you-are-a-pro-nanoS-snap.png
tests/specs/image_snapshots/onboarding-you-are-a-pro-nanoX-snap.png
tests/specs/image_snapshots/swap-access-snap.png
tests/specs/image_snapshots/swap-end-0-snap.png
tests/specs/image_snapshots/swap-end-1-snap.png
tests/specs/image_snapshots/swap-history-modal-snap.png
tests/specs/image_snapshots/swap-kyc-done-snap.png
tests/specs/image_snapshots/swap-providers-snap.png
tests/specs/image_snapshots/swap-rates-snap.png
tests/specs/image_snapshots/swap-summary-step-snap.png
tests/specs/image_snapshots/wc-connect-confirmation-snap.png
tests/specs/image_snapshots/wc-connect-connected-snap.png
tests/specs/image_snapshots/wc-connect-signmessage-triggered-snap.png
tests/specs/image_snapshots/wc-connect-transaction-triggered-snap.png