Moderation

TC01: Accept moderation request, for visible projects by other users

StepActionResult
1Open a first browser instance (Eg: “firefox.exe -p “profile1” -no-remote”) and sign in with a known First userUser successfully signed in and Home page is displayed
2Open a second browser instance (Eg: “firefox.exe -p “profile2” -no-remote”) and sign in with a known Second userUser successfully signed in and Home page is displayed
3Activate First browser instanceInstance is active
4Create a new project visible for Second user
Eg:
- Name: Project is created by First user
- Project visibility: Everyone
Project is created successfully
5Activate Second browser instanceInstance is active
6Search for the above created project and click Edit button“Success: You will create a moderation request if you update” message is displayed
7Edit Description field or other fields
Eg:
Description: “Update description to create a moderation request!!”
Click Update Project button
Create moderation request dialog is displayed
8Fill in Please comment your changes field
Eg: I want to update this project. Please accept for me. Thanks @@.
Click Send moderation request button
Show message: “Success: Moderation request was sent to update the Project {nameProject} {(version)}!”
9Activate First browser instanceInstance is active
10Check status of project in the MY TASK ASSIGNMENTS table on Home pageThe above project that needs moderation is displayed with status Pending
11Click Requests pageThe moderation request of Second user is displayed with state Pending
12Click the project name in the Document Name column- “Success: You have assigned yourself to this moderation request.” message is displayed
- Moderation Request Information page is displayed, with proposed changes from step 7 listed
13Input a comment in the Comment on Moderation Decision box. Eg: The request is approved
Click Accept Request button
Request page display and show message: “Success: You have accepted the moderation request”
14Click Closed Moderation Requests tab
Check state of Project is created by First user project
State changed to Approved
15Check status of project in the MY TASK ASSIGNMENTS table on Home pageThe request is removed from the table
16Activate Second browser instanceInstance is active
17Check status of project in the MY TASK SUBMISSIONS table on Home pageStatus is Approved
18Open the Projects page and click on previously modified project on step 7Project Summary page displayed successfully
19Check the moderation requested changesChanges are visible in the corresponding fields: Description field was changed to “Update description to create a moderation request!!”

TC02: Decline moderation request, for visible projects by other users

StepActionResult
1-11Same as in TC01
12Input a comment in the Comment on Moderation Decision box. Eg: The request is declined
Click Decline Request button
Requests page display and show message: “Success: You have rejected the moderation request”
13Click Closed Moderation Requests tab
Check state of the above rejected project
State changed to Rejected
14Check status of project in the MY TASK ASSIGNMENTS table on Home pageThe request is removed from the table
15Activate Second browser instanceInstance is active
16Check status of project in the MY TASK SUBMISSIONS table on Home pageStatus is Rejected
17Open the Projects page and click on previously modified project on step 7Project Summary page displayed successfully
18Check the moderation requested changesChanges are not visible in the corresponding fields: data of the project is not changed.

TC03: Remove Me from Moderators for moderation request, for visible projects by other users

StepActionResult
1-11Same as in TC01
12Click Remove Me from Moderators button- “Warning: You are the last moderator for this request, you are not allowed to unsubscribe !” message is displayed (assuming only First user was listed under Moderators column in step 10)
- Can’t remove from Moderators. Nothing to change
13Input a comment in the Comment on Moderation Decision box. Eg: Decline the request.
Click Decline Request button
Requests page display and show message: “Success: You have rejected the moderation request”
14Edit the project and add a new moderator (Eg: Third user) under Moderators fieldProject updated successfully
15Activate Second browser instanceInstance is active
16Edit the project and create a new moderation requestModeration request was sent
17Activate First browser instanceInstance is active
18Click Moderation pageThe moderation request of Second user is displayed with state Pending
19Click the project name which the moderation was created in step 16- “Success: You have assigned yourself to this moderation request.” is displayed
- Moderation Request Information page is displayed, with proposed changes from step 16 listed
20Click Remove Me from Moderators button“Success: You have unassigned yourself from the moderation request” message is displayed. Also the document is deleted from moderation list.
21Login with the Third user and check the Moderation request in Request pageThe moderation request of Second user is displayed with state Pending