mirror of
https://github.com/discourse/discourse.git
synced 2024-12-01 18:35:11 +08:00
14 lines
304 B
Plaintext
14 lines
304 B
Plaintext
|
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');
|
||
|
});
|
||
|
|
||
|
});
|