Sha256: bb28d7b182f44211043cb9cbcca96a3cd7462ba107fc63310a5a345b9e4d5500
Contents?: true
Size: 1.25 KB
Versions: 12
Compression:
Stored size: 1.25 KB
Contents
# encoding: utf-8 require 'acceptance_helper' describe 'joining_tables WiceGrid', type: :request, js: true do before :each do visit '/joining_tables' end it 'should have filters for joined tables' do expect(page).to have_field('grid[f][priorities.name]') expect(page).to have_field('grid[f][statuses.name]') expect(page).to have_field('grid[f][projects.name]') expect(page).to have_field('grid[f][users.name]') end it 'should have filter joined tables' do fill_in('grid_f_priorities_name', with: 'Normal') fill_in('grid_f_statuses_name', with: 'Postponed') fill_in('grid_f_projects_name', with: 'Super') fill_in('grid_f_users_name', with: 'Koobus') find(:css, '#grid_submit_grid_icon').click within '.pagination_status' do expect(page).to have_content('1-1 / 1') end within first(:css, 'div.wice-grid-container table.wice-grid tbody tr:first-child td.active-filter') do expect(page).to have_content('Normal') end within first(:css, 'div.wice-grid-container table.wice-grid tbody tr:first-child td') do expect(page).to have_content('508') end within 'div.wice-grid-container table.wice-grid tbody' do expect(page).to have_content('sequi') end end end
Version data entries
12 entries across 12 versions & 2 rubygems