← Back to team overview

mahara-contributors team mailing list archive

[Bug 1690273] [NEW] Test for footer headings display

 

Public bug reported:

The current behat test admin/create_and_delete_menu_item.feature has a
partial test for showing and hiding elements of the footer:

    And I enable the switch "Terms and conditions"
    And I disable the following switches:
     | Privacy statement |
     | About |
     | Contact us |
    And I press "Save changes"
  # Checking the switches held the setting
    And the following fields match these values:
     | Terms and conditions | 1 |
     | Privacy statement | 0 |
     | About | 0 |
     | Contact us | 0 |

As part of the process of tidying up the behat tests, this functionality
should be removed from this test and a new test created called
footer_settings.feature.

The new test should have 2 scenarios, one to check the settings as above
as admin, but also to check that the selected footer settings are
displayed on the homepage to a user.

The second scenario should check that when the user clicks on the footer
links, correct content is displayed, specifically that the headings are
not repeated (Bug #1683551)

** Affects: mahara
     Importance: Undecided
         Status: In Progress


** Tags: behat

** Changed in: mahara
       Status: New => In Progress

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

Title:
  Test for footer headings display

Status in Mahara:
  In Progress

Bug description:
  The current behat test admin/create_and_delete_menu_item.feature has a
  partial test for showing and hiding elements of the footer:

      And I enable the switch "Terms and conditions"
      And I disable the following switches:
       | Privacy statement |
       | About |
       | Contact us |
      And I press "Save changes"
    # Checking the switches held the setting
      And the following fields match these values:
       | Terms and conditions | 1 |
       | Privacy statement | 0 |
       | About | 0 |
       | Contact us | 0 |

  As part of the process of tidying up the behat tests, this
  functionality should be removed from this test and a new test created
  called footer_settings.feature.

  The new test should have 2 scenarios, one to check the settings as
  above as admin, but also to check that the selected footer settings
  are displayed on the homepage to a user.

  The second scenario should check that when the user clicks on the
  footer links, correct content is displayed, specifically that the
  headings are not repeated (Bug #1683551)

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


Follow ups