native event/no_focus stuff is buggy (which is why it's normally not
enabled by default), so let's try a different approach...
ensure each runner has its own framebuffer (and thus its firefox should
run in the foreground). additionally, ensure the viewport has focus when
specs start so that blur/focus events fire normally.
this ensures that specs like spec/selenium/wiki_pages_spec.rb:429 pass when
run on jenkins without following another alert-accepting spec (like
spec/selenium/wiki_pages_spec:422).
test plan:
* full selenium build should pass on this commit, faster and w/ fewer
reruns
* non-testbot test-queue selenium build should pass on dependent commit
(running spec/selenium/wiki_pages_spec.rb w/ 5 runners concurrently)
Change-Id: Ic1bd09ab3ca8f483611201198025cdf4858d51dc
Reviewed-on: https://gerrit.instructure.com/69663
Reviewed-by: Simon Williams <simon@instructure.com>
Tested-by: Jenkins
Product-Review: Jon Jensen <jon@instructure.com>
QA-Review: Jon Jensen <jon@instructure.com>