From 3a145b7551c37dab8da087f7cc7a34d76e6c37c1 Mon Sep 17 00:00:00 2001 From: Neil Lalonde Date: Thu, 3 May 2018 16:00:56 -0400 Subject: [PATCH] fix group-test.js --- test/javascripts/acceptance/group-test.js.es6 | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) 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();