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

Commit

Permalink
Merge pull request #7726 from NejcZdovc/hotfix/#6911-tests
Browse files Browse the repository at this point in the history
Fix for Advanced Ledger Panel tests
  • Loading branch information
bsclifton authored Mar 15, 2017
2 parents 33ad7cf + bbdbd83 commit 855edd1
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
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 @@ -79,10 +79,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

0 comments on commit 855edd1

Please sign in to comment.