Sha256: ffceef93b968bdad0a611abea94fbd1e487c6a7352f8cadee529d650533bbcc2

Contents?: true

Size: 639 Bytes

Versions: 5

Compression:

Stored size: 639 Bytes

Contents

# encoding: utf-8
require 'acceptance_helper'

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

  it 'allows to filter the rows with the help of a custom filter renered as <select>' do
    select 'Urgent', from: 'grid_f_priority_id'

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

    ['inventore architecto aut', 'veniam tempora', 'doloremque', 'qui animi', 'dolor et corporis'].each do |title|
      expect(page).to have_content(title)
      expect(page).to have_content("Panic! \"#{title}\"")
    end

    expect(page).to have_content("Don't panic")
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

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