Sha256: 0df28977637e1494a8b89af51c089ecc9b665440693bdf13c23dd6a1716b3544

Contents?: true

Size: 808 Bytes

Versions: 15

Compression:

Stored size: 808 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

   @celerity
   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/jp2_fits.xml" to "files[]"
    And I press "Start upload"
    Then I should see "You must accept the terms of service!"

Version data entries

15 entries across 15 versions & 1 rubygems

Version Path
sufia-2.0.1 features/ingest_upload_files.feature
sufia-2.0.0 features/ingest_upload_files.feature
sufia-1.3.0 features/ingest_upload_files.feature
sufia-1.2.0 features/ingest_upload_files.feature
sufia-1.1.0 features/ingest_upload_files.feature
sufia-1.0.0 features/ingest_upload_files.feature
sufia-0.1.0 features/ingest_upload_files.feature
sufia-0.0.8 features/ingest_upload_files.feature
sufia-0.0.7 features/ingest_upload_files.feature
sufia-0.0.6 features/ingest_upload_files.feature
sufia-0.0.5 features/ingest_upload_files.feature
sufia-0.0.4 features/ingest_upload_files.feature
sufia-0.0.3 features/ingest_upload_files.feature
sufia-0.0.2 features/ingest_upload_files.feature
sufia-0.0.1 features/ingest_upload_files.feature