mirror of
https://github.com/discourse/discourse.git
synced 2024-11-25 09:42:07 +08:00
FIX: CSS class names changed on group posts
This commit is contained in:
parent
e700068b17
commit
05a61fa8e1
|
@ -54,19 +54,19 @@ QUnit.test("Anonymous Viewing Group", assert => {
|
|||
click(".nav-pills li a[title='Activity']");
|
||||
|
||||
andThen(() => {
|
||||
assert.ok(count('.user-stream .item') > 0, "it lists stream items");
|
||||
assert.ok(count('.group-post') > 0, "it lists stream items");
|
||||
});
|
||||
|
||||
click(".group-activity-nav li a[href='/groups/discourse/activity/topics']");
|
||||
|
||||
andThen(() => {
|
||||
assert.ok(count('.user-stream .item') > 0, "it lists stream items");
|
||||
assert.ok(count('.group-post') > 0, "it lists stream items");
|
||||
});
|
||||
|
||||
click(".group-activity-nav li a[href='/groups/discourse/activity/mentions']");
|
||||
|
||||
andThen(() => {
|
||||
assert.ok(count('.user-stream .item') > 0, "it lists stream items");
|
||||
assert.ok(count('.group-post') > 0, "it lists stream items");
|
||||
});
|
||||
|
||||
andThen(() => {
|
||||
|
@ -77,7 +77,7 @@ QUnit.test("Anonymous Viewing Group", assert => {
|
|||
);
|
||||
assert.ok(find(".nav-pills li a[title='Edit Group']").length === 0, 'it should not show messages tab if user is not admin');
|
||||
assert.ok(find(".nav-pills li a[title='Logs']").length === 0, 'it should not show Logs tab if user is not admin');
|
||||
assert.ok(count('.user-stream .item') > 0, "it lists stream items");
|
||||
assert.ok(count('.group-post') > 0, "it lists stream items");
|
||||
});
|
||||
});
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user