Sha256: e997ec533e62dd8826d4038c4659d90cbbee3a8d6a83d726f810f6188b985d6e

Contents?: true

Size: 1.58 KB

Versions: 4

Compression:

Stored size: 1.58 KB

Contents

@dashboard
Feature: Dashboard
  In order to see recent changes to my website
  As an administrator
  I want to use the dashboard
  
  Background:
    Given I am a logged in refinery user
    When I go to the Dashboard

   Scenario: Add New Page Button
    When I follow "Add a new page"
    Then I should be on the new page form
    When I fill in "Title" with "Page test from Dashboard"
    And I press "Save"
    Then I should be on the dashboard
    And I should see "'Page test from Dashboard' was successfully created."
    And I should see "Page test from dashboard page was created"

   Scenario: Update a Page Button
    When I follow "Update a page"
    Then I should be on the list of pages

    Scenario: Upload a File Button
    When I follow "Upload a file"
    Then I should be on the new file form

  Scenario: Upload an Image Button
    When I follow "Upload an image"
    Then I should be on the new image form

   Scenario: See Home Page Button
    When I follow "See home page"
    Then I should be on the home page

  Scenario: Translation options available
    Then I should see "English Change Language"
    
  Scenario: Change Language to Slovenian and back to English
    When I follow "English Change Language"
    And I follow "Slovenian"
    Then I should be on the dashboard
    And I should see "Slovenian Spremeni Jezik"
    And I should not see "Switch to your website"
    # Back to English
    When I follow "Slovenian Spremeni Jezik"
    And I follow "English"
    Then I should be on the dashboard
    And I should see "Switch to your website"
    And I should not see "Spremeni Jezik"

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
refinerycms-0.9.7.15 features/refinery/dashboard.feature
refinerycms-0.9.7.14 features/refinery/dashboard.feature
refinerycms-0.9.7.13 features/refinery/dashboard.feature
refinerycms-0.9.7.11 features/refinery/dashboard.feature