2015-04-06 14:14:00 -04:00
|
|
|
import { acceptance } from "helpers/qunit-helpers";
|
|
|
|
acceptance("Groups");
|
2015-01-23 11:13:27 -05:00
|
|
|
|
2015-03-19 07:22:56 -04:00
|
|
|
test("Browsing Groups", () => {
|
2015-01-23 11:13:27 -05:00
|
|
|
visit("/groups/discourse");
|
2015-03-19 07:22:56 -04:00
|
|
|
andThen(() => {
|
2015-01-23 11:13:27 -05:00
|
|
|
ok(count('.user-stream .item') > 0, "it has stream items");
|
|
|
|
});
|
2015-03-19 07:22:56 -04:00
|
|
|
|
2015-01-23 11:13:27 -05:00
|
|
|
visit("/groups/discourse/members");
|
2015-03-19 07:22:56 -04:00
|
|
|
andThen(() => {
|
2015-01-23 11:13:27 -05:00
|
|
|
ok(count('.group-members tr') > 0, "it lists group members");
|
|
|
|
});
|
|
|
|
});
|