X7ROOT File Manager
Current Path:
/home/cbholdings/pasukulu/blocks/private_files/tests/behat
home
/
cbholdings
/
pasukulu
/
blocks
/
private_files
/
tests
/
behat
/
📁
..
📄
block_private_files_activity.feature
(1.52 KB)
📄
block_private_files_course.feature
(1.33 KB)
📄
block_private_files_dashboard.feature
(1.09 KB)
📄
block_private_files_frontpage.feature
(1.42 KB)
Editing: block_private_files_dashboard.feature
@block @block_private_files @_file_upload @javascript Feature: The private files block allows users to store files privately in moodle on dashboard In order to store a private file in moodle As a user I can upload the file to my private files area using the private files block on the dashboard Scenario: Upload a file to the private files block from the dashboard Given the following "users" exist: | username | firstname | lastname | email | | teacher1 | Teacher | 1 | teacher1@example.com | And the following "blocks" exist: | blockname | contextlevel | reference | pagetypepattern | defaultregion | | private_files | System | 1 | my-index | side-post | And I log in as "teacher1" And "Private files" "block" should exist And I should see "No files available" in the "Private files" "block" When I follow "Manage private files..." And I upload "blocks/private_files/tests/fixtures/testfile.txt" file to "Files" filemanager And I press "Save changes" Then I should see "testfile.txt" in the "Private files" "block"
Upload File
Create Folder