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