mirror of
https://github.com/codeninjasllc/discourse.git
synced 2024-11-28 01:56:01 -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');
|
|
});
|
|
|
|
});
|