Public bug reported:

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 
homepage.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 you can delete one of the blocks

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

7. Return to the homepage and confirm the block you deleted is not
displayed.

** Affects: mahara
     Importance: Undecided
     Assignee: Rangi Daymond (rangid)
         Status: New


** Tags: behat-test

-- 
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 homepage elements are present

Status in Mahara:
  New

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 
homepage.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 you can delete one of the blocks

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

  7. Return to the homepage and confirm the block you deleted is not
  displayed.

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

_______________________________________________
Mailing list: https://launchpad.net/~mahara-contributors
Post to     : mahara-contributors@lists.launchpad.net
Unsubscribe : https://launchpad.net/~mahara-contributors
More help   : https://help.launchpad.net/ListHelp

Reply via email to