MDL-59725 assignsubmission_file: Don't use click interface in behat
This commit is contained in:
@@ -35,13 +35,10 @@ Feature: In an assignment, limit submittable file types
|
||||
And I press "Save and display"
|
||||
And I navigate to "Edit settings" in current page administration
|
||||
And the field "Accepted file types" matches value "image/png,spreadsheet"
|
||||
And I set the field "Accepted file types" to ""
|
||||
And I press "Choose"
|
||||
And I set the field "Image files" to "1"
|
||||
And I press "Save changes"
|
||||
And I set the field "Accepted file types" to "image"
|
||||
And I press "Save and display"
|
||||
And I navigate to "Edit settings" in current page administration
|
||||
Then the field "Accepted file types" matches value "image"
|
||||
Then I should see "Image files"
|
||||
|
||||
@javascript @_file_upload
|
||||
Scenario: Uploading permitted file types for an assignment
|
||||
|
||||
Reference in New Issue
Block a user