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

Bug #1787273 reported by Steven
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Mahara
Fix Released
Medium
Unassigned

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

Revision history for this message
Mahara Bot (dev-mahara) wrote : A patch has been submitted for review

Patch for "master" branch: https://reviews.mahara.org/9069

Revision history for this message
Mahara Bot (dev-mahara) wrote : A change has been merged

Reviewed: https://reviews.mahara.org/9069
Committed: https://git.mahara.org/mahara/mahara/commit/616f2c4302811d2eca79b2b31e17cbe556b61478
Submitter: Robert Lyon (<email address hidden>)
Branch: master

commit 616f2c4302811d2eca79b2b31e17cbe556b61478
Author: Steven Spinelli <email address hidden>
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

Robert Lyon (robertl-9)
Changed in mahara:
milestone: none → 18.10.0
importance: Undecided → Medium
status: New → Fix Committed
Robert Lyon (robertl-9)
Changed in mahara:
status: Fix Committed → Fix Released
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.