Chromium Code Reviews

Unified Diff: tests/selenium/selenium_constants.py

Issue 212031: Changed selenium tests to recover from test crashes/hangs. Divided perceptual... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/o3d/
Patch Set: '' Created 11 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
« no previous file with comments | « tests/selenium/samples_tests.py ('k') | tests/selenium/selenium_utilities.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/selenium/selenium_constants.py
===================================================================
--- tests/selenium/selenium_constants.py (revision 26154)
+++ tests/selenium/selenium_constants.py (working copy)
@@ -50,6 +50,7 @@
# 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 @@
# 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
« no previous file with comments | « tests/selenium/samples_tests.py ('k') | tests/selenium/selenium_utilities.py » ('j') | no next file with comments »

Powered by Google App Engine