discourse/test/javascripts/acceptance/admin-user-badges-test.js
2020-09-04 13:42:47 +02:00

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