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
fbef3d9e
Commit
fbef3d9e
authored
May 15, 2019
by
Romain Courteaud
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[erp5_ui_test] Allow to directly create multiple lines
parent
d7b7edcc
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
2 deletions
+3
-2
bt5/erp5_ui_test/SkinTemplateItem/portal_skins/erp5_ui_test/FooModule_createObjects.py
...Item/portal_skins/erp5_ui_test/FooModule_createObjects.py
+2
-1
bt5/erp5_web_renderjs_ui_test/PathTemplateItem/portal_tests/renderjs_ui_zuite/testDeleteDocumentList.zpt
...portal_tests/renderjs_ui_zuite/testDeleteDocumentList.zpt
+1
-1
No files found.
bt5/erp5_ui_test/SkinTemplateItem/portal_skins/erp5_ui_test/FooModule_createObjects.py
View file @
fbef3d9e
...
@@ -11,7 +11,8 @@ for i in range(start, start + num):
...
@@ -11,7 +11,8 @@ for i in range(start, start + num):
if
set_dates
:
if
set_dates
:
foo
.
setStartDate
(
DateTime
(
i
,
i
,
i
))
foo
.
setStartDate
(
DateTime
(
i
,
i
,
i
))
if
create_line
:
if
create_line
:
foo
.
newContent
()
for
i
in
range
(
0
,
int
(
create_line
)):
foo
.
newContent
()
if
big_category_related
:
if
big_category_related
:
big_category
=
big_category_list
[
i
%
len
(
category_list
)]
big_category
=
big_category_list
[
i
%
len
(
category_list
)]
foo
.
setFooBigCategory
(
big_category
)
foo
.
setFooBigCategory
(
big_category
)
...
...
bt5/erp5_web_renderjs_ui_test/PathTemplateItem/portal_tests/renderjs_ui_zuite/testDeleteDocumentList.zpt
View file @
fbef3d9e
...
@@ -27,7 +27,7 @@
...
@@ -27,7 +27,7 @@
<tr><td>
assertTextPresent
</td>
<tr><td>
assertTextPresent
</td>
<td>
Created Successfully.
</td><td></td></tr>
<td>
Created Successfully.
</td><td></td></tr>
<tr><td>
open
</td>
<tr><td>
open
</td>
<td>
${base_url}/foo_module/FooModule_createObjects?start:int=4
&
num:int=2
&
create_line:
bool=True
</td><td></td></tr>
<td>
${base_url}/foo_module/FooModule_createObjects?start:int=4
&
num:int=2
&
create_line:
int=1
</td><td></td></tr>
<tr><td>
assertTextPresent
</td>
<tr><td>
assertTextPresent
</td>
<td>
Created Successfully.
</td><td></td></tr>
<td>
Created Successfully.
</td><td></td></tr>
<tr><td>
open
</td>
<tr><td>
open
</td>
...
...
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