Behat: Empty blog should display "No entries yet." and "Add one" link
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Mahara |
Fix Released
|
Medium
|
Unassigned |
Bug Description
Behat: Scripts to update
1. Update Script for feature file ->/adding_
2. Update Script for feature file ->/journal_
Related to: //bugs.
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_
+ # 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_
+ # 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
Changed in mahara: | |
milestone: | none → 18.10.0 |
importance: | Undecided → Medium |
status: | New → Fix Committed |
Changed in mahara: | |
status: | Fix Committed → Fix Released |
Patch for "master" branch: https:/ /reviews. mahara. org/9069