Sha256: c597b49613c7827b147c10acf052af9ad94a7f3a54df9750e6924434dd87fba5

Contents?: true

Size: 825 Bytes

Versions: 5

Compression:

Stored size: 825 Bytes

Contents

# encoding: utf-8
require 'acceptance_helper'

describe 'On the page /disable_all_filters with show_filters: :no as a grid parameter WiceGrid', type: :request, js: true do
  before :each do
    visit '/disable_all_filters'
  end

  it 'does not render filters' do
    expect(page).to have_no_selector('#grid_f_id_fr')
    expect(page).to have_no_selector('#grid_f_id_to')
    expect(page).to have_no_selector('#grid_f_description')
    expect(page).to have_no_selector('#grid_f_created_at_fr_year')
    expect(page).to have_no_selector('#grid_f_created_at_fr_month')

    expect(page).to have_no_selector('#grid_f_created_at_to_year')
    expect(page).to have_no_selector('#grid_f_created_at_to_month')

    expect(page).to have_no_selector('#grid_f_title')
    expect(page).to have_no_selector('#grid_f_archived')
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

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