mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
Add tests for groups pages, DRY html into a component
This commit is contained in:
@@ -11,4 +11,19 @@ test("Browsing Groups", () => {
|
||||
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");
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user