discourse/test/javascripts/acceptance/admin-user-badges-test.js

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"]`));
});