[ Index ]

PHP Cross Reference of Unnamed Project

title

Body

[close]

/blocks/private_files/tests/behat/ -> block_private_files_dashboard.feature (source)

   1  @block @block_private_files @_file_upload @javascript
   2  Feature: The private files block allows users to store files privately in moodle
   3    In order to store a private file in moodle
   4    As a user
   5    I can upload the file to my private files area using the private files block on the dashboard
   6  
   7    Scenario: Upload a file to the private files block from the dashboard
   8      Given the following "users" exist:
   9        | username | firstname | lastname | email |
  10        | teacher1 | Teacher | 1 | teacher1@example.com |
  11      And I log in as "teacher1"
  12      And "Private files" "block" should exist
  13      And I should see "No files available" in the "Private files" "block"
  14      When I follow "Manage private files..."
  15      And I upload "blocks/private_files/tests/fixtures/testfile.txt" file to "Files" filemanager
  16      And I press "Save changes"
  17      Then I should see "testfile.txt" in the "Private files" "block"


Generated: Thu Aug 11 10:00:09 2016 Cross-referenced by PHPXref 0.7.1