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

Commit

Permalink
Fix broken tests (selector related)
Browse files Browse the repository at this point in the history
Fixes #5951
(was broke with 46ee335)

Auditors: @luixxiul

Test Plan:
1. Window 1: run `npm run watch-all`
2. Window 2: run `npm run uitest -- --grep="Payment Panel"
3. Watch tests pass
  • Loading branch information
bsclifton authored and Suguru Hirahara committed Dec 6, 2016
1 parent 21ece29 commit 9bdb37a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion js/about/preferences.js
Original file line number Diff line number Diff line change
Expand Up @@ -927,7 +927,7 @@ class PaymentsTab extends ImmutableComponent {
const onButtonClick = this.props.ledgerData.get('created')
? this.props.showOverlay.bind(this, 'addFunds')
: (this.props.ledgerData.get('creating') ? () => {} : this.createWallet)
return <Button l10nId={buttonText} className='primaryButton wideButton' onClick={onButtonClick.bind(this)} disabled={this.props.ledgerData.get('creating')} />
return <Button l10nId={buttonText} className='primaryButton wideButton addFunds' onClick={onButtonClick.bind(this)} disabled={this.props.ledgerData.get('creating')} />
}

get paymentHistoryButton () {
Expand Down
2 changes: 1 addition & 1 deletion test/lib/selectors.js
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ module.exports = {
addFundsButton: '.addFunds',
advancedSettings: '.advancedSettings',
fundsSelectBox: '#fundsSelectBox',
paymentsStatus: '#walletStatus',
paymentsStatus: '.walletStatus',
ledgerTable: '#ledgerTable',
bitcoinDashboard: '#bitcoinDashboard',
modalCloseButton: 'button.close',
Expand Down

0 comments on commit 9bdb37a

Please sign in to comment.