MDL-80019 mod_bigbluebuttonbn: Use updated completion field names

Field names for the completion conditions have been updated since 4.3.
So the fields names should also be updated in the test.
This commit is contained in:
Jun Pataleta 2023-11-07 11:43:16 +08:00
parent b72a0b28ec
commit f5e4a1f487
No known key found for this signature in database
GPG Key ID: F83510526D99E2C7

View File

@ -44,8 +44,8 @@ Feature: I can edit a bigbluebutton instance
And I am on the "RoomRecordings" "bigbluebuttonbn activity editing" page logged in as "admin"
And I expand all fieldsets
And I set the following fields to these values:
| Completion tracking | Show activity as complete when conditions are met |
| Require view | 1 |
| Add requirements | 1 |
| View the activity | 1 |
And I press "Save and return to course"
And I log out
# Then I visit the page first to make sure that completion settings are locked.
@ -54,6 +54,6 @@ Feature: I can edit a bigbluebutton instance
And I am on the "RoomRecordings" "bigbluebuttonbn activity editing" page logged in as "admin"
When I expand all fieldsets
Then I should see "Completion options locked"
And the "Require view" "field" should be disabled
And the "completionattendanceenabled" "field" should be disabled
And the "View the activity" "field" should be disabled
And the "Require attendance (minutes)" "field" should be disabled
And the "Chats" "field" should be disabled