Sha256: 9516b2b0a11da05dd3660276f3f6d3a8ddf273d54def399c8d15b77589f5e380
Contents?: true
Size: 826 Bytes
Versions: 12
Compression:
Stored size: 826 Bytes
Contents
# encoding: utf-8 require 'acceptance_helper' describe 'custom_ordering with Ruby WiceGrid', type: :request, js: true do before :each do visit '/custom_ordering_with_ruby' end it 'should be sorted by the number of vowels' do within 'div#grid.wice-grid-container table.wice-grid' do within 'tbody tr:first-child' do expect(page).to have_content('New') end within 'thead' do click_on 'Status Name' expect(page).to have_selector('i.fa-arrow-down') end expect(page).to have_selector('tbody tr:first-child td.sorted', text: 'New') within 'thead' do click_on 'Status Name' expect(page).to have_selector('i.fa-arrow-up') end expect(page).to have_selector('tbody tr:first-child td.sorted', text: 'Verified') end end end
Version data entries
12 entries across 12 versions & 2 rubygems