mirror of
https://github.com/discourse/discourse.git
synced 2024-12-04 12:43:40 +08:00
14 lines
260 B
JavaScript
14 lines
260 B
JavaScript
integration("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');
|
|
});
|
|
|
|
});
|