Proyectos de Subversion Moodle

Rev

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

Rev 1 Rev 11
Línea 88... Línea 88...
88
    And I am on the "Course 1" course page logged in as student1
88
    And I am on the "Course 1" course page logged in as student1
89
    And I hover over today in the mini-calendar block
89
    And I hover over today in the mini-calendar block
90
    Then I should see "Group Event"
90
    Then I should see "Group Event"
91
    And I am on the "Course 1" course page logged in as student2
91
    And I am on the "Course 1" course page logged in as student2
92
    And I should not see "Group Event"
92
    And I should not see "Group Event"
-
 
93
 
-
 
94
  @javascript
-
 
95
  Scenario: Click on today's course event on the calendar view page's calendar block
-
 
96
    Given I log in as "admin"
-
 
97
    And I create a calendar event with form data:
-
 
98
      | id_eventtype | Site       |
-
 
99
      | id_name      | Site Event |
-
 
100
    And I am on site homepage
-
 
101
    And I turn editing mode on
-
 
102
    And I add the "Calendar" block
-
 
103
    And I configure the "Calendar" block
-
 
104
    And I set the following fields to these values:
-
 
105
      | Page contexts | Display throughout the entire site |
-
 
106
    And I press "Save changes"
-
 
107
    When I am on "Course 1" course homepage
-
 
108
    And I follow "Course calendar"
-
 
109
    And I click on today in the mini-calendar block to view the detail
-
 
110
    Then I should see "Site Event" in the "Calendar" "block"
-
 
111
    And ".popover" "css_element" should not exist