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
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Tatuya Kamada
erp5
Commits
c3f0585c
Commit
c3f0585c
authored
Jul 05, 2019
by
Romain Courteaud
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixup tests to follow recent changes
See
88f24700
and
796c3520
parent
044d8f38
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
7 additions
and
7 deletions
+7
-7
bt5/erp5_monaco_editor_ui_test/PathTemplateItem/portal_tests/monaco_editor_zuite/testTextEditorRenderJSStyle.zpt
...tests/monaco_editor_zuite/testTextEditorRenderJSStyle.zpt
+4
-4
product/ERP5/tests/testERP5Core.py
product/ERP5/tests/testERP5Core.py
+2
-2
product/ERP5/tests/testQueryModule.py
product/ERP5/tests/testQueryModule.py
+1
-1
No files found.
bt5/erp5_monaco_editor_ui_test/PathTemplateItem/portal_tests/monaco_editor_zuite/testTextEditorRenderJSStyle.zpt
View file @
c3f0585c
...
...
@@ -35,14 +35,14 @@
<tr><td>
click
</td>
<td>
link=Add
</td><td></td></tr>
<tr><td>
waitForElementPresent
</td>
<td>
//select[@name='field_your_
portal_type
']
</td><td></td></tr>
<td>
//select[@name='field_your_
select_action
']
</td><td></td></tr>
<tr><td>
select
</td>
<td>
//select[@name='field_your_
portal_type
']
</td>
<td>
Web Page
</td></tr>
<td>
//select[@name='field_your_
select_action
']
</td>
<td>
label=
Web Page
</td></tr>
<tal:block
metal:use-macro=
"here/Zuite_CommonTemplateForRenderjsUi/macros/submit_dialog"
/>
<tal:block
tal:define=
"notification_configuration python: {'class': 'success',
'text': '
Documen
t created.'}"
>
'text': '
Objec
t created.'}"
>
<tal:block
metal:use-macro=
"here/Zuite_CommonTemplateForRenderjsUi/macros/wait_for_notification"
/>
</tal:block>
...
...
product/ERP5/tests/testERP5Core.py
View file @
c3f0585c
...
...
@@ -236,12 +236,12 @@ class TestERP5Core(ERP5TypeTestCase, ZopeTestCase.Functional):
'title'
:
'Configure Alarms'
},
{
'title'
:
'Undo'
,
'id'
:
'undo'
}],
'object'
:
[],
'object_action'
:
[{
'id'
:
'post_query'
,
'title'
:
'Post a Query'
},
{
'id'
:
'diff_object_action'
,
'title'
:
'Diff Object'
}],
'object_action'
:
[{
'id'
:
'diff_object_action'
,
'title'
:
'Diff Object'
}],
'object_hidden'
:
[{
'id'
:
'view_historical_comparison'
,
'title'
:
'View Historical Comparison'
},
{
'id'
:
'view_historical_diff'
,
'title'
:
'View Historical Diff'
}],
'object_jio_action'
:
[{
'id'
:
'post_query'
,
'title'
:
'Post a Query'
}],
'object_jump'
:
[{
'id'
:
'jump_query'
,
'title'
:
'Queries'
},
{
'id'
:
'jump_related_object'
,
'title'
:
'Related Objects'
}],
'object_search'
:
[{
'title'
:
'Search'
,
'id'
:
'search'
}],
...
...
product/ERP5/tests/testQueryModule.py
View file @
c3f0585c
...
...
@@ -56,7 +56,7 @@ class TestQueryModule(ERP5TypeTestCase):
def
test_post_query_action_visible
(
self
):
# check the action is visible
action_list
=
self
.
portal
.
portal_actions
.
listFilteredActionsFor
(
self
.
doc
).
get
(
'object_action'
)
self
.
doc
).
get
(
'object_
jio_
action'
)
self
.
assertEqual
(
1
,
len
([
ai
for
ai
in
action_list
if
ai
[
'name'
]
==
'Post a Query'
]))
...
...
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