From 05a61fa8e15f0f4711bf8219e27a2d80ad493c2b Mon Sep 17 00:00:00 2001 From: Robin Ward Date: Thu, 2 Nov 2017 15:05:41 -0400 Subject: [PATCH] FIX: CSS class names changed on group posts --- test/javascripts/acceptance/groups-test.js.es6 | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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"); }); });