Sha256: f96269906c8f040480ec15bb58e11cde9e365f70c1653f8421257447fb54075b

Contents?: true

Size: 1.65 KB

Versions: 4

Compression:

Stored size: 1.65 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
    And my locale is en
    When I go to the Dashboard

  Scenario: Add New Page Button
    Given I have no pages
    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 have 1 page

  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
    When I go to the Dashboard
    Then I should see "English Change Language"

  Scenario: Change Language to Slovenian and back to English
    When I go to the dashboard
    And 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.8.4 vendor/refinerycms/dashboard/features/dashboard.feature
refinerycms-0.9.8.3 vendor/refinerycms/dashboard/features/dashboard.feature
refinerycms-0.9.8.2 vendor/refinerycms/dashboard/features/dashboard.feature
refinerycms-0.9.8.1 vendor/refinerycms/dashboard/features/dashboard.feature