add the basic form
This commit is contained in:
@@ -2,10 +2,13 @@ import componentTest from "helpers/component-test";
|
||||
|
||||
moduleForComponent("donation-form", { integration: true });
|
||||
|
||||
componentTest("donation form", {
|
||||
componentTest("donation form has content", {
|
||||
template: `{{donation-form}}`,
|
||||
|
||||
test(assert) {
|
||||
assert.ok(true);
|
||||
async test(assert) {
|
||||
assert.ok(find('#payment-form').length, 'The form renders');
|
||||
assert.equal(find('.discourse-donations-cause .selected-name')
|
||||
.text()
|
||||
.trim(), 'Select a cause', 'It has the combo box');
|
||||
}
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user