def test_autocomplete(field, options = {}) fill_in field, :with => options[:with] page.execute_script("$('##{field}').trigger('focus');") page.execute_script ("$('##{field}').trigger...

page.execute_script %Q{ $('"#{location}"').val('"#{text}"').keydown(); } sleep(3) page.execute_script %Q{ $('.ui-menu-item a:contains("#{target}")').trigger('mouseenter...

Best results in other decks

unpoly.com

Quick reference for passing data from Rails to JavaScript via Unpoly compilers. Haml Attribute Syntax # Ising hash rockets and string...

unpoly.com

Quick guide for frequently used compiler selector patterns of Unpoly. 1. BEM Component Pattern When: Reusable UI components with multiple...

Search in all decks