mirror of
https://github.com/codeninjasllc/discourse.git
synced 2024-12-05 05:11:30 -05:00
504d61de94
integration test.
13 lines
336 B
JavaScript
13 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');
|
|
});
|
|
|
|
});
|