Ignore:
Timestamp:
May 2, 2016, 12:09:23 PM (3 years ago)
Author:
jrpelegrina
Message:

Updated to moodle 3.0.3

File:
1 edited

Legend:

Unmodified
Added
Removed
  • moodle/trunk/fuentes/course/tests/behat/move_sections.feature

    r136 r1331  
    88    Given the following "users" exist:
    99      | username | firstname | lastname | email |
    10       | teacher1 | Teacher | 1 | teacher1@asd.com |
     10      | teacher1 | Teacher | 1 | teacher1@example.com |
    1111    And the following "courses" exist:
    1212      | fullname | shortname | format | coursedisplay | numsections |
     
    2424      | Description | Test forum description |
    2525    When I move down section "1"
    26     Then I should see "Test forum name" in the "#section-2" "css_element"
     26    Then I should see "Test forum name" in the "Topic 2" "section"
    2727    And I move up section "2"
    28     And I should see "Test forum name" in the "#section-1" "css_element"
     28    And I should see "Test forum name" in the "Topic 1" "section"
    2929
    3030  Scenario: Move up and down a section with Javascript disabled in the course home of a course using paged mode
     
    3232    And I set the following fields to these values:
    3333      | Course layout | Show one section per page |
    34     And I press "Save changes"
     34    And I press "Save and display"
    3535    And I add a "Forum" to section "1" and I fill the form with:
    3636      | Forum name | Test forum name |
    3737      | Description | Test forum description |
    3838    When I move down section "1"
    39     Then I should see "Test forum name" in the "#section-2" "css_element"
     39    Then I should see "Test forum name" in the "Topic 2" "section"
    4040    And I move up section "2"
    41     And I should see "Test forum name" in the "#section-1" "css_element"
     41    And I should see "Test forum name" in the "Topic 1" "section"
    4242
    4343  Scenario: Sections can not be moved with Javascript disabled in a section page of a course using paged mode
     
    4545    And I set the following fields to these values:
    4646      | Course layout | Show one section per page |
    47     And I press "Save changes"
     47    And I press "Save and display"
    4848    And I add a "Forum" to section "2" and I fill the form with:
    4949      | Forum name | Test forum name |
    5050      | Description | Test forum description |
    5151    When I follow "Topic 2"
    52     Then "#section-1" "css_element" should not exist
    53     And "#section-3" "css_element" should not exist
     52    Then "Topic 1" "section" should not exist
     53    And "Topic 3" "section" should not exist
    5454    And "Move down" "link" should not exist
    5555    And "Move up" "link" should not exist
Note: See TracChangeset for help on using the changeset viewer.