Commit 7bf0e469 authored by Jérome Perrin's avatar Jérome Perrin

XXX local wip

parent 54ca6494
......@@ -164,7 +164,7 @@ class FunctionalTestRunner:
# Such information should be automatically loaded
self.user = 'ERP5TypeTestCase'
self.password = ''
self.run_only = run_only
self.run_only = run_only or 'aact_zuite_debug'
profile_dir = os.path.join(self.instance_home, 'profile')
self.portal = portal
......@@ -267,7 +267,7 @@ Sum Column Updated
WebDriverWait(browser, 10).until(EC.url_changes(login_form_url))
WebDriverWait(browser, 10).until(EC.presence_of_element_located((By.TAG_NAME, 'body')))
browser.get(self._getTestURL())
browser.set_window_size(1680, 1024)
#browser.set_window_size(1680, 1024)
from Testing import ZopeTestCase
ZopeTestCase._print("using window size: %r\n" % (browser.get_window_size()))
WebDriverWait(browser, 10).until(EC.presence_of_element_located((
......@@ -427,6 +427,8 @@ class ERP5TypeFunctionalTestCase(ERP5TypeTestCase):
self.logMessage(message % message_args)
self.logMessage("-" * 79)
self.logMessage(detail)
with open('/srv/slapgrid/slappart3/srv/runner/public/func_test.html', 'w') as f:
f.write(detail)
self.logMessage("-" * 79)
if failure or error:
self._verboseErrorLog(20)
......
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