mirror of
https://github.com/codeninjasllc/discourse.git
synced 2024-11-30 19:08:10 -05:00
13 lines
304 B
JavaScript
13 lines
304 B
JavaScript
integration("User Card");
|
|
|
|
test("card", function() {
|
|
visit('/');
|
|
|
|
ok(find('#user-card:visible').length === 0, 'user card is invisible by default');
|
|
click('a[data-user-card=eviltrout]:first');
|
|
|
|
andThen(function() {
|
|
ok(find('#user-card:visible').length === 1, 'card should appear');
|
|
});
|
|
|
|
});
|