summaryrefslogtreecommitdiffstats
path: root/o3d/tests/selenium/selenium_constants.py
diff options
context:
space:
mode:
Diffstat (limited to 'o3d/tests/selenium/selenium_constants.py')
-rw-r--r--o3d/tests/selenium/selenium_constants.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/o3d/tests/selenium/selenium_constants.py b/o3d/tests/selenium/selenium_constants.py
index 936772c..75b5116 100644
--- a/o3d/tests/selenium/selenium_constants.py
+++ b/o3d/tests/selenium/selenium_constants.py
@@ -50,6 +50,7 @@ DEFAULT_SCREENSHOT_PATH = os.path.join(o3d_dir,
# Path where reference screenshots will be stored.
# Unfortunately we need separate reference images for certain platforms
# for certain tests.
+DEFAULT_SCREENSHOT_DIR = "reference"
if sys.platform == "darwin":
PLATFORM_SCREENSHOT_DIR = "reference-mac"
elif sys.platform[:5] == "linux":
@@ -68,3 +69,6 @@ SELENIUM_BROWSER_SET = ["*iexplore", "*firefox", "*googlechrome", "*safari"]
# otherwise the OpenGL context will be clipped to the size of the window
RESIZE_WIDTH = 1400
RESIZE_HEIGHT = 1200
+
+# Time to wait (after load timeout) till assume the browser has crashed.
+MAX_SELENIUM_TEST_TIME = 60