Sha256: f6272c936db263e69726779b25f2c2e0f249cef28df817d8d1e0c29cabd25daf

Contents?: true

Size: 615 Bytes

Versions: 5

Compression:

Stored size: 615 Bytes

Contents

# encoding: utf-8
require 'acceptance_helper'

describe 'On the page /basics6 with the parameters :order and :order_direction in initialize_grid WiceGrid',  js: true do
  before :each do
    visit '/basics6'
  end

  it 'initailly sorded the rows sorted by Title' do
    within 'div.wice-grid-container table.wice-grid thead th.sorted a.desc' do
      expect(page).to have_content('Title')
    end
  end

  it 'the table does not have records with Archived==no' do
    click_on 'show all'

    within 'div.wice-grid-container table.wice-grid tbody' do
      expect(page).to have_no_content('Yes')
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

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