Proyectos de Subversion Moodle

Rev

Rev 1 | Mostrar el archivo completo | | | Autoría | Ultima modificación | Ver Log |

Rev 1 Rev 1441
Línea 24... Línea 24...
24
    And I log in as "teacher"
24
    And I log in as "teacher"
25
    And I am on "Course" course homepage with editing mode on
25
    And I am on "Course" course homepage with editing mode on
Línea 26... Línea 26...
26
 
26
 
27
  Scenario: The activity chooser icon is hidden by default and be made visible on hover
27
  Scenario: The activity chooser icon is hidden by default and be made visible on hover
28
    Given I hover ".navbar-brand" "css_element"
28
    Given I hover ".navbar-brand" "css_element"
29
    And "Insert an activity or resource before 'Test Forum'" "button" should not be visible
29
    And "Insert content before 'Test Forum'" "button" should not be visible
30
    When I hover "Insert an activity or resource before 'Test Forum'" "button"
30
    When I hover "Insert content before 'Test Forum'" "button"
-
 
31
    Then "Insert content before 'Test Forum'" "button" should be visible
-
 
32
    And I hover "Insert content in section 'New section'" "button"
Línea 31... Línea 33...
31
    Then "Insert an activity or resource before 'Test Forum'" "button" should be visible
33
    Then "Insert content in section 'New section'" "button" should be visible
-
 
34
 
32
 
35
  Scenario: The activity chooser can be used to insert modules before existing modules
33
  Scenario: The activity chooser can be used to insert modules before existing modules
36
    Given I change window size to "large"
34
    Given I hover "Insert an activity or resource before 'Test Forum'" "button"
37
    And I hover "Insert content before 'Test Forum'" "button"
35
    And I press "Insert an activity or resource before 'Test Forum'"
38
    And I press "Insert content before 'Test Forum'"
36
    And I should see "Add an activity or resource" in the ".modal-title" "css_element"
39
    And I click on "Activity or resource" "button" in the ".dropdown-menu.show" "css_element"
37
    When I click on "Add a new Assignment" "link" in the "Add an activity or resource" "dialogue"
40
    When I click on "Add a new Assignment" "link" in the "Add an activity or resource" "dialogue"
38
    And I set the following fields to these values:
41
    And I set the following fields to these values:
39
      | Assignment name | Test Assignment |
42
      | Assignment name | Test Assignment |