← Back to team overview

mahara-contributors team mailing list archive

[Bug 1787273] A change has been merged

 

Reviewed:  https://reviews.mahara.org/9069
Committed: https://git.mahara.org/mahara/mahara/commit/616f2c4302811d2eca79b2b31e17cbe556b61478
Submitter: Robert Lyon (robertl@xxxxxxxxxxxxxxx)
Branch:    master

commit 616f2c4302811d2eca79b2b31e17cbe556b61478
Author: Steven Spinelli <stevens@xxxxxxxxxxxxxxx>
Date:   Thu Aug 16 09:04:02 2018 +1200

Bug 1787273 Testing "Add a journal" link

Verify users, group or institutions with no journals has
text on the page indicating no journals and a link to the page where one
can be made.

Change-Id: I4dd9aa20062036bf1f4c9ef7b11faeedada59ec2

-- 
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/1787273

Title:
  Behat: Empty blog should display "No entries yet." and "Add one" link

Status in Mahara:
  Fix Committed

Bug description:
  Behat: Scripts to update
  1. Update Script for feature file ->/adding_journals_to_institution.feature
  2. Update Script for feature file ->/journal_configuration.feature

  Related to: //bugs.launchpad.net/mahara/+bug/1017785

  Summary: Verify users, group or institutions with no journals has text on the page indicating no journals and a link to the page where one can be made. 
  1. Browse to Content > Journals.
  2. Browse to a group page > Journals.
  3. Browse to Admin > Configure site > Journals.
  4. Browse to Admin > Institutions > Journals.

  ============= BEHAT ==============

  add_blogs.feature

  +       # Confirm page contains text "No entries yet. Add one". (Bug 1017785)
  +       When I choose "Journals" in "Content" from main menu
  +       Then I should see "No entries yet."
  +       # Confirm page contains link "Add one" that links to Create new Journal page. (Bug 1017785)
  +       When I follow "Add one"
  +       Then I should see "New journal entry in journal"
  +       And I move backward one page

  
  adding_journals_to_institution.feature

  +	  # Confirm page contains text "There are no journals in this institution.". (Bug 1017785)
  +       Then I should see "There are no journals in this institution."
  +       # Confirm page contains link "Add one" that links to Create new Journal page. (Bug 1017785)
  +       When I follow "Add one"
  +       Then I should see "New \"Institution One\" journal: Journal settings"
  +       And I move backward one page

  
  journal_configuration.feature

  + # Confirm page contains text "There are no journals in this group" (Bug 1017785)
  + Then I should see "There are no journals in this group."
  + # Confirm page contains link "Add one" that links to Create new Journal page. (Bug 1017785)
  + When I follow "Add one"
  + Then I should see "New journal | GroupA"
  + And I move backward one page

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


References