diff --git a/test/javascripts/acceptance/groups-test.js.es6 b/test/javascripts/acceptance/groups-test.js.es6 index 04c8e6f5bff..f7f649f26df 100644 --- a/test/javascripts/acceptance/groups-test.js.es6 +++ b/test/javascripts/acceptance/groups-test.js.es6 @@ -12,7 +12,7 @@ test("Browsing Groups", () => { click("a[href='/groups/discourse/members']"); andThen(() => { - equal(find('.group-header').text().trim(), 'Awesome Team', "it displays the group page"); + equal(find('.group-info-name').text().trim(), 'Awesome Team', "it displays the group page"); }); }); @@ -58,7 +58,7 @@ test("Admin Viewing Group", () => { ok(find(".nav-stacked li a[title='Messages']").length === 1, 'it should show messages tab if user is admin'); ok(find(".nav-stacked li a[title='Edit Group']").length === 1, 'it should show edit group tab if user is admin'); ok(find(".nav-stacked li a[title='Logs']").length === 1, 'it should show Logs tab if user is admin'); - equal(find('.group-title').text(), 'Awesome Team', 'it should display the group title'); - equal(find('.group-name').text(), '@discourse', 'it should display the group name'); + + equal(find('.group-info-name').text(), 'Awesome Team', 'it should display the group name'); }); });