Sha256: 33822b250d81323204d40eb22bc3b553a92ce8b2d6b44e1e6251bf38f724fcac

Contents?: true

Size: 1.67 KB

Versions: 4

Compression:

Stored size: 1.67 KB

Contents

@refinerycms @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 added."
    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

  @i18n
  Scenario: Translation options available
    When I go to the Dashboard
    Then I should see "English Change Language"

  @i18n
  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.9 vendor/refinerycms/dashboard/features/dashboard.feature
refinerycms-0.9.8.8 vendor/refinerycms/dashboard/features/dashboard.feature
refinerycms-0.9.8.7 vendor/refinerycms/dashboard/features/dashboard.feature
refinerycms-0.9.8.6 vendor/refinerycms/dashboard/features/dashboard.feature