Commit 6431f953 authored by Aurel's avatar Aurel

define the postResult variable so that tests can check when it is finished

parent 6f43e50c
......@@ -278,6 +278,10 @@ class FunctionalTestRunner:
def getStatus(self):
transaction.begin()
if self.remote_code_url_list is not None:
# Zuite Results are posted at the root of the portal in this case
return self.portal.portal_tests.TestTool_getResults()
else:
return self.portal.portal_tests.TestTool_getResults(self.run_only)
def _getTestURL(self):
......@@ -285,7 +289,7 @@ class FunctionalTestRunner:
remote_code_url = "&".join(["url_list:list=%s" % url for url in self.remote_code_url_list])
if self.run_only != "":
remote_code_url += "&zuite_id=%s" % self.run_only
return '%s/portal_tests/Zuite_runSeleniumTest?%s&__ac_name=%s&__ac_password=%s' \
return '%s/portal_tests/Zuite_runSeleniumTest?%s&resultsUrl=../postResults&__ac_name=%s&__ac_password=%s' \
% (self.portal.portal_url(), remote_code_url, self.user, self.password)
return ZELENIUM_BASE_URL % (self.portal.portal_url(), self.run_only,
......
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