Skip to content
This repository has been archived by the owner on Dec 11, 2019. It is now read-only.

Fix Advanced Ledger Panel tests (#6911) #7401

Closed
wants to merge 2 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions test/components/ledgerPanelAdvancedPanelTest.js
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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)

Expand Down
4 changes: 2 additions & 2 deletions test/lib/selectors.js
Original file line number Diff line number Diff line change
Expand Up @@ -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"]',
Expand Down