~ubuntu-branches/ubuntu/utopic/moodle/utopic

« back to all changes in this revision

Viewing changes to admin/tests/behat/upload_users.feature

  • Committer: Package Import Robot
  • Author(s): Thijs Kinkhorst
  • Date: 2014-05-12 16:10:38 UTC
  • mfrom: (36.1.3 sid)
  • Revision ID: package-import@ubuntu.com-20140512161038-puyqf65k4e0s8ytz
Tags: 2.6.3-1
New upstream release.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
@core @core_admin @_only_local
 
1
@core @core_admin @_only_local @_file_upload
2
2
Feature: Upload users
3
3
  In order to add users to the system
4
4
  As an admin
14
14
      | Section 1 | math102 | S1 |
15
15
      | Section 3 | math102 | S3 |
16
16
    And I log in as "admin"
17
 
    And I collapse "Front page settings" node
18
 
    And I expand "Site administration" node
19
 
    And I expand "Users" node
20
 
    And I expand "Accounts" node
21
 
    And I follow "Upload users"
22
 
    When I upload "lib/tests/fixtures/upload_users.csv" file to "File" filepicker
 
17
    And I navigate to "Upload users" node in "Site administration > Users > Accounts"
 
18
    When I upload "lib/tests/fixtures/upload_users.csv" file to "File" filemanager
23
19
    And I press "Upload users"
24
20
    Then I should see "Upload users preview"
25
21
    And I should see "Tom"
42
38
    And I expand "Users" node
43
39
    And I follow "Groups"
44
40
    And I select "Section 1 (1)" from "groups"
45
 
    And I wait "4" seconds
46
41
    And the "members" select box should contain "Tom Jones"