Comment 5 for bug 1719216

Revision history for this message
Niranjan (niranjan528) wrote :

After few enhancements here is the test case for this bug,

Environment to be tested: Master
Browser to be tested: Any browser

Precondition:

1. Normal users ‘User one’,‘User two’ and ‘User three’ should exist.
2. Pages ‘Page 01’, ‘Page 02’, ‘Page 03’ and ‘Page 04’ should exist and ‘User one‘ is the owner of these pages.
3. A collection exists with the title 'Collection one' and pages within the collection are 'Page 01' and 'Page 02'.
4. ‘User one’ and ‘User two’ are members of ‘Group one’ and ‘User three’ is not a member. ’User one’ is the group admin.
5. Group ‘Group one’ has the following pages:
‘Group page 01’, ‘Group page 02’, ‘Group page 03’ and ‘Group page 04’.
6. A collection exists with the title 'Group collection one' and pages within the collection are 'Group page 01' and 'Group page 02'.
7. Pages and collection at precondition 2 and 3 are shared with the group ‘Group one’.
8. 'User one', 'User two', and 'User three' should have each commented on 'Page 01', 'Page 02', 'Page 03', and 'Page 04' at least once.
9. 'User one', 'User two', and 'User three' should have each commented on 'Group page 01', 'Group page 02', 'Group page 03', and 'Group page 04' at least once.

Steps to reproduce:

1. Log in as ‘User one’.
2. Navigate to Main menu > Groups.
3. Click the ‘Settings’ button on the group ‘Group one’.
4. Switch ‘Participation report ‘ to ‘Yes’.
5. Click the ‘Save group’ button.
6. Click the ‘Report’ tab.

Expected result:

1. The page title is 'Pages and collections shared with this group'.
2. The heading of the first table is 'Shared with this group'.
3. The heading of the second table is 'Owned by this group'.
4. The collection ‘Collection one’ and the pages 'Page 03', 'Page 04' should be displayed under the table heading 'Shared with this group'.
5. Members involved in the group and the number of their comments should be displayed under the column heading ‘Members involved’.
6. Non-members involved and the number of their comments should be displayed under the column heading ‘Non-members involved’.
7. The group collection 'Group collection one' and the group pages ‘Group page 03’, Group page 04' should be displayed under the heading 'Owned by this group'.
8. Members involved in the group and the number of their comments should be displayed under the column heading ‘Members involved' for the table heading ‘Owned by this group'.