Proyectos de Subversion Moodle

Rev

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

Rev 1 Rev 1441
Línea 85... Línea 85...
85
    And I switch to the main window
85
    And I switch to the main window
86
    And the BigBlueButtonBN activity "BBB Instance name" has sent recording all its events
86
    And the BigBlueButtonBN activity "BBB Instance name" has sent recording all its events
87
    And I run all adhoc tasks
87
    And I run all adhoc tasks
88
    When I reload the page
88
    When I reload the page
89
    Then I should see "Done: Raise hand twice in a meeting."
89
    Then I should see "Done: Raise hand twice in a meeting."
-
 
90
 
-
 
91
  @javascript
-
 
92
  Scenario: I check that custom events are triggered and sent to subplugin when enabled
-
 
93
    Given a BigBlueButton mock server is configured
-
 
94
    And the following config values are set as admin:
-
 
95
      | bigbluebuttonbn_meetingevents_enabled | 1 |
-
 
96
    And the following "users" exist:
-
 
97
      | username | firstname | lastname | email                 |
-
 
98
      | traverst | Terry     | Travers  | t.travers@example.com |
-
 
99
    And the following "course enrolments" exist:
-
 
100
      | user     | course      | role    |
-
 
101
      | traverst | Test course | student |
-
 
102
    And the following "mod_bigbluebuttonbn > meeting" exists:
-
 
103
      | activity | BBB Instance name |
-
 
104
    And I log out
-
 
105
    And I am on the "BBB Instance name" "bigbluebuttonbn activity" page logged in as "traverst"
-
 
106
    And I click on "Join session" "link"
-
 
107
    And I switch to "bigbluebutton_conference" window
-
 
108
    And I wait until the page is ready
-
 
109
    And I follow "End Meeting"
-
 
110
    And the BigBlueButtonBN server has received the following events from user "traverst":
-
 
111
      | instancename      | eventtype | eventdata |
-
 
112
      | BBB Instance name | chats     | 1         |
-
 
113
    # Selenium driver does not like the click action to be done before we
-
 
114
    # automatically close the window so we need to make sure that the window
-
 
115
    # is closed before.
-
 
116
    And I close all opened windows
-
 
117
    And I switch to the main window
-
 
118
    And the BigBlueButtonBN activity "BBB Instance name" has sent recording all its events
-
 
119
    And I log out
-
 
120
    And I log in as "admin"
-
 
121
    And I run all adhoc tasks
-
 
122
    When I am on fixture page "/mod/bigbluebuttonbn/tests/behat/fixtures/show_simpleplugin_values.php"
-
 
123
    Then I should see "(BBB Instance name): meetingevents: 1"