Set the browser size on startup of acceptance tests.

This resolves an issue on Mac OS X in which the login dropdown
arrow couldn't be clicked because it was off-screen.
It should make the test suite more stable.
This commit is contained in:
Will Daly
2013-05-17 17:21:44 -04:00
parent 372084e0b6
commit bab4b18647

View File

@@ -74,6 +74,9 @@ def initial_setup(server):
if not success:
raise IOError("Could not acquire valid ChromeDriver browser session.")
# Set the browser size to 1280x1024
world.browser.driver.set_window_size(1280, 1024)
@before.each_scenario
def reset_data(scenario):