mirror of
https://github.com/discourse/discourse.git
synced 2024-11-28 14:55:21 +08:00
14 lines
270 B
JavaScript
14 lines
270 B
JavaScript
integration("User Card");
|
|
|
|
test("card", function() {
|
|
visit('/');
|
|
|
|
ok(invisible('#user-card'), 'user card is invisible by default');
|
|
click('a[data-user-card=eviltrout]:first');
|
|
|
|
andThen(function() {
|
|
ok(visible('#user-card'), 'card should appear');
|
|
});
|
|
|
|
});
|