Behat: Confirm correct dashboard elements are present
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Mahara |
Fix Released
|
Medium
|
Rangi Daymond |
Bug Description
Automating a manual test. Copied from spreadsheet:
Verify default dashboard includes the following blocks:
Latest pages, My pages, Inbox, Topics I’m following
(Note these titles are out of date. We need to check the current titles)
Verify user can add or remove blocks via edit dashboard
For this we can add to the homepage_
1. Add a scenario called "Checking default blocks are displayed".
2. As the section commented "# check for bug 1493199 name changed from “Latest pages” to “Latest changes I can view”" includes a check for that, transfer it to the new scenario.
3. Add checks for the other defaults:
Inbox
Topics I am following
My portfolios
Watched pages
4. Follow "Edit dashboard" and confirm that the blocks all contain a "Remove block" option and that all except My portfolios contain a "Configure block" option.
5. Test that the configure modal opens for one of the blocks and that you can save a change. (Note that we are not interested in this test whether the options work.)
6. Test that you can delete one of the blocks
7. Return to the dashboard and confirm the block you deleted is not displayed.
ADDITIONAL CHECKS:
There is another manual test that checks a different block can be added to the dashboard. We can incorporate this test too. While editing the dashboard in 4. above, add a block.
In 7. confirm that the new block is displayed. (Let's use a block for this that isn't added elsewhere.)
description: | updated |
summary: |
- Behat: Confirm correct homepage elements are present + Behat: Confirm correct dashboard elements are present |
description: | updated |
Changed in mahara: | |
status: | New → In Progress |
assignee: | Rangi Daymond (rangid) → nobody |
assignee: | nobody → Rangi Daymond (rangid) |
description: | updated |
Changed in mahara: | |
importance: | Undecided → Medium |
Changed in mahara: | |
milestone: | none → 20.10.0 |
status: | In Progress → Fix Committed |
Changed in mahara: | |
status: | Fix Committed → Fix Released |
Patch for "master" branch: https:/ /reviews. mahara. org/11146