Skip to content

Commit

Permalink
MDL-59725 assignsubmission_file: Don't use click interface in behat
Browse files Browse the repository at this point in the history
  • Loading branch information
xow committed Aug 7, 2017
1 parent 29b3186 commit 5d9e7ab
Showing 1 changed file with 2 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 5d9e7ab

Please sign in to comment.