mirror of
https://github.com/discourse/discourse.git
synced 2024-12-12 12:03:39 +08:00
10 lines
266 B
JavaScript
10 lines
266 B
JavaScript
|
import { acceptance } from "helpers/qunit-helpers";
|
||
|
|
||
|
acceptance("Admin - Users Badges", { loggedIn: true });
|
||
|
|
||
|
QUnit.test("lists badges", async assert => {
|
||
|
await visit("/admin/users/1/eviltrout/badges");
|
||
|
|
||
|
assert.ok(exists(`span[data-badge-name="Badge 8"]`));
|
||
|
});
|