change_account_settings.feature 693 Bytes
Newer Older
1
@javascript @core @core_account
Son Nguyen's avatar
Son Nguyen committed
2
3
4
5
Feature: Mahara users can change their account settings
  As a mahara user
  I need to change my account settings

Son Nguyen's avatar
Son Nguyen committed
6
  Background:
7
   Given the following "users" exist:
Son Nguyen's avatar
Son Nguyen committed
8
      | username | password | email | firstname | lastname | institution | authname | role |
9
      | userA | Kupuhipa1 | test01@example.com | Pete | Mc | mahara | internal | member |
Son Nguyen's avatar
Son Nguyen committed
10
11

  Scenario: Change notifications
12
    Given I log in as "userA" with password "Kupuhipa1"
13
    And I choose "Notifications" in "Settings" from User menu
Son Nguyen's avatar
Son Nguyen committed
14
    And I select "Email" from "activity_viewaccess"
Son Nguyen's avatar
Son Nguyen committed
15
16
    When I press "Save"
    And I should see "Preferences saved"
17
    And I should not see "Delete account"