Sha256: 8aa3b5dd8c63fc4ae671f975746f38bcc4ce83f4ada46ecb3fc8991f080aee38
Contents?: true
Size: 547 Bytes
Versions: 20
Compression:
Stored size: 547 Bytes
Contents
Then /^async verify that number of "(.*)" records is "(.*)"$/ do |klass, count| wait_until { page.evaluate_script("jQuery.active === 0") } klass.constantize.count.should == count.to_i end Then /^async click "(.*)"$/ do |text| wait_until { page.evaluate_script("jQuery.active === 0") } page.evaluate_script('window.confirm = function() { return true; }') page.click_link_or_button(text) end Then /^asyc I should see "(.*)"$/ do |text| wait_until { page.evaluate_script("jQuery.active === 0") } page.should have_content(text) end
Version data entries
20 entries across 20 versions & 2 rubygems