diff --git a/src/utils/ledger.js b/src/utils/ledger.js index b9b43c7f46..6a7c233205 100644 --- a/src/utils/ledger.js +++ b/src/utils/ledger.js @@ -8,7 +8,6 @@ import { hwConstants, LEDGER_COMMANDS, loginType as loginTypesConst } from '../c // import signPrefix from '../constants/signPrefix'; import { getLedgerAccountInfo } from './api/ledger'; import { getBufferToHex, getTransactionBytes, calculateTxId } from './rawTransactionWrapper'; -// import store from '../store'; export const LEDGER_MSG = { LEDGER_NO_TRANSPORT_AVAILABLE: i18next.t('Unable to detect the communication layer with your Ledger Nano S'), diff --git a/test/integration/wallet.test.js b/test/integration/wallet.test.js index 1d068a68a7..8f2b6588ca 100644 --- a/test/integration/wallet.test.js +++ b/test/integration/wallet.test.js @@ -250,17 +250,18 @@ describe('@integration: Wallet', () => { step(`Then I should see text ${successMessage} in "result box message" element`, () => helper.haveTextOf('.result-box-message', successMessage)); }); - // describe('Scenario: should allow to send LSK from unlocked account with second passphrase', () => { - // const { secondPassphrase } = accounts['second passphrase account']; - // step('Given I\'m on "wallet" as "second passphrase account"', () => setupStep('second passphrase account')); - // step('And I fill in "1" to "amount" field', () => { helper.fillInputField('1', 'amount'); }); - // step('And I fill in "537318935439898807L" to "recipient" field', () => { helper.fillInputField('537318935439898807L', 'recipient'); }); - // step('And I click "send next button"', () => helper.clickOnElement('button.send-next-button')); - // step('And I fill in second passphrase of "second passphrase account" to "second passphrase" field', () => { helper.fillInputField(secondPassphrase, 'second-passphrase'); }); - // step('When I click "next button"', () => helper.clickOnElement('.second-passphrase-next button')); - // step('When I click "send button"', () => helper.clickOnElement('.send-button button')); - // step(`Then I should see text ${successMessage} in "result box message" element`, () => helper.haveTextOf('.result-box-message', successMessage)); - // }); + // This should be unskipped in issue #1500 + describe.skip('Scenario: should allow to send LSK from unlocked account with second passphrase', () => { + const { secondPassphrase } = accounts['second passphrase account']; + step('Given I\'m on "wallet" as "second passphrase account"', () => setupStep('second passphrase account')); + step('And I fill in "1" to "amount" field', () => { helper.fillInputField('1', 'amount'); }); + step('And I fill in "537318935439898807L" to "recipient" field', () => { helper.fillInputField('537318935439898807L', 'recipient'); }); + step('And I click "send next button"', () => helper.clickOnElement('button.send-next-button')); + step('And I fill in second passphrase of "second passphrase account" to "second passphrase" field', () => { helper.fillInputField(secondPassphrase, 'second-passphrase'); }); + step('When I click "next button"', () => helper.clickOnElement('.second-passphrase-next button')); + step('When I click "send button"', () => helper.clickOnElement('.send-button button')); + step(`Then I should see text ${successMessage} in "result box message" element`, () => helper.haveTextOf('.result-box-message', successMessage)); + }); describe('Scenario: should show account initialisation option if no public key and balance is greater than 0', () => { step('Given I\'m on "wallet" as "genesis" account and need initialization', () => setupStep('genesis', { isLocked: false, withPublicKey: false }));