diff --git a/test/components/ledgerPanelAdvancedPanelTest.js b/test/components/ledgerPanelAdvancedPanelTest.js index f41350441cd..e918720e421 100644 --- a/test/components/ledgerPanelAdvancedPanelTest.js +++ b/test/components/ledgerPanelAdvancedPanelTest.js @@ -44,7 +44,7 @@ function* setupPaymentsTabAndOpenAdvancedSettings (client, tabAlreadyLoaded) { .loadUrl(prefsUrl) .waitForVisible(paymentsTab) .click(paymentsTab) - .waitForVisible(paymentsWelcomePage) + .waitForVisible(paymentsWelcomePage, ledgerAPIWaitTimeout) .waitForVisible(walletSwitch) .click(walletSwitch) .waitForVisible(advancedSettingsButton, ledgerAPIWaitTimeout) @@ -96,7 +96,7 @@ function validateRecoveryFile (recoveryFileContents) { } let recoverWalletFromFile = function * (client) { - yield setupPaymentsTabAndOpenAdvancedSettings(client, true) + yield setupPaymentsTabAndOpenAdvancedSettings(client, false) // open "Recover your wallet" submodal and click "Import recovery keys" yield client @@ -130,7 +130,7 @@ let generateAndSaveRecoveryFile = function (recoveryFilePath, paymentId, passphr return } -describe.skip('Advanced payment panel tests', function () { +describe('Advanced payment panel tests', function () { let context = this Brave.beforeEach(this) diff --git a/test/lib/selectors.js b/test/lib/selectors.js index ddca436fb3c..f2913421ce3 100644 --- a/test/lib/selectors.js +++ b/test/lib/selectors.js @@ -80,8 +80,8 @@ module.exports = { recoverWalletFromFileButton: '[data-l10n-id="recoverFromFile"]', recoveryOverlayOkButton: '.recoveryOverlay [data-l10n-id="ok"]', saveWalletFile: '[data-l10n-id="saveRecoveryFile"]', - balanceRecovered: '[data-l10n-id="balanceRecovered"]', - balanceNotRecovered: '.recoveryError', + balanceRecovered: '[data-l10n-id="ledgerRecoverySucceeded"]', + balanceNotRecovered: '[data-l10n-id="ledgerRecoveryFailedTitle"]', modalCloseButton: 'button.close', coinbaseBuyButton: '[data-l10n-id="add"]', paymentQRCode: '[title="Brave wallet QR code"]',