Proyectos de Subversion Moodle

Rev

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

Rev 1 Rev 1441
Línea 49... Línea 49...
49
    And I click on "Highlight" "link" in the "Section 3" "section"
49
    And I click on "Highlight" "link" in the "Section 3" "section"
50
    And I should see "Highlighted" in the "Section 3" "section"
50
    And I should see "Highlighted" in the "Section 3" "section"
51
    When I open section "3" edit menu
51
    When I open section "3" edit menu
52
    And I click on "Unhighlight" "link" in the "Section 3" "section"
52
    And I click on "Unhighlight" "link" in the "Section 3" "section"
53
    Then I should not see "Highlighted" in the "Section 3" "section"
53
    Then I should not see "Highlighted" in the "Section 3" "section"
-
 
54
 
-
 
55
  Scenario: Highlight and unhighlight a section can be done without ajax
-
 
56
    # Without javascript hidden elements cannot be detected with a simple I should see step.
-
 
57
    Given ".section.current" "css_element" should not exist
-
 
58
    When I click on "Highlight" "link" in the "Section 2" "core_courseformat > Section actions menu"
-
 
59
    Then ".section.current[data-number='2']" "css_element" should exist
-
 
60
    And  I click on "Unhighlight" "link" in the "Section 2" "core_courseformat > Section actions menu"
-
 
61
    And ".section.current" "css_element" should not exist