Proyectos de Subversion Moodle

Rev

| Ultima modificación | Ver Log |

Rev Autor Línea Nro. Línea
1 efrain 1
@mod @mod_bigbluebuttonbn @core_form @course
2
Feature: The recording can be managed through the room page and as a user I can interact with the table
3
 
4
  Background:  Make sure that import recording is enabled and course, activities and recording exists
5
    Given a BigBlueButton mock server is configured
6
    And I enable "bigbluebuttonbn" "mod" plugin
7
    And the following "courses" exist:
8
      | fullname      | shortname | category |
9
      | Test Course 1 | C1        | 0        |
10
    And the following "users" exist:
11
      | username | firstname | lastname | email             |
12
      | user1    | User      | 1        | user1@example.com |
13
    And the following "activities" exist:
14
      | activity        | name           | intro                           | course | idnumber         | type | recordings_imported |
15
      | bigbluebuttonbn | RoomRecordings | Test Room Recording description | C1     | bigbluebuttonbn1 | 0    | 0                   |
16
    And the following "mod_bigbluebuttonbn > meeting" exists:
17
      | activity | RoomRecordings |
18
    And the following "mod_bigbluebuttonbn > recordings" exist:
19
      | bigbluebuttonbn | name        | description   | status | starttime |
20
      | RoomRecordings  | Recording 1 | Description 1 | 2      | 1619666194  |
21
      | RoomRecordings  | Recording 2 | Description 2 | 2      | 1639668194  |
22
      | RoomRecordings  | Recording 3 | Description 3 | 2      | 1629666194  |
23
      | RoomRecordings  | Recording 4 | Description 4 | 2      | 1649666194  |
24
 
25
  @javascript
26
  Scenario: Recording should be sortable by date
27
    Given I am on the "RoomRecordings" "bigbluebuttonbn activity" page logged in as admin
28
    When I click on "th[data-yui3-col-id='date'] .yui3-datatable-sort-indicator" "css_element"
29
    And "Recording 1" "text" should appear before "Recording 3" "text"
30
    And "Recording 3" "text" should appear before "Recording 2" "text"
31
    And "Recording 2" "text" should appear before "Recording 4" "text"
32
    And I click on "th[data-yui3-col-id='date'] .yui3-datatable-sort-indicator" "css_element"
33
    Then "Recording 1" "text" should appear after "Recording 3" "text"
34
    And "Recording 3" "text" should appear after "Recording 2" "text"
35
    And "Recording 2" "text" should appear after "Recording 4" "text"