def test_autocomplete(field, options = {}) fill_in field, :with => options[:with] page.execute_script("$('##{field}').trigger('focus');") page.execute_script ("$('##{field}').trigger...
Best results in other decks
Frontend performance and user experience are orthogonal to feature development. If care is not taken, adding features usually degrades frontend...
When you repeat complex assertions in your tests multiple times, it might be a good idea to extract a custom...