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

XXX local wip

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