Sindbad~EG File Manager

Current Path : /var/www/html/educasegurospatria.sumar.com.py/mod/bigbluebuttonbn/tests/behat/
Upload File :
Current File : /var/www/html/educasegurospatria.sumar.com.py/mod/bigbluebuttonbn/tests/behat/roles.feature

@mod @mod_bigbluebuttonbn @javascript
Feature: Set role as Bigbluebuttonbn moderator
  In order to set a room moderator
  As admin
  I need to see the list of roles

  Background:
    Given I accept dpa and enable bigbluebuttonbn plugin
    And the following "course" exist:
      | fullname | shortname |
      | Course 1 | C1        |
    And the following "activity" exists:
      | course    | C1              |
      | activity  | bigbluebuttonbn |
      | name      | RoomRecordings  |

  Scenario: Set the manager role as room moderator
    Given I am on the "RoomRecordings" "bigbluebuttonbn activity editing" page logged in as "admin"
    And I set the field "bigbluebuttonbn_participant_selection_type" to "Role"
    And I set the field "bigbluebuttonbn_participant_selection" to "Manager"
    And I click on "bigbluebuttonbn_participant_selection_add" "button"
    And I set the field "select-for-role-1" to "Moderator"
    And I press "Save and display"
    When I am on the "RoomRecordings" "bigbluebuttonbn activity editing" page
    Then "[name=select-for-role-1] option[value=moderator][selected]" "css_element" should exist

Sindbad File Manager Version 1.0, Coded By Sindbad EG ~ The Terrorists