AutorÃa | Ultima modificación | Ver Log |
@core @core_user @_file_upload @javascriptFeature: The private files page allows users to store files privately in moodle.In order to store a private file in moodleAs an authenticated userI can upload the file to my private files area from the private files pageBackground:Given the following "users" exist:| username | firstname | lastname | email || user1 | User | 1 | user1@example.com |Scenario: Upload a file to the private files area from the private files pageGiven I log in as "user1"And I follow "Private files" in the user menuAnd I should see "User 1" in the ".page-context-header" "css_element"And I should see "Private files" in the "region-main" "region"And I upload "lib/tests/fixtures/empty.txt" file to "Files" filemanagerWhen I press "Save changes"Then I should see "1" elements in "Files" filemanagerAnd I should see "empty.txt" in the ".fp-content .fp-file" "css_element"