discourse/test/javascripts/integration/user-expansion-test.js.es6
2014-09-09 15:18:04 -04:00

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');
});
});