mirror of
https://github.com/codeninjasllc/discourse.git
synced 2024-11-25 00:29:30 -05:00
14 lines
311 B
JavaScript
14 lines
311 B
JavaScript
import { acceptance } from "helpers/qunit-helpers";
|
|
acceptance("User Card");
|
|
|
|
test("card", () => {
|
|
visit('/');
|
|
|
|
ok(invisible('#user-card'), 'user card is invisible by default');
|
|
click('a[data-user-card=eviltrout]:first');
|
|
|
|
andThen(() => {
|
|
ok(visible('#user-card'), 'card should appear');
|
|
});
|
|
|
|
});
|