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

Fix for Advanced Ledger Panel tests #7726

Merged
merged 1 commit into from
Mar 15, 2017
Merged
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 @@ -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) {
Expand Down Expand Up @@ -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)

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