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
Modern CSS offers the field-sizing property to allow elements to automatically adjust size to fit their contents.
When you repeat complex assertions in your tests multiple times, it might be a good idea to extract a custom...