Skip to content

Commit

Permalink
Fix for Advanced Ledger Panel tests
Browse files Browse the repository at this point in the history
Resolves brave#6911

Auditors:
@willy-b @bsclifton

Test Plan:
- npm run uitest -- --grep="Advanced payment panel tests"
  • Loading branch information
NejcZdovc committed Mar 15, 2017
1 parent dcd8af4 commit 6e627ea
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 @@ -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

0 comments on commit 6e627ea

Please sign in to comment.