Fix shebang line. This script is portable and does not require bash
which may not be installed on all systems.
don't rely on bash being present: use posix semantics when possible
Allow tooltip.showTooltip to either be called with a reference DOM element or text and an anchor.
if PERSONA_WITH_COVER, do a graceful shutdown so cover can generate .coverage_data
when handline /.well-known/browserid bail out if config proxy_idps is not available; and tests for that
Fixes cancel button issue related to issue #2839
When showing the authentication screen, make sure to hide the warning screens.

* For clarity, rename renderDialog to renderForm.

fixes #2839
Fix IE8 not finding the correct text when a primary goes offline.

* Added a new test helpers - testElementTextContains.
* Use this in the test for primary_offline to see if the primary name has been written to the DOM.
* Remove extra variables that were not used.
Fix IE8 test failures

* console.log does not exist in IE8
* Use testElementTextContains to check whether an element has text.
Fix IE8 blowing up when trying to focus the password field during unit tests.
Add the missing xhr mock request which causes console message.

fixes #2828
Add more info to the comment.
Merge pull request #2851 from shane-tomlinson/issue-2839-no-auth

When showing the authentication screen, make sure to hide the warning screens
Bug 820446 - issue with bugzilla and persona login
Merge pull request #2855 from jedp/820183-bugzilla-verifier

Bug 820446 - issue with bugzilla and persona login
Two changes due to @ozten's suggestions.

1) Make sure testElementTextContains does not blow up if the element is not found
2) Dig deeper into the ie8 focus exception to realize the exception was thrown because the DOM was no longer available. If we remove the timing problem, the exception goes away and the try/catch is no longer needed.
Merge pull request #2852 from shane-tomlinson/issue_2846_ie8_failures

Issue 2846 ie8 failures
Replace implicit waits with explicit waits.

* Set the default implicit wait to 0.
* Increase the DEFAULT_TIMEOUT_MS to 40s to give webdriver more time to find elements.

fixes #2857
Remove the implicit timeout code from wclickIfExists.
remove any reference to timeouts.DEFAULT_LOAD_PAGE_MS

We are now using explicit waits, so this should no longer be necessary.