← Back to team overview

mahara-contributors team mailing list archive

[Bug 1710997] [NEW] behat theme test doesn't test themes work

 

Public bug reported:

The user_themes.feature doesn't actually test the that a user can change
a theme. It tests that an admin can enable the "Users can choose page
themes" setting and then that the admin can add a page and put a text
block on it.

What needs to happen:
Add a user and a page owned by that user in the background
Keep the part of the test where the admin changes the setting
Log the admin out
Log in as the regular user and confirm the theme option appears and can be changed when editing the page.
Confirm the change worked by checking the logo has changed, i.e. it contains /theme/<theme>/images/site-logo

** Affects: mahara
     Importance: Undecided
     Assignee: Rebecca Blundell (rjb-dev)
         Status: In Progress


** Tags: behat

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

** Changed in: mahara
     Assignee: (unassigned) => Rebecca Blundell (rjb-dev)

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

Title:
  behat theme test doesn't test themes work

Status in Mahara:
  In Progress

Bug description:
  The user_themes.feature doesn't actually test the that a user can
  change a theme. It tests that an admin can enable the "Users can
  choose page themes" setting and then that the admin can add a page and
  put a text block on it.

  What needs to happen:
  Add a user and a page owned by that user in the background
  Keep the part of the test where the admin changes the setting
  Log the admin out
  Log in as the regular user and confirm the theme option appears and can be changed when editing the page.
  Confirm the change worked by checking the logo has changed, i.e. it contains /theme/<theme>/images/site-logo

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


Follow ups