Sha256: d2e52599ef380fcb78194486301598a204a2fa829d5aacc981308ab1fbf8cd4f

Contents?: true

Size: 964 Bytes

Versions: 1

Compression:

Stored size: 964 Bytes

Contents

@javascript
Feature: Navbox
  As a Casual site user
  I want to be able search for site content

  Scenario: quick search
    Given I go to the homepage
    And I fill in "_keyword" with "Joe"
# possible to use placeholder?
    And I wait a sec
    Then I should see "Joe Camel"
    And I should see "JoeNow"
    Then I press enter to search
#When I follow "search: Joe"
# fixme: unable to click link so far...
    And I wait a sec
    Then I should see "Search results"

  Scenario: wql search
    Given I go to the homepage
    And I fill in "_keyword" with '{"type":"User"}'
    Then I press enter to search
    And I wait a sec
    Then I should see "Search results"
    And I should see "Big Brother"

  Scenario: paging
    Given I go to the homepage
    And I fill in "_keyword" with "skin"
    Then I press enter to search
    Then I should see "Search results"
    And I should see "Sample Skin"
    When I click on "2"
    Then I should see "minty skin"

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
decko-0.2 features/navbox.feature