FIX: CSS class names changed on group posts

This commit is contained in:
Robin Ward 2017-11-02 15:05:41 -04:00
parent e700068b17
commit 05a61fa8e1
1 changed files with 4 additions and 4 deletions

View File

@ -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");
});
});