Skip to content
This repository has been archived by the owner on Dec 23, 2017. It is now read-only.

Miscellaneous updates for Selenium tests. #77

Merged
merged 1 commit into from
Apr 21, 2015

Conversation

jmcarp
Copy link
Contributor

@jmcarp jmcarp commented Apr 20, 2015

Miscellaneous small changes to make Selenium tests pass in Chrome / Firefox.

  • Submit forms using form.submit() rather than input.send_keys(ENTER)
    • Better cross-browser behavior (i.e. doesn't break Firefox)
  • Remove time.sleep calls
    • If waits needed, prefer using Selenium explicit wait
  • Ignore SSL errors when using PhantomJS
  • Allow user to select Selenium webdriver via FEC_SELENIUM_DRIVER
  • Fix a failing test

* Submit forms using `form.submit()` rather than `input.send_keys(ENTER)`
    * Better cross-browser behavior (i.e. doesn't break Firefox)
* Remove `time.sleep` calls
    * If waits needed, prefer using Selenium explicit wait
* Ignore SSL errors when using PhantomJS
* Allow user to select Selenium webdriver via FEC_SELENIUM_DRIVER
* Fix a failing test
arowla added a commit that referenced this pull request Apr 21, 2015
Miscellaneous updates for Selenium tests.
@arowla arowla merged commit 1b61971 into fecgov:master Apr 21, 2015
@jmcarp jmcarp deleted the selenium-config branch April 21, 2015 19:48
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants