Behat: comments are moderated if made anonymously

Bug #1891951 reported by Rebecca Blundell
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Mahara
Confirmed
Medium
Rangi Daymond

Bug Description

Automating manual test. Test from spreadsheet is below:

When “Make public” is set to “Yes”, comment moderation should kick in automatically as per https://reviews.mahara.org/8575

We test anonymous comments in social/add_delete_comments.feature. We can add a check to this to make sure moderation is forced for anonymous comments.

1. Because the feature name is mis-leading, let's rename it to anonymous_comments.feature
2. After Joe Anonymous makes his comment, add a check that he sees "Comment submitted, awaiting moderation"
3. When the page owner logs back in, confirm that they have a message in their inbox saying "Joe Anonymous has requested that you make their comment public." If they go to the comment, it says "This comment is private - " and they can click the button for "Make comment public"
4. Review test content. Decide whether page mtime scenario makes sense here or if it should be in a separate file.

Tags: behat-test
description: updated
Changed in mahara:
status: New → Confirmed
importance: Undecided → Medium
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.