← Back to team overview

mahara-contributors team mailing list archive

[Bug 1891266] Re: Behat: Confirm correct dashboard elements are present

 

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

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

Title:
  Behat: Confirm correct dashboard elements are present

Status in Mahara:
  In Progress

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_buttons.feature. I suggest
  renaming it to dashboard.feature and it can be the core test for items
  on that page.

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

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


References