mirror of
https://github.com/discourse/discourse.git
synced 2024-12-04 19:43:44 +08:00
504d61de94
integration test.
14 lines
336 B
JavaScript
14 lines
336 B
JavaScript
integration("User Expansion");
|
|
|
|
test("expansion", function() {
|
|
visit('/');
|
|
|
|
ok(find('#user-expansion:visible').length === 0, 'user expansion is invisible by default');
|
|
click('a[data-user-expand=eviltrout]:first');
|
|
|
|
andThen(function() {
|
|
ok(find('#user-expansion:visible').length === 1, 'expansion should appear');
|
|
});
|
|
|
|
});
|