Sha256: 068ca4dc1b4a02af59b66a9773cdba34ff72b1ac0c22c09037c8663187009759

Contents?: true

Size: 926 Bytes

Versions: 15

Compression:

Stored size: 926 Bytes

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\", \"limit\":2}"
    And 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}}"

  Scenario: jump to pages should keep the item structure
    When I go to card "list all basic cards"
    And I click "2" within ".paging"    
    And I wait until ajax response done
    Then I should see css class ".STRUCTURE-basic_item_structure" within ".search-result-item"
    And I click "3" within ".paging"    
    And I wait until ajax response done
    Then I should see css class ".STRUCTURE-basic_item_structure" within ".search-result-item"

Version data entries

15 entries across 15 versions & 1 rubygems

Version Path
wagn-1.18.3 features/paging.feature
wagn-1.18.2 features/paging.feature
wagn-1.18.1 features/paging.feature
wagn-1.18.0 features/paging.feature
wagn-1.17.4 features/paging.feature
wagn-1.17.3 features/paging.feature
wagn-1.17.2 features/paging.feature
wagn-1.17.1 features/paging.feature
wagn-1.17.0 features/paging.feature
wagn-1.16.15 features/paging.feature
wagn-1.16.14 features/paging.feature
wagn-1.16.13 features/paging.feature
wagn-1.16.12 features/paging.feature
wagn-1.16.11 features/paging.feature
wagn-1.16.10 features/paging.feature