2016-08-05 12:01:16 -04:00
|
|
|
import { acceptance } from "helpers/qunit-helpers";
|
|
|
|
|
|
|
|
acceptance("Admin - Users List", { loggedIn: true });
|
|
|
|
|
2017-06-14 13:57:58 -04:00
|
|
|
QUnit.test("lists users", assert => {
|
2016-08-05 12:01:16 -04:00
|
|
|
visit("/admin/users/list/active");
|
|
|
|
andThen(() => {
|
2017-06-14 13:57:58 -04:00
|
|
|
assert.ok(exists('.users-list .user'));
|
|
|
|
assert.ok(!exists('.user:eq(0) .email small'), 'escapes email');
|
2016-08-05 12:01:16 -04:00
|
|
|
});
|
2017-06-14 13:57:58 -04:00
|
|
|
});
|