Sha256: 2fc01d975f3289c800f50b7cfdb44a8942eda0ea39c7174527601a9e5b6bbd51

Contents?: true

Size: 1.54 KB

Versions: 32

Compression:

Stored size: 1.54 KB

Contents

@refinerycms @search
Feature: Search
  In order find content more quickly
  As an administrator
  I want to use search

  Background:
    Given I am a logged in refinery user

  @search-existing
  Scenario Outline: Search Existing Item
    Given I have a <item> titled "<title>"
    When I go to the list of <location>
    And I fill in "search" with "<title>"
    And I press "Search"
    Then I should see "<title>"

    Examples:
      |  item  | title  |   location   |
      |page    |testitem|pages         |
      |setting |testitem|settings      |

  # This will only run when resources engine is installed.
  @search-file
  Scenario: Search File
    When I upload the file at "refinery_is_awesome.txt"
    And I go to the list of files
    And I fill in "search" with "Refinery Is Awesome"
    And I press "Search"
    Then I should see "Refinery Is Awesome"

  # This will only run when images engine is installed.
  @search-image
  Scenario: Search Image
    When I upload the image at "beach.jpeg"
    And I go to the list of images
    And I fill in "search" with "Beach"
    And I press "Search"
    Then I should see "Beach"

  @search-nonexisting
  Scenario Outline: Search Nonexisting Item
    Given I have no <item>
    When I go to the list of <location>
    And I fill in "search" with "nonexisting"
    And I press "Search"
    Then I should see "Sorry, no results found"

    Examples:
      |  item   |   location   |
      |pages    |pages         |
      |images   |images        |
      |files    |files         |
      |settings |settings      |

Version data entries

32 entries across 32 versions & 2 rubygems

Version Path
refinerycms-core-1.0.11 features/search.feature
refinerycms-core-1.0.10 features/search.feature
refinerycms-core-1.0.9 features/search.feature
refinerycms-core-1.0.8 features/search.feature
refinerycms-core-1.0.7 features/search.feature
refinerycms-core-1.0.5 features/search.feature
refinerycms-core-1.0.4 features/search.feature
refinerycms-core-1.0.3 features/search.feature
refinerycms-core-1.0.1 features/search.feature
refinerycms-core-1.0.0 features/search.feature
refinerycms-core-0.9.9.22 features/search.feature
refinerycms-core-0.9.9.21 features/search.feature
refinerycms-core-0.9.9.20 features/search.feature
refinerycms-core-0.9.9.19 features/search.feature
refinerycms-core-0.9.9.18 features/search.feature
refinerycms-core-0.9.9.17 features/search.feature
refinerycms-core-0.9.9.16 features/search.feature
refinerycms-core-0.9.9.15 features/search.feature
refinerycms-core-0.9.9.14 features/search.feature
refinerycms-core-0.9.9.13 features/search.feature