mirror of
https://github.com/discourse/discourse.git
synced 2025-06-25 01:30:17 +08:00
FIX: Incorrect membership action buttons shown for non logged in users.
This commit is contained in:
@ -6,7 +6,9 @@ test("Browsing Groups", () => {
|
||||
visit("/groups");
|
||||
|
||||
andThen(() => {
|
||||
equal(count('.groups-table-row'), 18, 'it displays visible groups');
|
||||
equal(count('.groups-table-row'), 2, 'it displays visible groups');
|
||||
equal(find('.group-index-join').length, 1, 'it show button to join group');
|
||||
equal(find('.group-index-request').length, 1, 'it show button to request for group membership');
|
||||
});
|
||||
|
||||
click("a[href='/groups/discourse/members']");
|
||||
|
Reference in New Issue
Block a user