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
1
Merge Requests
1
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
Cédric Le Ninivin
erp5
Commits
a5840004
Commit
a5840004
authored
Feb 01, 2018
by
Tristan Cavelier
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
erp5_km_ui_test: fix failing tests
parent
d99e00c7
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
16 additions
and
26 deletions
+16
-26
bt5/erp5_km_ui_test/PathTemplateItem/portal_tests/erp5_km_zuite/forum/testCreateDiscussionThread.zpt
..._tests/erp5_km_zuite/forum/testCreateDiscussionThread.zpt
+6
-5
bt5/erp5_km_ui_test/PathTemplateItem/portal_tests/erp5_km_zuite/forum/testPredecessorCreateDiscussionThread.zpt
..._km_zuite/forum/testPredecessorCreateDiscussionThread.zpt
+9
-21
product/ERP5Type/tests/testFunctionalKM.py
product/ERP5Type/tests/testFunctionalKM.py
+1
-0
No files found.
bt5/erp5_km_ui_test/PathTemplateItem/portal_tests/erp5_km_zuite/forum/testCreateDiscussionThread.zpt
View file @
a5840004
...
...
@@ -45,6 +45,9 @@
<td>
field_your_title
</td>
<td>
Thread 1
</td>
</tr>
<tal:block
tal:define=
"text_content python: 'Post 1'"
>
<tal:block
metal:use-macro=
"container/Zuite_CommonTemplateForRenderjsUi/macros/type_ckeditor_text_content"
/>
</tal:block>
<tr>
<td>
clickAndWait
</td>
<td>
dialog_submit_button
</td>
...
...
@@ -97,11 +100,9 @@
<td>
field_your_title
</td>
<td>
exact:Re: Thread 1
</td>
</tr>
<tr>
<td>
type
</td>
<td>
field_your_text_content
</td>
<td>
Response
</td>
</tr>
<tal:block
tal:define=
"text_content python: 'Response'"
>
<tal:block
metal:use-macro=
"container/Zuite_CommonTemplateForRenderjsUi/macros/type_ckeditor_text_content"
/>
</tal:block>
<tr>
<td>
clickAndWait
</td>
<td>
dialog_submit_button
</td>
...
...
bt5/erp5_km_ui_test/PathTemplateItem/portal_tests/erp5_km_zuite/forum/testPredecessorCreateDiscussionThread.zpt
View file @
a5840004
...
...
@@ -77,13 +77,9 @@
<td>
field_your_title
</td>
<td>
Thread 1
</td>
</tr>
<!--
<tr>
<td>type</td>
<td>//textarea[@class="ace_text-input"]</td>
<td>Post 1</td>
</tr>
-->
<tal:block
tal:define=
"text_content python: 'Post 1'"
>
<tal:block
metal:use-macro=
"container/Zuite_CommonTemplateForRenderjsUi/macros/type_ckeditor_text_content"
/>
</tal:block>
<!-- verify predecessor hidden input is not set DONT WORK
<tr>
<td>assertValue</td>
...
...
@@ -167,13 +163,9 @@
<td>
field_your_title
</td>
<td>
Thread 2
</td>
</tr>
<!--
<tr>
<td>type</td>
<td>//textarea[@class="ace_text-input"]</td>
<td>Post 2</td>
</tr>
-->
<tal:block
tal:define=
"text_content python: 'Post 2'"
>
<tal:block
metal:use-macro=
"container/Zuite_CommonTemplateForRenderjsUi/macros/type_ckeditor_text_content"
/>
</tal:block>
<tr>
<td>
clickAndWait
</td>
<td>
//button[@id='dialog_submit_button']
</td>
...
...
@@ -265,13 +257,9 @@
<td>
field_your_title
</td>
<td>
Thread 3
</td>
</tr>
<!--
<tr>
<td>type</td>
<td>//textarea[@class="ace_text-input"]</td>
<td>Post 3</td>
</tr>
-->
<tal:block
tal:define=
"text_content python: 'Post 3'"
>
<tal:block
metal:use-macro=
"container/Zuite_CommonTemplateForRenderjsUi/macros/type_ckeditor_text_content"
/>
</tal:block>
<tr>
<td>
clickAndWait
</td>
<td>
//button[@id='dialog_submit_button']
</td>
...
...
product/ERP5Type/tests/testFunctionalKM.py
View file @
a5840004
...
...
@@ -58,6 +58,7 @@ class TestZeleniumKM(ERP5TypeFunctionalTestCase):
'erp5_credential'
,
'erp5_rss_style'
,
'erp5_discussion'
,
'erp5_km'
,
'erp5_km_ui_test_data'
,
'erp5_km_ui_test'
,
'erp5_l10n_fr'
,
'erp5_crm'
,
'erp5_web_renderjs_ui_test'
,
)
def
test_suite
():
...
...
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