mozilla/Socorro-Tests — pull request #153 by m8ttyB (2012-08-14 22:11:35+00:00)
Title: Robustify search

@stephendonner discovered a curiously sporadic failure -- search tests could (and would) sporadically fail if the onfocus event wasn't given enough time to fire when Webdriver executed send_keys(Keys.RETURN). The result was that a search would include the appended helper text, 'Find Crash ID or Signature'.

After discussion with @Lonnen & @stephendonner we agreed the PO could exclude the onfocus event only focusing on executing and returning search results.

I've added a clear() to ensure the default helper text is no longer in the field before send_keys(crash_id_or_signature).