Sha256: 658eddd432870f95f9d75ee31a215943cc7bd8bed955bb6630cf2b2ae576ad11

Contents?: true

Size: 1.4 KB

Versions: 14

Compression:

Stored size: 1.4 KB

Contents

@javascript
Feature: paging
  In order to see limited items per page
  As an Viewer
  I want to have paging function

  Background:
    Given I am signed in as Joe Admin
    And I create Search card "basic card search" with content "{\"type\":\"basic\"}"

  Scenario: jump to pages should keep the item structure
    When I create HTML card "basic item structure" with content "{{_|name}}"
    And I create HTML card "list all basic cards" with content "{{basic card search||content;structure:basic item structure}}"
    And I go to card "list all basic cards"
    And I click "2" within ".paging"
    And I wait for ajax response
    Then I should see css class ".STRUCTURE-basic_item_structure" within ".search-result-item"
    And I click "3" within ".paging"
    And I wait for ajax response
    Then I should see css class ".STRUCTURE-basic_item_structure" within ".search-result-item"

  Scenario: jump to pages should keep the item view
    When I create HTML card "list basic types" with content "{{basic card search|open|closed}}"
    And I go to card "list basic types"
    And I click "2" within ".paging"
    And I wait for ajax response
    Then I should see css class ".closed-view" within ".search-result-item"
    And I click "3" within ".paging"
    And I wait for ajax response
    Then I should see css class ".TYPE-search.open-view"
    Then I should see css class ".closed-view" within ".search-result-item"



Version data entries

14 entries across 14 versions & 2 rubygems

Version Path
wagn-1.21.1 features/paging.feature
decko-0.3.3 features/paging.feature
decko-0.3.2 features/paging.feature
decko-0.3.1 features/paging.feature
decko-0.3.0 features/paging.feature
decko-0.2.2 features/paging.feature
decko-0.2.1 features/paging.feature
decko-0.2 features/paging.feature
decko-0.1 features/paging.feature
wagn-1.21.0 features/paging.feature
wagn-1.20.4 features/paging.feature
wagn-1.20.3 features/paging.feature
wagn-1.20.2 features/paging.feature
wagn-1.20.1 features/paging.feature