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
7
Merge Requests
7
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Jobs
Commits
Open sidebar
Jérome Perrin
erp5
Commits
7bf0e469
Commit
7bf0e469
authored
Apr 17, 2020
by
Jérome Perrin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
XXX local wip
parent
54ca6494
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
+4
-2
product/ERP5Type/tests/ERP5TypeFunctionalTestCase.py
product/ERP5Type/tests/ERP5TypeFunctionalTestCase.py
+4
-2
No files found.
product/ERP5Type/tests/ERP5TypeFunctionalTestCase.py
View file @
7bf0e469
...
@@ -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
)
...
...
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