summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--bitbake/lib/toaster/tests/browser/selenium_helpers_base.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/bitbake/lib/toaster/tests/browser/selenium_helpers_base.py b/bitbake/lib/toaster/tests/browser/selenium_helpers_base.py
index 6953541ab5..798aa9e448 100644
--- a/bitbake/lib/toaster/tests/browser/selenium_helpers_base.py
+++ b/bitbake/lib/toaster/tests/browser/selenium_helpers_base.py
@@ -122,6 +122,7 @@ class Wait(WebDriverWait):
122 if time.time() > end_time: 122 if time.time() > end_time:
123 break 123 break
124 124
125 self._driver.get_screenshot_as_file("/tmp/toaster-failing-screenshot-%s.png" % int(time.time()))
125 raise TimeoutException(message) 126 raise TimeoutException(message)
126 127
127 def until_not(self, method, message=''): 128 def until_not(self, method, message=''):