Sha256: 5eca37a78ef54617a7696a2c390107bcafcc6bc845da298d3f8b6099b4af5689

Contents?: true

Size: 1.23 KB

Versions: 6

Compression:

Stored size: 1.23 KB

Contents

Feature: Manage Image Blocks
  Content editors should be able to upload images into the content library.

  Background:
    Given the cms database is populated
    And I am logged in as a Content Editor
    And the following images exist:
      | id  | name               |
      | 150 | An LOL Cat Picture |
    Then an image with id "150" should exist

  Scenario: List Images
    When I visit /cms/image_blocks
    Then I should see a page titled "Content Library / List Images"
    And I should see the following content:
      | An LOL Cat Picture |
    And I should see the section search filter


  Scenario: Add New Image
    Given I visit /cms/image_blocks/new
    Then I should see a page titled "Content Library / Add New Image"

  Scenario: Edit an Image
    When I visit /cms/image_blocks/150/edit
    Then I should see a page titled "Content Library / Edit Image"
    And the page header should be "Edit Image 'An LOL Cat Picture'"

  Scenario: Move an Image to another Section
    And the following sections exist:
      | name          |
      | Image Gallery |
    When I visit /cms/image_blocks/150/edit
    And I select "Image Gallery" from "Section"
    And I click on "Save"
    Then the section 150 should be moved to "Image Gallery"





Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
browsercms-3.4.2 features/content_blocks/manage_image_blocks.feature
browsercms-3.4.2.rc1 features/content_blocks/manage_image_blocks.feature
browsercms-3.4.1 features/content_blocks/manage_image_blocks.feature
browsercms-3.4.0 features/content_blocks/manage_image_blocks.feature
browsercms-3.4.0.rc2 features/content_blocks/manage_image_blocks.feature
browsercms-3.4.0.rc1 features/content_blocks/manage_image_blocks.feature