Sha256: 59a34f3e9c4b2d5ecd2d9cf1dc06d40dea5cda96bb4ac78505a98c7ed6ce87f3
Contents?: true
Size: 1.44 KB
Versions: 10
Compression:
Stored size: 1.44 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\", \"limit\":2}" 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 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" 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 until ajax response done Then I should see css class ".closed-view" within ".search-result-item" And I click "3" within ".paging" And I wait until ajax response done 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
10 entries across 10 versions & 1 rubygems