Commit c8036d39 authored by Jérome Perrin's avatar Jérome Perrin

XXX debug

parent a27d06f8
......@@ -122,7 +122,7 @@ class Xvfb(Process):
with open(os.devnull, 'w') as null:
self._exec(
(xvfb_bin, '-fbdir' , self.fbdir, display,
'-screen', '0', '1280x1024x24'),
'-screen', '0', '2560x2048x24'),
stdout=null, stderr=null, close_fds=True)
# try to check if X screen is available
time.sleep(5)
......@@ -221,7 +221,9 @@ class FunctionalTestRunner:
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)
from Testing import ZopeTestCase
ZopeTestCase._print("using window size: %r\n" % (browser.get_window_size()))
WebDriverWait(browser, 10).until(EC.presence_of_element_located((
By.XPATH, '//iframe[@id="testSuiteFrame"]'
)))
......
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