discourse/test/javascripts/acceptance/admin-users-list-test.js.es6

11 lines
323 B
Plaintext
Raw Normal View History

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