mirror of
https://github.com/codeninjasllc/discourse.git
synced 2024-12-20 20:42:44 -05:00
29 lines
746 B
JavaScript
29 lines
746 B
JavaScript
import { acceptance } from "helpers/qunit-helpers";
|
|
acceptance("Groups");
|
|
|
|
test("Browsing Groups", () => {
|
|
visit("/groups/discourse");
|
|
andThen(() => {
|
|
ok(count('.user-stream .item') > 0, "it has stream items");
|
|
});
|
|
|
|
visit("/groups/discourse/members");
|
|
andThen(() => {
|
|
ok(count('.group-members tr') > 0, "it lists group members");
|
|
});
|
|
|
|
visit("/groups/discourse/topics");
|
|
andThen(() => {
|
|
ok(count('.user-stream .item') > 0, "it lists stream items");
|
|
});
|
|
|
|
visit("/groups/discourse/mentions");
|
|
andThen(() => {
|
|
ok(count('.user-stream .item') > 0, "it lists stream items");
|
|
});
|
|
|
|
visit("/groups/discourse/messages");
|
|
andThen(() => {
|
|
ok(count('.user-stream .item') > 0, "it lists stream items");
|
|
});
|
|
});
|