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

« back to all changes in this revision

Viewing changes to admin/tool/behat/tests/behat/basic_actions.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:
20
20
    And I wait "2" seconds
21
21
    And I hover "#region-main .generaltable td span" "css_element"
22
22
    Then I should see "I'm the description"
 
23
    And "Grouping" "select" in the "region-main" "region" should be visible
 
24
    And "Group" "select" should be visible
 
25
    And "Messaging" "link" in the "Administration" "block" should not be visible
 
26
    And "Change password" "link" should not be visible
23
27
    And I should see "Filter groups by"
24
28
    And I should not see "Filter groupssss by"
25
29
    And I should see "Group members" in the "#region-main table th.c1" "css_element"
35
39
      | Course 1 | C1 | 0 |
36
40
    And I log in as "admin"
37
41
    And I follow "Course 1"
38
 
    When I click on "Move this to the dock" "button" in the "Administration" "block"
39
 
    Then I should not see "Question bank" in the "region-pre" "region"
 
42
    When I dock "Administration" block
 
43
    Then I should not see "Question bank" in the ".block-region" "css_element"
40
44
    And I click on "//div[@id='dock']/descendant::h2[normalize-space(.)='Administration']" "xpath_element"
41
45
 
42
46
  @javascript
45
49
      | fullname | shortname | category |
46
50
      | Course 1 | C1 | 0 |
47
51
    And I log in as "admin"
48
 
    When I click on "Move this to the dock" "button" in the "Administration" "block"
49
 
    Then I should not see "Turn editing on" in the "region-pre" "region"
 
52
    When I dock "Administration" block
 
53
    Then I should not see "Turn editing on" in the ".block-region" "css_element"