Sha256: 84c1660e5910e2f095e8f5b61440979042213538a0eb3d7f49e2e61892e8c3db

Contents?: true

Size: 1.61 KB

Versions: 3

Compression:

Stored size: 1.61 KB

Contents

Feature: As an authenticate and authorized
  user when viewing my dashboard I see all 
  the objects I have access to 

  Scenario: I am on the homepage and want to view dashboard 
    Given I am logged in as "contentauthor@psu.edu"
    And I follow "dashboard" 
    Then I should see "Dashboard"

  Scenario: I am on the homepage and I want to search dashboard
    Given I am logged in as "contentauthor@psu.edu"
    And I follow "dashboard" 
    When I fill in "dashboard_search" with "dash search"
    When I press "dashboard_submit"
    Then I should see "Dashboard"
    And I should see "You searched for: dash search"
    Then the "search-field-header" field should not contain "dash search"

  Scenario: I am on the dashboard and want to upload files
    Given I am logged in as "contentauthor@psu.edu"
    And I follow "dashboard" 
    And I follow "Upload File(s)" 
    Then I should see "Upload"

  Scenario: I am on the dashboard and want to search SS
    Given I am logged in as "contentauthor@psu.edu"
    And I follow "dashboard" 
    When I fill in "search-field-header" with "ss search"
    When I press "search-submit-header"
    Then I should see "You searched for: ss search"
    Then I should not see "Dashboard"
    Then the "search-field-header" field should contain "ss search"

  @culerity
  Scenario: I have files on my dashboard I should see icons 
    #Given I load sufia fixtures
    And I am logged in as "archivist1@example.com"
    And I follow "dashboard"
    Then I should see "Test Document Text"
    When I follow the link within "a[href='/files/test3'].itemtrash"
    Then I should see "The file has been deleted"

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
sufia-2.0.1 features/display_dashboard.feature
sufia-2.0.0 features/display_dashboard.feature
sufia-1.3.0 features/display_dashboard.feature