Commit a5840004 authored by Tristan Cavelier's avatar Tristan Cavelier

erp5_km_ui_test: fix failing tests

parent d99e00c7
......@@ -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>
......
......@@ -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>
......
......@@ -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():
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment