← Back to team overview

mahara-contributors team mailing list archive

[Bug 1703721] Re: consolidate and improve behat tests for adding users

 

** Description changed:

  There are currently 3 tests for different aspects of adding users:
  switches_general_account.feature
  add_users_configuration.feature
  add_users_csv.feature
  
- These could be combined into one test with perhaps 2 scenarios, one for csv; one for manual adding.
- Test that changing the switches actually changes the functionality. If we want to test all the settings work the test would be quite long, but the more important functions, assigning roles, requiring a password, forcing password change should be tested.
+ These could be combined into one test with perhaps 2 scenarios, one for csv; one for manual adding by an admin.
+ Test that changing the switches actually changes the functionality. The more important functions, assigning roles, requiring a password, forcing password change and assigning an institution should be tested.
+ Then the new user should log in to confirm it has saved correctly, they have correct roles and institution and that a password change is required.

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

Title:
  consolidate and improve behat tests for adding users

Status in Mahara:
  In Progress

Bug description:
  There are currently 3 tests for different aspects of adding users:
  switches_general_account.feature
  add_users_configuration.feature
  add_users_csv.feature

  These could be combined into one test with perhaps 2 scenarios, one for csv; one for manual adding by an admin.
  Test that changing the switches actually changes the functionality. The more important functions, assigning roles, requiring a password, forcing password change and assigning an institution should be tested.
  Then the new user should log in to confirm it has saved correctly, they have correct roles and institution and that a password change is required.

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


References