Commit a5840004 authored by Tristan Cavelier's avatar Tristan Cavelier

erp5_km_ui_test: fix failing tests

parent d99e00c7
...@@ -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>
......
...@@ -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>
......
...@@ -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():
......
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