Sha256: 533027424c0389816f4b7f2553989e9057d238b67ce758b2a2ab5f388588031b

Contents?: true

Size: 709 Bytes

Versions: 5

Compression:

Stored size: 709 Bytes

Contents

# encoding: utf-8
require 'acceptance_helper'

describe 'On the page /negation with negation: true WiceGrid', type: :request, js: true do
  before :each do
    visit '/negation'
  end

  it 'allows to negate the semantics of the filter for the field' do
    fill_in('grid_f_title_v', with: 'sed')
    select 'no', from: 'grid_f_archived'

    find(:css, '#grid_submit_grid_icon').click

    expect(page).to have_content('sed impedit iste')
    expect(page).to have_no_content('ut ipsum excepturi')

    find(:css, '#grid_f_title_n').click

    find(:css, '#grid_submit_grid_icon').click

    expect(page).to have_no_content('sed impedit iste')
    expect(page).to have_content('ut ipsum excepturi')
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

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