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
Hardik Juneja
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
Hide 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 @@
...
@@ -45,6 +45,9 @@
<td>
field_your_title
</td>
<td>
field_your_title
</td>
<td>
Thread 1
</td>
<td>
Thread 1
</td>
</tr>
</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>
<tr>
<td>
clickAndWait
</td>
<td>
clickAndWait
</td>
<td>
dialog_submit_button
</td>
<td>
dialog_submit_button
</td>
...
@@ -97,11 +100,9 @@
...
@@ -97,11 +100,9 @@
<td>
field_your_title
</td>
<td>
field_your_title
</td>
<td>
exact:Re: Thread 1
</td>
<td>
exact:Re: Thread 1
</td>
</tr>
</tr>
<tr>
<tal:block
tal:define=
"text_content python: 'Response'"
>
<td>
type
</td>
<tal:block
metal:use-macro=
"container/Zuite_CommonTemplateForRenderjsUi/macros/type_ckeditor_text_content"
/>
<td>
field_your_text_content
</td>
</tal:block>
<td>
Response
</td>
</tr>
<tr>
<tr>
<td>
clickAndWait
</td>
<td>
clickAndWait
</td>
<td>
dialog_submit_button
</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 @@
...
@@ -77,13 +77,9 @@
<td>
field_your_title
</td>
<td>
field_your_title
</td>
<td>
Thread 1
</td>
<td>
Thread 1
</td>
</tr>
</tr>
<!--
<tal:block
tal:define=
"text_content python: 'Post 1'"
>
<tr>
<tal:block
metal:use-macro=
"container/Zuite_CommonTemplateForRenderjsUi/macros/type_ckeditor_text_content"
/>
<td>type</td>
</tal:block>
<td>//textarea[@class="ace_text-input"]</td>
<td>Post 1</td>
</tr>
-->
<!-- verify predecessor hidden input is not set DONT WORK
<!-- verify predecessor hidden input is not set DONT WORK
<tr>
<tr>
<td>assertValue</td>
<td>assertValue</td>
...
@@ -167,13 +163,9 @@
...
@@ -167,13 +163,9 @@
<td>
field_your_title
</td>
<td>
field_your_title
</td>
<td>
Thread 2
</td>
<td>
Thread 2
</td>
</tr>
</tr>
<!--
<tal:block
tal:define=
"text_content python: 'Post 2'"
>
<tr>
<tal:block
metal:use-macro=
"container/Zuite_CommonTemplateForRenderjsUi/macros/type_ckeditor_text_content"
/>
<td>type</td>
</tal:block>
<td>//textarea[@class="ace_text-input"]</td>
<td>Post 2</td>
</tr>
-->
<tr>
<tr>
<td>
clickAndWait
</td>
<td>
clickAndWait
</td>
<td>
//button[@id='dialog_submit_button']
</td>
<td>
//button[@id='dialog_submit_button']
</td>
...
@@ -265,13 +257,9 @@
...
@@ -265,13 +257,9 @@
<td>
field_your_title
</td>
<td>
field_your_title
</td>
<td>
Thread 3
</td>
<td>
Thread 3
</td>
</tr>
</tr>
<!--
<tal:block
tal:define=
"text_content python: 'Post 3'"
>
<tr>
<tal:block
metal:use-macro=
"container/Zuite_CommonTemplateForRenderjsUi/macros/type_ckeditor_text_content"
/>
<td>type</td>
</tal:block>
<td>//textarea[@class="ace_text-input"]</td>
<td>Post 3</td>
</tr>
-->
<tr>
<tr>
<td>
clickAndWait
</td>
<td>
clickAndWait
</td>
<td>
//button[@id='dialog_submit_button']
</td>
<td>
//button[@id='dialog_submit_button']
</td>
...
...
product/ERP5Type/tests/testFunctionalKM.py
View file @
a5840004
...
@@ -58,6 +58,7 @@ class TestZeleniumKM(ERP5TypeFunctionalTestCase):
...
@@ -58,6 +58,7 @@ class TestZeleniumKM(ERP5TypeFunctionalTestCase):
'erp5_credential'
,
'erp5_rss_style'
,
'erp5_discussion'
,
'erp5_credential'
,
'erp5_rss_style'
,
'erp5_discussion'
,
'erp5_km'
,
'erp5_km_ui_test_data'
,
'erp5_km_ui_test'
,
'erp5_km'
,
'erp5_km_ui_test_data'
,
'erp5_km_ui_test'
,
'erp5_l10n_fr'
,
'erp5_crm'
,
'erp5_l10n_fr'
,
'erp5_crm'
,
'erp5_web_renderjs_ui_test'
,
)
)
def
test_suite
():
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