[ Index ]

PHP Cross Reference of Unnamed Project

title

Body

[close]

/repository/upload/tests/behat/ -> upload_file.feature (source)

   1  @repository @repository_upload @_file_upload
   2  Feature: Upload files
   3    In order to add contents
   4    As a user
   5    I need to upload files
   6  
   7    @javascript
   8    Scenario: Upload a file in a multiple file filemanager
   9      Given the following "courses" exist:
  10        | fullname | shortname | category |
  11        | Course 1 | C1 | 0 |
  12      And I log in as "admin"
  13      When I follow "Manage private files..."
  14      And I upload "lib/tests/fixtures/empty.txt" file to "Files" filemanager
  15      Then I should see "1" elements in "Files" filemanager
  16      And I should see "empty.txt" in the "div.fp-content" "css_element"
  17      And I upload "lib/tests/fixtures/empty.txt" file to "Files" filemanager as:
  18        | Save as | empty_copy.txt |
  19      Then I should see "2" elements in "Files" filemanager
  20      And I should see "empty.txt"
  21      And I should see "empty_copy.txt"
  22      And I press "Cancel"


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