mirror of
https://github.com/discourse/discourse.git
synced 2024-12-11 23:06:28 +08:00
10 lines
268 B
JavaScript
10 lines
268 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"]`));
|
|
});
|