← Back to team overview

mahara-contributors team mailing list archive

[Bug 1787273] Re: Behat: Empty blog should display "No entries yet." and "Add one" link

 

** Changed in: mahara
    Milestone: None => 18.10.0

** Changed in: mahara
   Importance: Undecided => Medium

** Changed in: mahara
       Status: New => Fix Committed

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