Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
erp5
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Labels
Merge Requests
138
Merge Requests
138
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Jobs
Commits
Open sidebar
nexedi
erp5
Commits
6431f953
Commit
6431f953
authored
Jan 09, 2014
by
Aurel
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
define the postResult variable so that tests can check when it is finished
parent
6f43e50c
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
2 deletions
+6
-2
product/ERP5Type/tests/ERP5TypeFunctionalTestCase.py
product/ERP5Type/tests/ERP5TypeFunctionalTestCase.py
+6
-2
No files found.
product/ERP5Type/tests/ERP5TypeFunctionalTestCase.py
View file @
6431f953
...
@@ -278,6 +278,10 @@ class FunctionalTestRunner:
...
@@ -278,6 +278,10 @@ class FunctionalTestRunner:
def getStatus(self):
def getStatus(self):
transaction.begin()
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)
return self.portal.portal_tests.TestTool_getResults(self.run_only)
def _getTestURL(self):
def _getTestURL(self):
...
@@ -285,7 +289,7 @@ class FunctionalTestRunner:
...
@@ -285,7 +289,7 @@ class FunctionalTestRunner:
remote_code_url = "&".join(["url_list:list=%s" % url for url in self.remote_code_url_list])
remote_code_url = "&".join(["url_list:list=%s" % url for url in self.remote_code_url_list])
if self.run_only != "":
if self.run_only != "":
remote_code_url += "&zuite_id=%s" % 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)
% (self.portal.portal_url(), remote_code_url, self.user, self.password)
return ZELENIUM_BASE_URL % (self.portal.portal_url(), self.run_only,
return ZELENIUM_BASE_URL % (self.portal.portal_url(), self.run_only,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment