discourse/test/javascripts/acceptance/user-card-test.js.es6

15 lines
311 B
Plaintext
Raw Normal View History

import { acceptance } from "helpers/qunit-helpers";
acceptance("User Card");
test("card", () => {
visit('/');
2015-03-04 07:02:36 -05:00
ok(invisible('#user-card'), 'user card is invisible by default');
click('a[data-user-card=eviltrout]:first');
andThen(() => {
2015-03-04 07:02:36 -05:00
ok(visible('#user-card'), 'card should appear');
});
});