mirror of
https://github.com/moodle/moodle.git
synced 2025-01-20 06:39:04 +01:00
2904bf9ddf
According to MDLQA-1175; test removed from repository_upload as is included in MDLQA-1175 test
18 lines
597 B
Gherkin
18 lines
597 B
Gherkin
@repository_upload @core_form @repository @_only_local
|
|
Feature: Upload files
|
|
In order to add contents
|
|
As a moodle user
|
|
I need to upload files
|
|
|
|
@javascript
|
|
Scenario: Upload a file in a multiple file filepicker
|
|
Given the following "courses" exists:
|
|
| fullname | shortname | category |
|
|
| Course 1 | C1 | 0 |
|
|
And I log in as "admin"
|
|
And I follow "Admin User"
|
|
And I follow "My private files"
|
|
And I upload "lib/tests/fixtures/empty.txt" file to "Files" filepicker
|
|
Then I should see "empty.txt" in the "div.fp-content" "css_element"
|
|
And I press "Cancel"
|