Sha256: 80d9d68c788f9c76a47a57f6af5fb3e0ed0e4b1dc941483cd1584fd66ae918f1

Contents?: true

Size: 818 Bytes

Versions: 2

Compression:

Stored size: 818 Bytes

Contents

Feature: Uploading files via web form
  In order to add file to my collections
  As an authorized user
  I want to upload files with a web form

  Scenario: Getting to the ingest screen
    Given I am logged in as "contentauthor@psu.edu"
    When I follow "upload" 
    Then I should see "Select files"
    And I should see "Start upload"
    And I should see "Cancel upload"
    And I should see a file chooser button

   @javascript
   Scenario: Upload a file without checking terms of service
    Given I am logged in as "contentauthor@psu.edu"
    When I am on the "ingest" page 
    And I attach the file "spec/fixtures/image.jp2" to "files[]"
    And I attach the file "spec/fixtures/libra-oa_1.foxml.xml" to "files[]"
    And I press "Start upload"
    Then I should see "You must accept the terms of service!"

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
sufia-0.0.1.pre2 features/ingest_upload_files.feature
sufia-0.0.1.pre1 features/ingest_upload_files.feature