mirror of
https://github.com/discourse/discourse.git
synced 2024-11-24 06:15:28 +08:00
12 lines
331 B
JavaScript
12 lines
331 B
JavaScript
import { acceptance } from "helpers/qunit-helpers";
|
|
|
|
acceptance("User Card");
|
|
|
|
QUnit.test("user card", async assert => {
|
|
await visit("/");
|
|
assert.ok(invisible("#user-card"), "user card is invisible by default");
|
|
|
|
await click("a[data-user-card=eviltrout]:first");
|
|
assert.ok(visible("#user-card"), "card should appear");
|
|
});
|