Skip to content

Commit

Permalink
fix behat: add block settings
Browse files Browse the repository at this point in the history
  • Loading branch information
ferishili committed Dec 5, 2024
1 parent 4429ab4 commit 4becb3c
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions tests/behat/tool_opencast_maintenace.feature
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,14 @@ Feature: Configure and check maintenance
| apipassword_1 | opencast | tool_opencast |
| apiusername_1 | admin | tool_opencast |
| ocinstances | [{"id":1,"name":"Default","isvisible":true,"isdefault":true}] | tool_opencast |
| limituploadjobs_1 | 0 | block_opencast |
| group_creation_1 | 0 | block_opencast |
| group_name_1 | Moodle_course_[COURSEID] | block_opencast |
| series_name_1 | Course_Series_[COURSEID] | block_opencast |
| enablechunkupload_1 | 0 | block_opencast |
| uploadworkflow_1 | schedule-and-upload | block_opencast |
| enableuploadwfconfigpanel_1 | 1 | block_opencast |
| alloweduploadwfconfigs_1 | straightToPublishing | block_opencast |

@javascript
Scenario: As an admin I should be able to configure the maintenance for an instance
Expand Down Expand Up @@ -85,6 +93,9 @@ Feature: Configure and check maintenance
| maintenancemode_message_1 | Opencast Maintenance Notification | tool_opencast |
| maintenancemode_startdate_1 | {"enabled":false} | tool_opencast |
| maintenancemode_enddate_1 | {"enabled":false} | tool_opencast |
| maintenancemode_enddate_1 | {"enabled":false} | tool_opencast |
| maintenancemode_enddate_1 | {"enabled":false} | tool_opencast |
| maintenancemode_enddate_1 | {"enabled":false} | tool_opencast |
When I reload the page
And I click on "Add video" "button"
Then I should see "Opencast Maintenance Notification" in the "#user-notifications" "css_element"
Expand Down

0 comments on commit 4becb3c

Please sign in to comment.