Proyectos de Subversion Moodle

Rev

| Ultima modificación | Ver Log |

Rev Autor Línea Nro. Línea
1 efrain 1
@mod @mod_bigbluebuttonbn @javascript
2
Feature: I can create a bigbluebuttonbn instance with default server
3
    In case the BigBlueButton server has not been configured
4
    As a user
5
    I want to see a notification message
6
 
7
  Background:  Make sure that a course is created
8
    Given I enable "bigbluebuttonbn" "mod" plugin
9
    And the following "courses" exist:
10
      | fullname    | shortname   | category |
11
      | Test course | Test course | 0        |
12
    And the following "users" exist:
13
      | username | firstname | lastname | email                 |
14
      | user1    | User1G1       | 1        | user1@example.com    |
15
      | teacher1 | TeacherG1     | 1        | teacher1@example.com |
16
    And the following "course enrolments" exist:
17
      | user     | course          | role    |
18
      | user1    | Test course     | student |
19
      | teacher1 | Test course     | editingteacher |
20
    And the following "activities" exist:
21
      | activity        | course          | name                | type |
22
      | bigbluebuttonbn | Test course     | BBB Instance name   | 0    |
23
      | bigbluebuttonbn | Test course     | BBB Instance name 2 | 1    |
24
      | bigbluebuttonbn | Test course     | BBB Instance name 3 | 2    |
25
    And I am on the "Test course" "course" page logged in as "admin"
26
 
27
  Scenario Outline: Add an activity using default server for the three types of instance types
28
    When I change window size to "large"
29
    And I add a bigbluebuttonbn activity to course "Test course" section "1"
30
    And I select "<type>" from the "Instance type" singleselect
31
    Then I should see "Restrict access"
32
 
33
    Examples:
34
      | type                          |
35
      | Room with recordings          |
36
      | Room only                     |
37
      | Recordings only               |
38
 
39
  Scenario Outline: Users should see a notification message when accessing activities if the default server is used
40
    When I am on the "BBB Instance name" Activity page logged in as <user>
41
    Then "Join session" "link" should exist
42
    And I <messageexist> "<shouldseemessage>"
43
 
44
    Examples:
45
      | user       | shouldseemessage | messageexist |
46
      | user1      | The BigBlueButton server credentials will soon expire. | should not see |
47
      | teacher1   | The BigBlueButton server credentials will soon expire. | should see |
48
      | admin      | The BigBlueButton server credentials will soon expire. | should see |