Commit d40173c4 authored by Sven Franck's avatar Sven Franck

erp5_corporate_identity_test: remove PDF preview from letter event tests

parent a65a7074
...@@ -155,7 +155,7 @@ Note: ...@@ -155,7 +155,7 @@ Note:
<tr> <tr>
<td>select</td> <td>select</td>
<td>name=field_your_portal_type <td>name=field_your_portal_type
<td>index=5</td> <td>Letter</td>
</tr> </tr>
<tr> <tr>
<td>verifyTextPresent</td> <td>verifyTextPresent</td>
...@@ -222,7 +222,10 @@ Note: ...@@ -222,7 +222,10 @@ Note:
<td>name=field_my_aggregate_document_title_list</td> <td>name=field_my_aggregate_document_title_list</td>
<td>Test</td> <td>Test</td>
</tr> </tr>
<!-- test whether preview loads correctly -->
<!-- test whether preview loads correctly both by accessing
preview on the event and the document itself. DOESN'T WORK IN FF51-->
<tal:block tal:condition="python: no_file_update == False">
<tr> <tr>
<td>clickAndWait</td> <td>clickAndWait</td>
<td>//a/span[contains(text(), 'Preview')]</td> <td>//a/span[contains(text(), 'Preview')]</td>
...@@ -288,6 +291,8 @@ Note: ...@@ -288,6 +291,8 @@ Note:
<td>//a[contains(text(), 'Test')]</td> <td>//a[contains(text(), 'Test')]</td>
<td></td> <td></td>
</tr> </tr>
</tal:block>
<!-- update 5th pdf document - template_test_letter_input_005_en_pdf --> <!-- update 5th pdf document - template_test_letter_input_005_en_pdf -->
<tal:block tal:condition="python: no_file_update == False"> <tal:block tal:condition="python: no_file_update == False">
...@@ -315,7 +320,6 @@ Note: ...@@ -315,7 +320,6 @@ Note:
<td>6000</td> <td>6000</td>
<td></td> <td></td>
</tr> </tr>
</tal:block>
<tr> <tr>
<td>goBackAndWait</td> <td>goBackAndWait</td>
<td></td> <td></td>
...@@ -371,7 +375,7 @@ Note: ...@@ -371,7 +375,7 @@ Note:
<td>Short Title</td> <td>Short Title</td>
<td></td> <td></td>
</tr> </tr>
</tal:block>
<!-- manual form submit --> <!-- manual form submit -->
<tal:block tal:condition="python: no_file_update == False"> <tal:block tal:condition="python: no_file_update == False">
<tr> <tr>
...@@ -448,6 +452,7 @@ Note: ...@@ -448,6 +452,7 @@ Note:
<td></td> <td></td>
</tr> </tr>
</tal:block> </tal:block>
<!-- CASE 2: generate letter from support request with sender/recipient person --> <!-- CASE 2: generate letter from support request with sender/recipient person -->
<tr> <tr>
<td>echo</td> <td>echo</td>
...@@ -591,7 +596,9 @@ Note: ...@@ -591,7 +596,9 @@ Note:
<td>Created and associated a new Letter to the ticket.</td> <td>Created and associated a new Letter to the ticket.</td>
<td></td> <td></td>
</tr> </tr>
<!-- test whether preview loads correctly --> <!-- test whether preview loads correctly both by accessing
preview on the event and the document itself. DOESN'T WORK IN FF51-->
<tal:block tal:condition="python: no_file_update == False">
<tr> <tr>
<td>clickAndWait</td> <td>clickAndWait</td>
<td>//a/span[contains(text(), 'Preview')]</td> <td>//a/span[contains(text(), 'Preview')]</td>
...@@ -662,6 +669,7 @@ Note: ...@@ -662,6 +669,7 @@ Note:
<td>//a[contains(text(), 'Test')]</td> <td>//a[contains(text(), 'Test')]</td>
<td></td> <td></td>
</tr> </tr>
</tal:block>
<!-- update 6th pdf document - template_test_letter_input_006_en_pdf --> <!-- update 6th pdf document - template_test_letter_input_006_en_pdf -->
<tal:block tal:condition="python: no_file_update == False"> <tal:block tal:condition="python: no_file_update == False">
...@@ -690,7 +698,6 @@ Note: ...@@ -690,7 +698,6 @@ Note:
<td>6000</td> <td>6000</td>
<td></td> <td></td>
</tr> </tr>
</tal:block>
<tr> <tr>
<td>goBackAndWait</td> <td>goBackAndWait</td>
<td></td> <td></td>
...@@ -746,6 +753,7 @@ Note: ...@@ -746,6 +753,7 @@ Note:
<td>Short Title</td> <td>Short Title</td>
<td></td> <td></td>
</tr> </tr>
</tal:block>
<!-- manual form submit --> <!-- manual form submit -->
<tal:block tal:condition="python: no_file_update == False"> <tal:block tal:condition="python: no_file_update == False">
......
...@@ -5,7 +5,7 @@ organisation_module/template_test* ...@@ -5,7 +5,7 @@ organisation_module/template_test*
organisation_module/template_test*/default** organisation_module/template_test*/default**
person_module/template_test* person_module/template_test*
person_module/template_test*/default** person_module/template_test*/default**
web_page_module/template_test_*
portal_tests/template_test_zuite portal_tests/template_test_zuite
portal_tests/template_test_zuite/testAndUpdateTest* portal_tests/template_test_zuite/testAndUpdateTest*
support_request_module/template_test* support_request_module/template_test_*
web_page_module/template_test_* \ No newline at end of file
\ No newline at end of file
...@@ -9,5 +9,5 @@ portal_categories/function/company ...@@ -9,5 +9,5 @@ portal_categories/function/company
portal_categories/function/company/executive portal_categories/function/company/executive
portal_tests/template_test_zuite portal_tests/template_test_zuite
portal_tests/template_test_zuite/testAndUpdateTest* portal_tests/template_test_zuite/testAndUpdateTest*
support_request_module/template_test* support_request_module/template_test_*
web_page_module/template_test_* web_page_module/template_test_*
\ No newline at end of file
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