← Back to team overview

mahara-contributors team mailing list archive

[Bug 1891951] [NEW] Behat: comments are moderated if made anonymously

 

Public bug reported:

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 the anonymous comment 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.

** Affects: mahara
     Importance: Undecided
     Assignee: Rangi Daymond (rangid)
         Status: New


** Tags: behat-test

-- 
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
Matching subscriptions: Subscription for all Mahara Contributors -- please ask on #mahara-dev or mahara.org forum before editing or unsubscribing it!
https://bugs.launchpad.net/bugs/1891951

Title:
  Behat: comments are moderated if made anonymously

Status in Mahara:
  New

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 the anonymous comment 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.

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1891951/+subscriptions


Follow ups