diff --git a/test/javascripts/acceptance/group-test.js.es6 b/test/javascripts/acceptance/group-test.js.es6 index 5a83bc4f376..aeca037becf 100644 --- a/test/javascripts/acceptance/group-test.js.es6 +++ b/test/javascripts/acceptance/group-test.js.es6 @@ -24,26 +24,26 @@ QUnit.test("Anonymous Viewing Group", assert => { click(".nav-pills li a[title='Activity']"); andThen(() => { - assert.ok(count('.group-post') > 0, "it lists stream items"); + assert.ok(count('.user-stream-item') > 0, "it lists stream items"); }); - click(".group-activity-nav li a[href='/groups/discourse/activity/topics']"); + click(".activity-nav li a[href='/groups/discourse/activity/topics']"); andThen(() => { assert.ok(find('.topic-list'), "it shows the topic list"); assert.equal(count('.topic-list-item'), 2, "it lists stream items"); }); - click(".group-activity-nav li a[href='/groups/discourse/activity/mentions']"); + click(".activity-nav li a[href='/groups/discourse/activity/mentions']"); andThen(() => { - assert.ok(count('.group-post') > 0, "it lists stream items"); + assert.ok(count('.user-stream-item') > 0, "it lists stream items"); }); andThen(() => { 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('.group-post') > 0, "it lists stream items"); + assert.ok(count('.user-stream-item') > 0, "it lists stream items"); }); selectKit('.group-dropdown').expand();