diff --git a/test/javascripts/acceptance/groups-test.js.es6 b/test/javascripts/acceptance/groups-test.js.es6 index 65ead1b17d6..4e098f31694 100644 --- a/test/javascripts/acceptance/groups-test.js.es6 +++ b/test/javascripts/acceptance/groups-test.js.es6 @@ -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"); }); });