Clear wording
This commit is contained in:
@@ -39,8 +39,8 @@ export default class PlacePaymentMethods extends Component {
|
||||
let description = 'No Bitcoin';
|
||||
if (!isDenied) {
|
||||
description = this.payment.bitcoin.lightning
|
||||
? 'Bitcoin (Lightning)'
|
||||
: 'Bitcoin (On-chain)';
|
||||
? 'Bitcoin (Lightning) accepted'
|
||||
: 'Bitcoin (On-chain) accepted';
|
||||
}
|
||||
list.push({
|
||||
id: 'bitcoin',
|
||||
|
||||
@@ -118,7 +118,7 @@ module('Integration | Component | place-payment-methods', function (hooks) {
|
||||
.doesNotHaveAttribute('title');
|
||||
assert
|
||||
.dom('[data-test-payment-method="bitcoin"]')
|
||||
.hasAttribute('aria-description', 'Bitcoin (Lightning)');
|
||||
.hasAttribute('aria-description', 'Bitcoin (Lightning) accepted');
|
||||
assert
|
||||
.dom('[data-test-payment-method="bitcoin"] > .icon')
|
||||
.hasAttribute('style', /width:17px;height:22px;color:currentColor/);
|
||||
|
||||
Reference in New Issue
Block a user