Sha256: 9eb3b0987b999f0c52d923b26f13e002497d2661e8ed9f8a351f19e53fa0f3d3

Contents?: true

Size: 678 Bytes

Versions: 5

Compression:

Stored size: 678 Bytes

Contents

require 'acceptance_helper'

describe "On the page /upper_pagination_panel with the upper_pagination_panel parameter for the grid WiceGrid", :type => :request do
  before :each do
    visit '/upper_pagination_panel'
  end

  if ALL_TESTS
    include_examples "basic task table specs"
    include_examples "names of columns"
  end

  it "shows the upper pagination panel" do
    skip "This test should be run with BROWSER=y in environment" unless ENV['BROWSER']
    expect(page).to have_selector('table.wice-grid thead tr td .pagination li.active')

    within 'table.wice-grid thead tr td .pagination_status' do
      expect(page).to have_content('1-20 / 50')
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
wice_grid-7.1.4 spec/features/upper_pagination_panel_request_spec.rb
wice_grid-7.1.3 spec/features/upper_pagination_panel_request_spec.rb
wice_grid-7.1.2 spec/features/upper_pagination_panel_request_spec.rb
wice_grid-7.1.1 spec/features/upper_pagination_panel_request_spec.rb
wice_grid-7.1.0 spec/features/upper_pagination_panel_request_spec.rb