2019-10-08 20:53:58 -04:00
|
|
|
import { acceptance } from "helpers/qunit-helpers";
|
2019-12-02 19:00:03 -05:00
|
|
|
import { stubStripe } from "discourse/plugins/discourse-subscriptions/helpers/stripe";
|
2019-10-08 20:53:58 -04:00
|
|
|
|
|
|
|
acceptance("Discourse Patrons", {
|
|
|
|
settings: {
|
|
|
|
discourse_patrons_amounts: "1.00|2.00"
|
|
|
|
},
|
|
|
|
|
|
|
|
beforeEach() {
|
|
|
|
stubStripe();
|
|
|
|
}
|
|
|
|
});
|
|
|
|
|
2019-11-06 21:17:54 -05:00
|
|
|
QUnit.skip("viewing the one-off payment page", async assert => {
|
2019-12-02 19:00:03 -05:00
|
|
|
await visit("/s");
|
2019-10-08 20:53:58 -04:00
|
|
|
|
|
|
|
assert.ok($(".donations-page-payment").length, "has payment form class");
|
|
|
|
});
|