Sha256: 88c2c47930c8d8ae9f7b8e950d09e40ae54fd05733cbb530daf65033e0aa5778

Contents?: true

Size: 1.06 KB

Versions: 3

Compression:

Stored size: 1.06 KB

Contents

@create @split_button @add_asset
Feature: Create Asset or Dataset Split Button
  In order to create new Assets or Datasets
  As an editor 
  I want to see a button that will let me create a new Article or Dataset
  
  Scenario: Editor views the search results page and sees the buttons to add assets
    Given I am logged in as "archivist1@example.com" 
    Given I am on the base search page
    Then I should see "Add a Basic MODS Asset" within "a.create_asset" 
    Then I should see "Add an Image"   
    Then I should see "Add Generic Content" 
    # Then I should see a link to add a "mods_asset" asset 
    # Then I should see a link to add a "generic_image" asset 
    # Then I should see a link to add a "generic_content" asset
  
  # Need to build this out more
  Scenario: Non-editor views the search results page and sees the buttons to add assets which link to login then create an asset
   Given I am on the base search page
   Then I should see "Add a Basic MODS Asset" within "a.create_asset" 
   Then I should see "Add an Image"
   Then I should see "Add Generic Content" 

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
hydra-head-3.0.0pre3 test_support/features/button_add_assets.feature
hydra-head-3.0.0pre2 test_support/features/button_add_assets.feature
hydra-head-3.0.0pre1 test_support/features/button_add_assets.feature