Sha256: 2d5a86befd0c787fb382ef41f0ef2f5f8d17522d097d4a0d1d7303312a2acd23

Contents?: true

Size: 1.57 KB

Versions: 1

Compression:

Stored size: 1.57 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"

 @javascript
  Scenario: I have files on my dashboard I should see icons 
    Given I load scholarsphere fixtures
    And I am logged in as "archivist1"
    And I follow "dashboard"
    Then I should see "Test Document Text"
    Given I follow "Delete"
    Then I should see "The file has been deleted"

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
sufia-0.0.1.pre1 features/display_dashboard.feature