Proyectos de Subversion Moodle

Rev

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

Rev 1 Rev 1441
Línea 13... Línea 13...
13
      | glossary_random | Course       | C1        | course-view-*   | site-post     |
13
      | glossary_random | Course       | C1        | course-view-*   | site-post     |
Línea 14... Línea 14...
14
 
14
 
15
  Scenario: The glossary random block is displayed even when glossary module is disabled
15
  Scenario: The glossary random block is displayed even when glossary module is disabled
16
    When I log in as "admin"
16
    When I log in as "admin"
17
    And I navigate to "Plugins > Activity modules > Manage activities" in site administration
17
    And I navigate to "Plugins > Activity modules > Manage activities" in site administration
18
    And I click on "Disable Glossary" "icon" in the "Glossary" "table_row"
18
    And I toggle the "Disable Glossary" admin switch "off"
19
    And I am on "Course 1" course homepage with editing mode on
19
    And I am on "Course 1" course homepage with editing mode on
Línea 20... Línea 20...
20
    Then "Random glossary entry" "block" should exist
20
    Then "Random glossary entry" "block" should exist
21
 
21
 
Línea 26... Línea 26...
26
    And I click on "Delete Random glossary entry block" "link" in the "Random glossary entry" "block"
26
    And I click on "Delete Random glossary entry block" "link" in the "Random glossary entry" "block"
27
    And "Delete block?" "dialogue" should exist
27
    And "Delete block?" "dialogue" should exist
28
    And I click on "Cancel" "button" in the "Delete block?" "dialogue"
28
    And I click on "Cancel" "button" in the "Delete block?" "dialogue"
29
    And "Random glossary entry" "block" should exist
29
    And "Random glossary entry" "block" should exist
30
    When I navigate to "Plugins > Activity modules > Manage activities" in site administration
30
    When I navigate to "Plugins > Activity modules > Manage activities" in site administration
31
    And I click on "Disable Glossary" "icon" in the "Glossary" "table_row"
31
    And I toggle the "Disable Glossary" admin switch "off"
32
    And I am on "Course 1" course homepage with editing mode on
32
    And I am on "Course 1" course homepage with editing mode on
33
    And I open the "Random glossary entry" blocks action menu
33
    And I open the "Random glossary entry" blocks action menu
34
    And I click on "Delete Random glossary entry block" "link" in the "Random glossary entry" "block"
34
    And I click on "Delete Random glossary entry block" "link" in the "Random glossary entry" "block"
35
    And I click on "Delete" "button" in the "Delete block?" "dialogue"
35
    And I click on "Delete" "button" in the "Delete block?" "dialogue"
36
    Then "Random glossary entry" "block" should not exist
36
    Then "Random glossary entry" "block" should not exist