Sha256: b95fa19c063bd42e93b67475fa813256887348b22a895c8559f4cc88d1647510

Contents?: true

Size: 777 Bytes

Versions: 10

Compression:

Stored size: 777 Bytes

Contents

@refinerycms @site_bar
Feature: Site Bar
  In order to allow administrators to easily switch between editing and viewing their website
  I want logged in refinery users to see a site bar
  And I want logged in customers to not see a site bar

  Background:
    Given I have a page titled "Home" with a custom url "/"
    And I am not logged in

  Scenario: Not logged in
    When I go to the home page
    Then I should not see "Log out"

  Scenario: Logged in as a Refinery user
    Given I am a logged in refinery user
    When I go to the home page
    Then I should see "Log out"

  Scenario: Logged in as a customer
    Given A Refinery user exists
    And I am a logged in customer
    When I go to the home page
    Then I should not see "Switch to your website editor"

Version data entries

10 entries across 10 versions & 2 rubygems

Version Path
refinerycms-core-0.9.9.10 features/site_bar.feature
refinerycms-core-0.9.9.9 features/site_bar.feature
refinerycms-core-0.9.9.8 features/site_bar.feature
refinerycms-core-0.9.9.7 features/site_bar.feature
refinerycms-core-0.9.9.5 features/site_bar.feature
refinerycms-core-0.9.9.4 features/site_bar.feature
refinerycms-core-0.9.9.3 features/site_bar.feature
refinerycms-core-0.9.9.2 features/site_bar.feature
refinerycms-core-0.9.9.1 features/site_bar.feature
refinerycms-0.9.9 core/features/site_bar.feature