acceptance test link
This commit is contained in:
parent
23850afeb1
commit
97e4497cc8
|
@ -1,4 +1,4 @@
|
||||||
|
|
||||||
<div class="discourse-payments">
|
<div class="discourse-donations">
|
||||||
<a href="/users/{{model.username}}/payments">Payments page</a>
|
<a href="/users/{{model.username}}/payments">Donate</a>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -1,10 +1,10 @@
|
||||||
import { acceptance } from 'helpers/qunit-helpers';
|
import { acceptance } from 'helpers/qunit-helpers';
|
||||||
acceptance('Discourse Donations', { loggedIn: true });
|
acceptance('Discourse Donations', { loggedIn: true });
|
||||||
|
|
||||||
test('Payments Link Exists', () => {
|
test('Donations Link Exists', () => {
|
||||||
visit('/users/eviltrout');
|
visit('/users/eviltrout');
|
||||||
|
|
||||||
andThen(() => {
|
andThen(() => {
|
||||||
ok(exists('.discourse-payments > a'), 'Link exists on profile page');
|
ok(exists('.discourse-donations > a'), 'Link exists on profile page');
|
||||||
});
|
});
|
||||||
});
|
});
|
Loading…
Reference in New Issue