diff --git a/test/components/ledgerPanelAdvancedPanelTest.js b/test/components/ledgerPanelAdvancedPanelTest.js index da818ad251f..50be8eab62f 100644 --- a/test/components/ledgerPanelAdvancedPanelTest.js +++ b/test/components/ledgerPanelAdvancedPanelTest.js @@ -25,14 +25,14 @@ let translationsCache = null function setup (client) { return client + .waitForBrowserWindow() + .waitForVisible(urlInput) .translations().then(function (translations) { if (translations && translations.value) { translationsCache = translations.value } return this }) - .waitForBrowserWindow() - .waitForVisible(urlInput) } function * setupPaymentsTabAndOpenAdvancedSettings (client, tabAlreadyLoaded) { @@ -128,7 +128,7 @@ let generateAndSaveRecoveryFile = function (recoveryFilePath, paymentId, passphr fs.writeFileSync(recoveryFilePath, recoveryFileContents) } -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 8948ae57296..294e348e68f 100644 --- a/test/lib/selectors.js +++ b/test/lib/selectors.js @@ -78,10 +78,10 @@ module.exports = { backupWallet: '[data-l10n-id="backupLedger"]', recoverWallet: '[data-l10n-id="recoverLedger"]', recoverWalletFromFileButton: '[data-l10n-id="recoverFromFile"]', - recoveryOverlayOkButton: '.recoveryOverlay [data-l10n-id="ok"]', + recoveryOverlayOkButton: '[data-l10n-id="ok"]', saveWalletFile: '[data-l10n-id="saveRecoveryFile"]', balanceRecovered: '[data-l10n-id="balanceRecovered"]', - balanceNotRecovered: '[data-test-id="recoveryError"]', + balanceNotRecovered: '[data-l10n-id="ledgerRecoveryFailedMessage"]', modalCloseButton: 'button.close', coinbaseBuyButton: '[data-l10n-id="add"]', paymentQRCode: '[title="Brave wallet QR code"]',