Commit a4ad495b by Will Daly

Merge pull request #2084 from edx/fix/will/lettuce-browser-size

Set the browser size on startup of acceptance tests.
parents a15a2836 bab4b186
...@@ -74,6 +74,9 @@ def initial_setup(server): ...@@ -74,6 +74,9 @@ def initial_setup(server):
if not success: if not success:
raise IOError("Could not acquire valid ChromeDriver browser session.") 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 @before.each_scenario
def reset_data(scenario): def reset_data(scenario):
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment