Fix broken test and form wrap
This commit is contained in:
parent
515882d845
commit
1add7e9cdf
|
@ -34,7 +34,7 @@
|
|||
<div class="section-column">
|
||||
<h3>{{i18n 'discourse_patrons.your_information'}}</h3>
|
||||
|
||||
<div class="user-controls">
|
||||
<div class="user-controls discource-patrons-fields">
|
||||
<div class="display-row">
|
||||
<div class="field">
|
||||
{{i18n 'discourse_patrons.amount'}}
|
||||
|
@ -44,7 +44,6 @@
|
|||
{{combo-box valueAttribute="value" content=amounts value=amount}}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="display-row">
|
||||
<div class="field">
|
||||
{{i18n 'discourse_patrons.billing.name'}}
|
||||
|
|
|
@ -43,6 +43,12 @@
|
|||
background-color: $primary-low;
|
||||
}
|
||||
|
||||
.discource-patrons-fields {
|
||||
.field {
|
||||
width: 25%;
|
||||
}
|
||||
}
|
||||
|
||||
#card-action {
|
||||
margin: 20px 0;
|
||||
}
|
||||
|
|
|
@ -36,11 +36,11 @@ componentTest("donation form has a confirmation", {
|
|||
async test(assert) {
|
||||
this.set("confirmation", { card: { last4: "4242" } });
|
||||
|
||||
const confirmExists = find(".discourse-donations-confirmation").length;
|
||||
const confirmExists = find(".discourse-patrons-confirmation").length;
|
||||
|
||||
assert.ok(confirmExists, "The confirmation form renders");
|
||||
|
||||
const last4 = find(".discourse-donations-last4")
|
||||
const last4 = find(".discourse-patrons-last4")
|
||||
.text()
|
||||
.trim();
|
||||
|
||||
|
|
Loading…
Reference in New Issue