Commit a91bcbf1 authored by Eteri's avatar Eteri

erp5_wendelin_tutorial_ui_test: fix tests

parent f3e32441
...@@ -114,6 +114,7 @@ if modify and data_ingestion is None: ...@@ -114,6 +114,7 @@ if modify and data_ingestion is None:
data_ingestion_reference, data_ingestion_reference,
data_ingestion_id) data_ingestion_id)
# find ingestion line for current resource # find ingestion line for current resource
for line in data_ingestion.objectValues(portal_type="Data Ingestion Line"): for line in data_ingestion.objectValues(portal_type="Data Ingestion Line"):
if line.getResourceReference() == resource_reference: if line.getResourceReference() == resource_reference:
......
...@@ -5,6 +5,9 @@ request = portal.REQUEST ...@@ -5,6 +5,9 @@ request = portal.REQUEST
index = reference.index('-') index = reference.index('-')
stream_reference = reference stream_reference = reference
ingestion_reference = reference[:index] + '.' + reference[index+1:len(reference)] ingestion_reference = reference[:index] + '.' + reference[index+1:len(reference)]
context.log("stream_reference = ", stream_reference)
context.log("ingestion_reference = ", ingestion_reference)
context.log("index = ", index)
request.environ['REQUEST_METHOD'] = 'POST' request.environ['REQUEST_METHOD'] = 'POST'
request.set('reference', ingestion_reference) request.set('reference', ingestion_reference)
......
...@@ -2,9 +2,6 @@ ...@@ -2,9 +2,6 @@
<test> <test>
<table style="display: none;" class="test"> <table style="display: none;" class="test">
<tbody> <tbody>
<tr>
<td colspan="3">&lt;span metal:use-macro="container/Zuite_viewTestMacroLibrary/macros/init_test_environment"&gt;init&lt;/span&gt;</td>
</tr>
<tr> <tr>
<td>store</td> <td>store</td>
<td tal:content="python:here.getPortalObject().absolute_url()">http://example.com/erp5</td> <td tal:content="python:here.getPortalObject().absolute_url()">http://example.com/erp5</td>
...@@ -166,17 +163,12 @@ ...@@ -166,17 +163,12 @@
</tr> </tr>
<tr> <tr>
<td>waitForElementPresent</td> <td>waitForElementPresent</td>
<td>//button[@type="submit" and @data-i18n="Proceed"]</td> <td>//input[@type="submit" and @value="Create Document"]</td>
<td></td>
</tr>
<tr>
<td>pause</td>
<td>3000</td>
<td></td> <td></td>
</tr> </tr>
<tr> <tr>
<td>click</td> <td>click</td>
<td>//button[@type="submit" and @data-i18n="Proceed"]</td> <td>//input[@type="submit" and @value="Create Document"]</td>
<td></td> <td></td>
</tr> </tr>
...@@ -243,12 +235,12 @@ ...@@ -243,12 +235,12 @@
</tr> </tr>
<tr> <tr>
<td>waitForElementPresent</td> <td>waitForElementPresent</td>
<td>//button[@type="submit" and @data-i18n="Proceed"]</td> <td>//input[@type="submit" and @value="Validate"]</td>
<td></td> <td></td>
</tr> </tr>
<tr> <tr>
<td>click</td> <td>click</td>
<td>//button[@type="submit" and @data-i18n="Proceed"]</td> <td>//input[@type="submit" and @value="Validate"]</td>
<td></td> <td></td>
</tr> </tr>
<tr> <tr>
......
...@@ -2,9 +2,6 @@ ...@@ -2,9 +2,6 @@
<test> <test>
<table style="display: none;" class="test"> <table style="display: none;" class="test">
<tbody> <tbody>
<tr>
<td colspan="3">&lt;span metal:use-macro="container/Zuite_viewTestMacroLibrary/macros/init_test_environment"&gt;init&lt;/span&gt;</td>
</tr>
<tr> <tr>
<td>store</td> <td>store</td>
<td tal:content="python:here.getPortalObject().absolute_url()">http://example.com/erp5</td> <td tal:content="python:here.getPortalObject().absolute_url()">http://example.com/erp5</td>
...@@ -146,11 +143,6 @@ ...@@ -146,11 +143,6 @@
<td>//a[contains(@href,'page=front')]</td> <td>//a[contains(@href,'page=front')]</td>
<td></td> <td></td>
</tr> </tr>
<tr>
<td>pause</td>
<td>3000</td>
<td></td>
</tr>
<tr> <tr>
<td>waitForElementPresent</td> <td>waitForElementPresent</td>
<td>//a[contains(@href,'data_acquisition_unit_module')]</td> <td>//a[contains(@href,'data_acquisition_unit_module')]</td>
...@@ -173,17 +165,12 @@ ...@@ -173,17 +165,12 @@
</tr> </tr>
<tr> <tr>
<td>waitForElementPresent</td> <td>waitForElementPresent</td>
<td>//button[@type="submit" and @data-i18n="Proceed"]</td> <td>//input[@type="submit" and @value="Create Document"]</td>
<td></td>
</tr>
<tr>
<td>pause</td>
<td>3000</td>
<td></td> <td></td>
</tr> </tr>
<tr> <tr>
<td>click</td> <td>click</td>
<td>//button[@type="submit" and @data-i18n="Proceed"]</td> <td>//input[@type="submit" and @value="Create Document"]</td>
<td></td> <td></td>
</tr> </tr>
...@@ -230,12 +217,17 @@ ...@@ -230,12 +217,17 @@
</tr> </tr>
<tr> <tr>
<td>waitForElementPresent</td> <td>waitForElementPresent</td>
<td>//button[@type="submit" and @data-i18n="Proceed"]</td> <td>//input[@type="submit" and @value="Validate"]</td>
<td></td>
</tr>
<tr>
<td>pause</td>
<td>3000</td>
<td></td> <td></td>
</tr> </tr>
<tr> <tr>
<td>click</td> <td>click</td>
<td>//button[@type="submit" and @data-i18n="Proceed"]</td> <td>//input[@type="submit" and @value="Validate"]</td>
<td></td> <td></td>
</tr> </tr>
<tr> <tr>
......
...@@ -2,9 +2,6 @@ ...@@ -2,9 +2,6 @@
<test> <test>
<table style="display: none;" class="test"> <table style="display: none;" class="test">
<tbody> <tbody>
<tr>
<td colspan="3">&lt;span metal:use-macro="container/Zuite_viewTestMacroLibrary/macros/init_test_environment"&gt;init&lt;/span&gt;</td>
</tr>
<tr> <tr>
<td>store</td> <td>store</td>
<td tal:content="python:here.getPortalObject().absolute_url()">http://example.com/erp5</td> <td tal:content="python:here.getPortalObject().absolute_url()">http://example.com/erp5</td>
...@@ -136,7 +133,7 @@ ...@@ -136,7 +133,7 @@
</tr> </tr>
<tr> <tr>
<td>waitForElementPresent</td> <td>waitForElementPresent</td>
<td>//button[@type="submit" and @data-i18n="Proceed"]</td> <td>//input[@type="submit" and @value="Create Document"]</td>
<td></td> <td></td>
</tr> </tr>
<tr> <tr>
...@@ -146,7 +143,7 @@ ...@@ -146,7 +143,7 @@
</tr> </tr>
<tr> <tr>
<td>click</td> <td>click</td>
<td>//button[@type="submit" and @data-i18n="Proceed"]</td> <td>//input[@type="submit" and @value="Create Document"]</td>
<td></td> <td></td>
</tr> </tr>
</tbody> </tbody>
...@@ -328,12 +325,12 @@ ...@@ -328,12 +325,12 @@
</tr> </tr>
<tr> <tr>
<td>waitForElementPresent</td> <td>waitForElementPresent</td>
<td>//button[@type="submit" and @data-i18n="Proceed"]</td> <td>//input[@type="submit" and @value="Validate"]</td>
<td></td> <td></td>
</tr> </tr>
<tr> <tr>
<td>click</td> <td>click</td>
<td>//button[@type="submit" and @data-i18n="Proceed"]</td> <td>//input[@type="submit" and @value="Validate"]</td>
<td></td> <td></td>
</tr> </tr>
<tr> <tr>
...@@ -358,12 +355,12 @@ ...@@ -358,12 +355,12 @@
</tr> </tr>
<tr> <tr>
<td>waitForElementPresent</td> <td>waitForElementPresent</td>
<td>//li[contains(@data-relative-url,'organisation_module/')]</td> <td>//li[@name='Organisation']</td>
<td></td> <td></td>
</tr> </tr>
<tr> <tr>
<td>click</td> <td>click</td>
<td>//li[contains(@data-relative-url,'organisation_module/')]</td> <td>//li[@name='Organisation']</td>
<td></td> <td></td>
</tr> </tr>
<tr> <tr>
...@@ -501,17 +498,12 @@ ...@@ -501,17 +498,12 @@
</tr> </tr>
<tr> <tr>
<td>waitForElementPresent</td> <td>waitForElementPresent</td>
<td>//button[@name="submit"]</td> <td>//input[@type="submit" and @value="Create Document"]</td>
<td></td>
</tr>
<tr>
<td>pause</td>
<td>5000</td>
<td></td> <td></td>
</tr> </tr>
<tr> <tr>
<td>click</td> <td>click</td>
<td>//button[@name="submit"]</td> <td>//input[@type="submit" and @value="Create Document"]</td>
<td></td> <td></td>
</tr> </tr>
<tr> <tr>
...@@ -681,7 +673,7 @@ ...@@ -681,7 +673,7 @@
</tr> </tr>
<tr> <tr>
<td>waitForElementPresent</td> <td>waitForElementPresent</td>
<td>//button[@name="submit"]</td> <td>//input[@type="submit" and @value="Create Document"]</td>
<td></td> <td></td>
</tr> </tr>
<tr> <tr>
...@@ -691,7 +683,7 @@ ...@@ -691,7 +683,7 @@
</tr> </tr>
<tr> <tr>
<td>click</td> <td>click</td>
<td>//button[@name="submit"]</td> <td>//input[@type="submit" and @value="Create Document"]</td>
<td></td> <td></td>
</tr> </tr>
<tr> <tr>
...@@ -769,12 +761,26 @@ ...@@ -769,12 +761,26 @@
<td>//input[@value="out_stream"]</td> <td>//input[@value="out_stream"]</td>
<td></td> <td></td>
</tr> </tr>
<tr>
<td>openAndWait</td>
<td>${base_url}/Zuite_waitForActivities</td>
<td></td>
</tr>
<tr>
<td>assertTextPresent</td>
<td>Done.</td>
<td></td>
</tr>
<tr> <tr>
<td>open</td> <td>open</td>
<td>${base_url_x}/portal_skins/erp5_wendelin_data_lake/Ingestion_ingestDataStream?reference=sensor_1-sample-environment-raw-data</td> <td>${base_url_x}/portal_skins/erp5_wendelin_data_lake/Ingestion_ingestDataStream?reference=sensor_1-sample-environment-raw-data</td>
<td></td> <td></td>
</tr> </tr>
<tr>
<td>assertTextPresent</td>
<td>Data ingested</td>
<td></td>
</tr>
<tr> <tr>
<td>pause</td> <td>pause</td>
<td>60000</td> <td>60000</td>
......
...@@ -2,9 +2,6 @@ ...@@ -2,9 +2,6 @@
<test> <test>
<table style="display: none;" class="test"> <table style="display: none;" class="test">
<tbody> <tbody>
<tr>
<td colspan="3">&lt;span metal:use-macro="container/Zuite_viewTestMacroLibrary/macros/init_test_environment"&gt;init&lt;/span&gt;</td>
</tr>
<tr> <tr>
<td>store</td> <td>store</td>
<td tal:content="python:here.getPortalObject().absolute_url()">http://example.com/erp5</td> <td tal:content="python:here.getPortalObject().absolute_url()">http://example.com/erp5</td>
...@@ -86,12 +83,12 @@ ...@@ -86,12 +83,12 @@
</tr> </tr>
<tr> <tr>
<td>waitForElementPresent</td> <td>waitForElementPresent</td>
<td>//div[@data-gadget-scope="field_listbox_storage"]//div//div//div[@class='document_table']//table//tbody//tr[1]</td> <td>//a[text()='sensor_1-sample-environment-raw-data']</td>
<td></td> <td></td>
</tr> </tr>
<tr> <tr>
<td>verifyElementPresent</td> <td>verifyElementPresent</td>
<td>//div[@data-gadget-scope="field_listbox_storage"]//div//div//div[@class='document_table']//table//tbody//tr[1]</td> <td>//a[text()='sensor_1-sample-environment-raw-data']</td>
<td></td> <td></td>
</tr> </tr>
<tr> <tr>
...@@ -101,17 +98,22 @@ ...@@ -101,17 +98,22 @@
</tr> </tr>
<tr> <tr>
<td>verifyElementPresent</td> <td>verifyElementPresent</td>
<td>//div[@data-gadget-scope="field_listbox_movement"]//div//div//div[@class='document_table']//table//tbody//tr[1]</td> <td>//a[text()='sensor_1']</td>
<td></td> <td></td>
</tr> </tr
<tr> <tr>
<td>click</td> <td>click</td>
<td>//div[@data-gadget-scope="field_listbox_storage"]//div//div//div[@class='document_table']//table//tbody//tr[1]//td[1]//a</td> <td>//a[text()='sensor_1-sample-environment-raw-data']</td>
<td></td> <td></td>
</tr> </tr>
<tr> <tr>
<td>waitForElementPresent</td> <td>pause</td>
<td>//input[@id="field_my_title"]</td> <td>5000</td>
<td></td>
</tr>
<tr>
<td>verifyTextPresent</td>
<td>Total size (bytes)</td>
<td></td> <td></td>
</tr> </tr>
<tr> <tr>
...@@ -119,6 +121,11 @@ ...@@ -119,6 +121,11 @@
<td>Validated</td> <td>Validated</td>
<td></td> <td></td>
</tr> </tr>
<tr>
<td>verifyTextPresent</td>
<td>26205759</td>
<td></td>
</tr>
</tbody> </tbody>
</table> </table>
</test> </test>
......
...@@ -2,9 +2,6 @@ ...@@ -2,9 +2,6 @@
<test> <test>
<table style="display: none;" class="test"> <table style="display: none;" class="test">
<tbody> <tbody>
<tr>
<td colspan="3">&lt;span metal:use-macro="container/Zuite_viewTestMacroLibrary/macros/init_test_environment"&gt;init&lt;/span&gt;</td>
</tr>
<tr> <tr>
<td>store</td> <td>store</td>
<td tal:content="python:here.getPortalObject().absolute_url()">http://example.com/erp5</td> <td tal:content="python:here.getPortalObject().absolute_url()">http://example.com/erp5</td>
...@@ -25,6 +22,11 @@ ...@@ -25,6 +22,11 @@
<tr class="" style="opacity: 1;"> <tr class="" style="opacity: 1;">
<td colspan="3">&lt;span metal:use-macro="container/Zuite_viewTestMacroLibrary/macros/login_as_functional_test_user"&gt;Login As Functional Test User&lt;/span&gt;</td> <td colspan="3">&lt;span metal:use-macro="container/Zuite_viewTestMacroLibrary/macros/login_as_functional_test_user"&gt;Login As Functional Test User&lt;/span&gt;</td>
</tr> </tr>
<tr>
<td>openAndWait</td>
<td>${base_url}/Zuite_updateUserPreferenceForTutorialTests</td>
<td></td>
</tr>
</tbody> </tbody>
</table> </table>
</test> </test>
...@@ -82,6 +84,16 @@ ...@@ -82,6 +84,16 @@
<test> <test>
<table style="display: none;" class="test"> <table style="display: none;" class="test">
<tbody> <tbody>
<tr>
<td>openAndWait</td>
<td>${base_url}/Zuite_waitForActivities</td>
<td></td>
</tr>
<tr>
<td>assertTextPresent</td>
<td>Done.</td>
<td></td>
</tr>
<tr> <tr>
<td>openAndWait</td> <td>openAndWait</td>
<td>${base_url_x}/web_site_module/default_wendelin_front/</td> <td>${base_url_x}/web_site_module/default_wendelin_front/</td>
...@@ -119,7 +131,7 @@ ...@@ -119,7 +131,7 @@
</tr> </tr>
<tr> <tr>
<td>waitForElementPresent</td> <td>waitForElementPresent</td>
<td>//button[@type="submit" and @data-i18n="Proceed"]</td> <td>//input[@type="submit" and @value="Create Document"]</td>
<td></td> <td></td>
</tr> </tr>
<tr> <tr>
...@@ -129,7 +141,7 @@ ...@@ -129,7 +141,7 @@
</tr> </tr>
<tr> <tr>
<td>click</td> <td>click</td>
<td>//button[@type="submit" and @data-i18n="Proceed"]</td> <td>//input[@type="submit" and @value="Create Document"]</td>
<td></td> <td></td>
</tr> </tr>
</tbody> </tbody>
...@@ -241,12 +253,12 @@ ...@@ -241,12 +253,12 @@
</tr> </tr>
<tr> <tr>
<td>waitForElementPresent</td> <td>waitForElementPresent</td>
<td>//button[@type="submit" and @data-i18n="Proceed"]</td> <td>//input[@type="submit" and @value="Validate"]</td>
<td></td> <td></td>
</tr> </tr>
<tr> <tr>
<td>click</td> <td>click</td>
<td>//button[@type="submit" and @data-i18n="Proceed"]</td> <td>//input[@type="submit" and @value="Validate"]</td>
<td></td> <td></td>
</tr> </tr>
<tr> <tr>
...@@ -308,6 +320,26 @@ ...@@ -308,6 +320,26 @@
<td>click</td> <td>click</td>
<td>//a[contains(@href,'page=front')]</td> <td>//a[contains(@href,'page=front')]</td>
<td></td> <td></td>
</tr>
<tr>
<td>pause</td>
<td>3000</td>
<td></td>
</tr>
<tr>
<td>waitForElementPresent</td>
<td>//a[@accesskey="m"]</td>
<td></td>
</tr>
<tr>
<td>click</td>
<td>//a[@accesskey="m"]</td>
<td></td>
</tr>
<tr>
<td>pause</td>
<td>3000</td>
<td></td>
</tr> </tr>
<tr> <tr>
<td>waitForElementPresent</td> <td>waitForElementPresent</td>
...@@ -331,7 +363,7 @@ ...@@ -331,7 +363,7 @@
</tr> </tr>
<tr> <tr>
<td>waitForElementPresent</td> <td>waitForElementPresent</td>
<td>//button[@type="submit" and @data-i18n="Proceed"]</td> <td>//input[@type="submit" and @value="Create Document"]</td>
<td></td> <td></td>
</tr> </tr>
<tr> <tr>
...@@ -341,7 +373,7 @@ ...@@ -341,7 +373,7 @@
</tr> </tr>
<tr> <tr>
<td>click</td> <td>click</td>
<td>//button[@type="submit" and @data-i18n="Proceed"]</td> <td>//input[@type="submit" and @value="Create Document"]</td>
<td></td> <td></td>
</tr> </tr>
...@@ -413,12 +445,12 @@ ...@@ -413,12 +445,12 @@
</tr> </tr>
<tr> <tr>
<td>waitForElementPresent</td> <td>waitForElementPresent</td>
<td>//button[@type="submit" and @data-i18n="Proceed"]</td> <td>//input[@type="submit" and @value="Validate"]</td>
<td></td> <td></td>
</tr> </tr>
<tr> <tr>
<td>click</td> <td>click</td>
<td>//button[@type="submit" and @data-i18n="Proceed"]</td> <td>//input[@type="submit" and @value="Validate"]</td>
<td></td> <td></td>
</tr> </tr>
<tr> <tr>
...@@ -476,6 +508,16 @@ ...@@ -476,6 +508,16 @@
<!--<tr class="" style="opacity: 1;"> <!--<tr class="" style="opacity: 1;">
<td colspan="3">&lt;span metal:use-macro="container/Zuite_viewTestMacroLibrary/macros/wait_for_activities"&gt; Wait for activities &lt;/span&gt;</td> <td colspan="3">&lt;span metal:use-macro="container/Zuite_viewTestMacroLibrary/macros/wait_for_activities"&gt; Wait for activities &lt;/span&gt;</td>
</tr>--> </tr>-->
<tr>
<td>openAndWait</td>
<td>${base_url}/Zuite_waitForActivities</td>
<td></td>
</tr>
<tr>
<td>assertTextPresent</td>
<td>Done.</td>
<td></td>
</tr>
<tr> <tr>
<td>openAndWait</td> <td>openAndWait</td>
<td>${base_url_x}/web_site_module/default_wendelin_front/</td> <td>${base_url_x}/web_site_module/default_wendelin_front/</td>
...@@ -513,42 +555,61 @@ ...@@ -513,42 +555,61 @@
</tr> </tr>
<tr> <tr>
<td>waitForElementPresent</td> <td>waitForElementPresent</td>
<td>//button[@type="submit" and @data-i18n="Proceed"]</td> <td>//input[@type="submit" and @value="Create Document"]</td>
<td></td> <td></td>
</tr> </tr>
<tr> <tr>
<td>click</td> <td>click</td>
<td>//button[@type="submit" and @data-i18n="Proceed"]</td> <td>//input[@type="submit" and @value="Create Document"]</td>
<td></td> <td></td>
</tr> </tr>
<tr> <tr>
<td>waitForElementPresent</td> <td>waitForElementPresent</td>
<td>//input[@id="field_my_id"]</td> <td>//input[@id="field_my_title"]</td>
<td></td> <td></td>
</tr> </tr>
<tr> <tr>
<td>type</td> <td>type</td>
<td>//input[@id="field_my_id"]</td> <td>//input[@id="field_my_title"]</td>
<td>DataAnalysisLine_convertEnvironmentDataStreamToArray</td> <td>DataAnalysisLine_convertEnvironmentDataStreamToArray</td>
</tr> </tr>
<tr> <tr>
<td>type</td> <td>waitForElementPresent</td>
<td>//input[@id="field_my_title"]</td> <td>//input[@id="field_my_reference"]</td>
<td>DataAnalysisLine_convertEnvironmentDataStreamToArray</td> <td></td>
</tr> </tr>
<tr> <tr>
<td>type</td> <td>type</td>
<td>//input[@id="field_my_reference"]</td> <td>//input[@id="field_my_reference"]</td>
<td>DataAnalysisLine_convertEnvironmentDataStreamToArray</td> <td>DataAnalysisLine_convertEnvironmentDataStreamToArray</td>
</tr>
<tr>
<td>click</td>
<td>//button[@type="submit" and @data-i18n="Save"]</td>
<td></td>
</tr> </tr>
<tr> <tr>
<td>pause</td> <td>pause</td>
<td>15000</td> <td>3000</td>
<td></td> <td></td>
</tr> </tr>
<!--<tr> <tr>
<td>waitForElementPresent</td>
<td>//button[@type="submit" and @class="success"]</td>
<td></td>
</tr>
<tr>
<td>waitForElementPresent</td>
<td>//input[@id="field_my_id"]</td>
<td></td>
</tr>
<tr>
<td>type</td>
<td>//input[@id="field_my_id"]</td>
<td>DataAnalysisLine_convertEnvironmentDataStreamToArray</td>
</tr>
<tr>
<td>click</td> <td>click</td>
<td>//button[@type="submit" and @data-i18n="Save"]</td> <td>//button[@type="submit" and @data-i18n="Save"]</td>
<td></td> <td></td>
...@@ -562,7 +623,7 @@ ...@@ -562,7 +623,7 @@
<td>waitForElementPresent</td> <td>waitForElementPresent</td>
<td>//button[@type="submit" and @class="success"]</td> <td>//button[@type="submit" and @class="success"]</td>
<td></td> <td></td>
</tr>--> </tr>
</tbody> </tbody>
</table> </table>
</test> </test>
...@@ -654,6 +715,26 @@ if end &lt; in_data_stream.getSize(): ...@@ -654,6 +715,26 @@ if end &lt; in_data_stream.getSize():
<td>type</td> <td>type</td>
<td>//input[@id="field_my_parameter_signature"]</td> <td>//input[@id="field_my_parameter_signature"]</td>
<td>in_stream=None, out_array=None</td> <td>in_stream=None, out_array=None</td>
</tr>
<tr>
<td>waitForElementPresent</td>
<td>//button[@type="submit" and @data-i18n="Save"]</td>
<td></td>
</tr>
<tr>
<td>click</td>
<td>//button[@type="submit" and @data-i18n="Save"]</td>
<td></td>
</tr>
<tr>
<td>pause</td>
<td>3000</td>
<td></td>
</tr>
<tr>
<td>waitForElementPresent</td>
<td>//button[@type="submit" and @class="success"]</td>
<td></td>
</tr> </tr>
<tr> <tr>
<td>type</td> <td>type</td>
...@@ -795,7 +876,7 @@ if end &lt; in_data_stream.getSize(): ...@@ -795,7 +876,7 @@ if end &lt; in_data_stream.getSize():
</tr> </tr>
<tr> <tr>
<td>waitForElementPresent</td> <td>waitForElementPresent</td>
<td>//button[@type="submit" and @data-i18n="Proceed"]</td> <td>//input[@type="submit" and @value="Create Document"]</td>
<td></td> <td></td>
</tr> </tr>
<tr> <tr>
...@@ -805,7 +886,7 @@ if end &lt; in_data_stream.getSize(): ...@@ -805,7 +886,7 @@ if end &lt; in_data_stream.getSize():
</tr> </tr>
<tr> <tr>
<td>click</td> <td>click</td>
<td>//button[@type="submit" and @data-i18n="Proceed"]</td> <td>//input[@type="submit" and @value="Create Document"]</td>
<td></td> <td></td>
</tr> </tr>
...@@ -918,7 +999,7 @@ if end &lt; in_data_stream.getSize(): ...@@ -918,7 +999,7 @@ if end &lt; in_data_stream.getSize():
</tr> </tr>
<tr> <tr>
<td>waitForElementPresent</td> <td>waitForElementPresent</td>
<td>//button[@type="submit" and @data-i18n="Proceed"]</td> <td>//input[@type="submit" and @value="Create Document"]</td>
<td></td> <td></td>
</tr> </tr>
<tr> <tr>
...@@ -928,7 +1009,7 @@ if end &lt; in_data_stream.getSize(): ...@@ -928,7 +1009,7 @@ if end &lt; in_data_stream.getSize():
</tr> </tr>
<tr> <tr>
<td>click</td> <td>click</td>
<td>//button[@type="submit" and @data-i18n="Proceed"]</td> <td>//input[@type="submit" and @value="Create Document"]</td>
<td></td> <td></td>
</tr> </tr>
...@@ -1081,7 +1162,7 @@ if end &lt; in_data_stream.getSize(): ...@@ -1081,7 +1162,7 @@ if end &lt; in_data_stream.getSize():
</tr> </tr>
<tr> <tr>
<td>waitForElementPresent</td> <td>waitForElementPresent</td>
<td>//button[@type="submit" and @data-i18n="Proceed"]</td> <td>//input[@type="submit" and @value="Create Document"]</td>
<td></td> <td></td>
</tr> </tr>
<tr> <tr>
...@@ -1091,7 +1172,7 @@ if end &lt; in_data_stream.getSize(): ...@@ -1091,7 +1172,7 @@ if end &lt; in_data_stream.getSize():
</tr> </tr>
<tr> <tr>
<td>click</td> <td>click</td>
<td>//button[@type="submit" and @data-i18n="Proceed"]</td> <td>//input[@type="submit" and @value="Create Document"]</td>
<td></td> <td></td>
</tr> </tr>
...@@ -1269,7 +1350,7 @@ if end &lt; in_data_stream.getSize(): ...@@ -1269,7 +1350,7 @@ if end &lt; in_data_stream.getSize():
</tr> </tr>
<tr> <tr>
<td>waitForElementPresent</td> <td>waitForElementPresent</td>
<td>//button[@type="submit" and @data-i18n="Proceed"]</td> <td>//input[@type="submit" and @value="Create Document"]</td>
<td></td> <td></td>
</tr> </tr>
<tr> <tr>
...@@ -1279,7 +1360,7 @@ if end &lt; in_data_stream.getSize(): ...@@ -1279,7 +1360,7 @@ if end &lt; in_data_stream.getSize():
</tr> </tr>
<tr> <tr>
<td>click</td> <td>click</td>
<td>//button[@type="submit" and @data-i18n="Proceed"]</td> <td>//input[@type="submit" and @value="Create Document"]</td>
<td></td> <td></td>
</tr> </tr>
...@@ -1452,12 +1533,12 @@ if end &lt; in_data_stream.getSize(): ...@@ -1452,12 +1533,12 @@ if end &lt; in_data_stream.getSize():
</tr> </tr>
<tr> <tr>
<td>waitForElementPresent</td> <td>waitForElementPresent</td>
<td>//button[@type="submit" and @data-i18n="Proceed"]</td> <td>//input[@type="submit" and @value="Validate"]</td>
<td></td> <td></td>
</tr> </tr>
<tr> <tr>
<td>click</td> <td>click</td>
<td>//button[@type="submit" and @data-i18n="Proceed"]</td> <td>//input[@type="submit" and @value="Validate"]</td>
<td></td> <td></td>
</tr> </tr>
<tr> <tr>
...@@ -1488,10 +1569,12 @@ if end &lt; in_data_stream.getSize(): ...@@ -1488,10 +1569,12 @@ if end &lt; in_data_stream.getSize():
<test> <test>
<table style="display: none;" class="test"> <table style="display: none;" class="test">
<tbody> <tbody>
<!--<tr class="" style="opacity: 1;"> <tr>
<td colspan="3">&lt;span metal:use-macro="container/Zuite_viewTestMacroLibrary/macros/wait_for_activities"&gt; Wait for activities &lt;/span&gt;</td> <td>openAndWait</td>
<td>${base_url}/Zuite_waitForActivities</td>
<td></td>
</tr> </tr>
<tr>--> <tr>
<td>openAndWait</td> <td>openAndWait</td>
<td>${base_url_x}/web_site_module/default_wendelin_front/</td> <td>${base_url_x}/web_site_module/default_wendelin_front/</td>
<td></td> <td></td>
......
...@@ -2,9 +2,6 @@ ...@@ -2,9 +2,6 @@
<test> <test>
<table style="display: none;" class="test"> <table style="display: none;" class="test">
<tbody> <tbody>
<tr>
<td colspan="3">&lt;span metal:use-macro="container/Zuite_viewTestMacroLibrary/macros/init_test_environment"&gt;init&lt;/span&gt;</td>
</tr>
<tr> <tr>
<td>store</td> <td>store</td>
<td tal:content="python:here.getPortalObject().absolute_url()">http://example.com/erp5</td> <td tal:content="python:here.getPortalObject().absolute_url()">http://example.com/erp5</td>
...@@ -154,7 +151,7 @@ ...@@ -154,7 +151,7 @@
</tr> </tr>
<tr> <tr>
<td>waitForElementPresent</td> <td>waitForElementPresent</td>
<td>//button[@type="submit" and @data-i18n="Proceed"]</td> <td>//input[@type="submit" and @value="Create Document"]</td>
<td></td> <td></td>
</tr> </tr>
<tr> <tr>
...@@ -164,7 +161,7 @@ ...@@ -164,7 +161,7 @@
</tr> </tr>
<tr> <tr>
<td>click</td> <td>click</td>
<td>//button[@type="submit" and @data-i18n="Proceed"]</td> <td>//input[@type="submit" and @value="Create Document"]</td>
<td></td> <td></td>
</tr> </tr>
...@@ -225,12 +222,12 @@ ...@@ -225,12 +222,12 @@
</tr> </tr>
<tr> <tr>
<td>waitForElementPresent</td> <td>waitForElementPresent</td>
<td>//button[@type="submit" and @data-i18n="Proceed"]</td> <td>//input[@type="submit" and @value="Validate"]</td>
<td></td> <td></td>
</tr> </tr>
<tr> <tr>
<td>click</td> <td>click</td>
<td>//button[@type="submit" and @data-i18n="Proceed"]</td> <td>//input[@type="submit" and @value="Validate"]</td>
<td></td> <td></td>
</tr> </tr>
<tr> <tr>
...@@ -339,22 +336,23 @@ ...@@ -339,22 +336,23 @@
</tr> </tr>
<tr> <tr>
<td>waitForElementPresent</td> <td>waitForElementPresent</td>
<td>//a[@data-i18n="Preference: Default Site Preference"]</td> <td>//a[@data-i18n="Preference: Preference for functional_test_username"]</td>
<td></td> <td></td>
</tr> </tr>
<tr> <tr>
<td>click</td> <td>click</td>
<td>//a[@data-i18n="Preference: Default Site Preference"]</td> <td>//a[@data-i18n="Preference: Preference for functional_test_username"]</td>
<td></td> <td></td>
</tr> </tr>
<tr> <tr>
<td>waitForElementPresent</td> <td>waitForElementPresent</td>
<td>//div[@class='document_table']//table//tbody//tr[2]//td[1]//a</td> <td>//a[contains(@href,'default_sytem_preference')]</td>
<td></td> <td></td>
</tr> </tr>
<tr> <tr>
<td>click</td> <td>click</td>
<td>//div[@class='document_table']//table//tbody//tr[2]//td[1]//a</td> <td>//a[contains(@href,'default_sytem_preference')]</td>
<td></td> <td></td>
</tr> </tr>
<tr> <tr>
...@@ -477,7 +475,7 @@ ...@@ -477,7 +475,7 @@
</tr> </tr>
<tr> <tr>
<td>waitForElementPresent</td> <td>waitForElementPresent</td>
<td>//button[@type="submit" and @data-i18n="Proceed"]</td> <td>//input[@type="submit" and @value="Create Document"]</td>
<td></td> <td></td>
</tr> </tr>
<tr> <tr>
...@@ -487,7 +485,7 @@ ...@@ -487,7 +485,7 @@
</tr> </tr>
<tr> <tr>
<td>click</td> <td>click</td>
<td>//button[@type="submit" and @data-i18n="Proceed"]</td> <td>//input[@type="submit" and @value="Create Document"]</td>
<td></td> <td></td>
</tr> </tr>
...@@ -630,12 +628,12 @@ ...@@ -630,12 +628,12 @@
</tr> </tr>
<tr> <tr>
<td>waitForElementPresent</td> <td>waitForElementPresent</td>
<td>//button[@type="submit" and @data-i18n="Proceed"]</td> <td>//input[@type="submit" and @value="Create Document"]</td>
<td></td> <td></td>
</tr> </tr>
<tr> <tr>
<td>click</td> <td>click</td>
<td>//button[@type="submit" and @data-i18n="Proceed"]</td> <td>//input[@type="submit" and @value="Create Document"]</td>
<td></td> <td></td>
</tr> </tr>
...@@ -707,12 +705,12 @@ ...@@ -707,12 +705,12 @@
</tr> </tr>
<tr> <tr>
<td>waitForElementPresent</td> <td>waitForElementPresent</td>
<td>//button[@type="submit" and @data-i18n="Proceed"]</td> <td>//input[@type="submit" and @value="Create Document"]</td>
<td></td> <td></td>
</tr> </tr>
<tr> <tr>
<td>click</td> <td>click</td>
<td>//button[@type="submit" and @data-i18n="Proceed"]</td> <td>//input[@type="submit" and @value="Create Document"]</td>
<td></td> <td></td>
</tr> </tr>
...@@ -784,12 +782,12 @@ ...@@ -784,12 +782,12 @@
</tr> </tr>
<tr> <tr>
<td>waitForElementPresent</td> <td>waitForElementPresent</td>
<td>//button[@type="submit" and @data-i18n="Proceed"]</td> <td>//input[@type="submit" and @value="Create Document"]</td>
<td></td> <td></td>
</tr> </tr>
<tr> <tr>
<td>click</td> <td>click</td>
<td>//button[@type="submit" and @data-i18n="Proceed"]</td> <td>//input[@type="submit" and @value="Create Document"]</td>
<td></td> <td></td>
</tr> </tr>
...@@ -861,12 +859,12 @@ ...@@ -861,12 +859,12 @@
</tr> </tr>
<tr> <tr>
<td>waitForElementPresent</td> <td>waitForElementPresent</td>
<td>//button[@type="submit" and @data-i18n="Proceed"]</td> <td>//input[@type="submit" and @value="Create Document"]</td>
<td></td> <td></td>
</tr> </tr>
<tr> <tr>
<td>click</td> <td>click</td>
<td>//button[@type="submit" and @data-i18n="Proceed"]</td> <td>//input[@type="submit" and @value="Create Document"]</td>
<td></td> <td></td>
</tr> </tr>
...@@ -928,12 +926,12 @@ ...@@ -928,12 +926,12 @@
</tr> </tr>
<tr> <tr>
<td>waitForElementPresent</td> <td>waitForElementPresent</td>
<td>//button[@type="submit" and @data-i18n="Proceed"]</td> <td>//input[@type="submit" and @value="Create Document"]</td>
<td></td> <td></td>
</tr> </tr>
<tr> <tr>
<td>click</td> <td>click</td>
<td>//button[@type="submit" and @data-i18n="Proceed"]</td> <td>//input[@type="submit" and @value="Create Document"]</td>
<td></td> <td></td>
</tr> </tr>
<tr> <tr>
...@@ -1191,12 +1189,12 @@ progress_indicator.setIntOffsetIndex(in_zbigarray.shape[0]) ...@@ -1191,12 +1189,12 @@ progress_indicator.setIntOffsetIndex(in_zbigarray.shape[0])
</tr> </tr>
<tr> <tr>
<td>waitForElementPresent</td> <td>waitForElementPresent</td>
<td>//button[@type="submit" and @data-i18n="Proceed"]</td> <td>//input[@type="submit" and @value="Create Document"]</td>
<td></td> <td></td>
</tr> </tr>
<tr> <tr>
<td>click</td> <td>click</td>
<td>//button[@type="submit" and @data-i18n="Proceed"]</td> <td>//input[@type="submit" and @value="Create Document"]</td>
<td></td> <td></td>
</tr> </tr>
...@@ -1495,7 +1493,7 @@ progress_indicator.setIntOffsetIndex(in_zbigarray.shape[0]) ...@@ -1495,7 +1493,7 @@ progress_indicator.setIntOffsetIndex(in_zbigarray.shape[0])
</tr> </tr>
<tr> <tr>
<td>waitForElementPresent</td> <td>waitForElementPresent</td>
<td>//button[@type="submit" and @data-i18n="Proceed"]</td> <td>//input[@type="submit" and @value="Create Document"]</td>
<td></td> <td></td>
</tr> </tr>
<tr> <tr>
...@@ -1505,7 +1503,7 @@ progress_indicator.setIntOffsetIndex(in_zbigarray.shape[0]) ...@@ -1505,7 +1503,7 @@ progress_indicator.setIntOffsetIndex(in_zbigarray.shape[0])
</tr> </tr>
<tr> <tr>
<td>click</td> <td>click</td>
<td>//button[@type="submit" and @data-i18n="Proceed"]</td> <td>//input[@type="submit" and @value="Create Document"]</td>
<td></td> <td></td>
</tr> </tr>
...@@ -1626,7 +1624,7 @@ progress_indicator.setIntOffsetIndex(in_zbigarray.shape[0]) ...@@ -1626,7 +1624,7 @@ progress_indicator.setIntOffsetIndex(in_zbigarray.shape[0])
</tr> </tr>
<tr> <tr>
<td>waitForElementPresent</td> <td>waitForElementPresent</td>
<td>//button[@type="submit" and @data-i18n="Proceed"]</td> <td>//input[@type="submit" and @value="Create Document"]</td>
<td></td> <td></td>
</tr> </tr>
<tr> <tr>
...@@ -1636,7 +1634,7 @@ progress_indicator.setIntOffsetIndex(in_zbigarray.shape[0]) ...@@ -1636,7 +1634,7 @@ progress_indicator.setIntOffsetIndex(in_zbigarray.shape[0])
</tr> </tr>
<tr> <tr>
<td>click</td> <td>click</td>
<td>//button[@type="submit" and @data-i18n="Proceed"]</td> <td>//input[@type="submit" and @value="Create Document"]</td>
<td></td> <td></td>
</tr> </tr>
...@@ -1797,7 +1795,7 @@ progress_indicator.setIntOffsetIndex(in_zbigarray.shape[0]) ...@@ -1797,7 +1795,7 @@ progress_indicator.setIntOffsetIndex(in_zbigarray.shape[0])
</tr> </tr>
<tr> <tr>
<td>waitForElementPresent</td> <td>waitForElementPresent</td>
<td>//button[@type="submit" and @data-i18n="Proceed"]</td> <td>//input[@type="submit" and @value="Create Document"]</td>
<td></td> <td></td>
</tr> </tr>
<tr> <tr>
...@@ -1807,7 +1805,7 @@ progress_indicator.setIntOffsetIndex(in_zbigarray.shape[0]) ...@@ -1807,7 +1805,7 @@ progress_indicator.setIntOffsetIndex(in_zbigarray.shape[0])
</tr> </tr>
<tr> <tr>
<td>click</td> <td>click</td>
<td>//button[@type="submit" and @data-i18n="Proceed"]</td> <td>//input[@type="submit" and @value="Create Document"]</td>
<td></td> <td></td>
</tr> </tr>
...@@ -2005,7 +2003,7 @@ progress_indicator.setIntOffsetIndex(in_zbigarray.shape[0]) ...@@ -2005,7 +2003,7 @@ progress_indicator.setIntOffsetIndex(in_zbigarray.shape[0])
</tr> </tr>
<tr> <tr>
<td>waitForElementPresent</td> <td>waitForElementPresent</td>
<td>//button[@type="submit" and @data-i18n="Proceed"]</td> <td>//input[@type="submit" and @value="Create Document"]</td>
<td></td> <td></td>
</tr> </tr>
<tr> <tr>
...@@ -2015,7 +2013,7 @@ progress_indicator.setIntOffsetIndex(in_zbigarray.shape[0]) ...@@ -2015,7 +2013,7 @@ progress_indicator.setIntOffsetIndex(in_zbigarray.shape[0])
</tr> </tr>
<tr> <tr>
<td>click</td> <td>click</td>
<td>//button[@type="submit" and @data-i18n="Proceed"]</td> <td>//input[@type="submit" and @value="Create Document"]</td>
<td></td> <td></td>
</tr> </tr>
...@@ -2153,7 +2151,7 @@ progress_indicator.setIntOffsetIndex(in_zbigarray.shape[0]) ...@@ -2153,7 +2151,7 @@ progress_indicator.setIntOffsetIndex(in_zbigarray.shape[0])
</tr> </tr>
<tr> <tr>
<td>waitForElementPresent</td> <td>waitForElementPresent</td>
<td>//button[@type="submit" and @data-i18n="Proceed"]</td> <td>//input[@type="submit" and @value="Create Document"]</td>
<td></td> <td></td>
</tr> </tr>
<tr> <tr>
...@@ -2163,7 +2161,7 @@ progress_indicator.setIntOffsetIndex(in_zbigarray.shape[0]) ...@@ -2163,7 +2161,7 @@ progress_indicator.setIntOffsetIndex(in_zbigarray.shape[0])
</tr> </tr>
<tr> <tr>
<td>click</td> <td>click</td>
<td>//button[@type="submit" and @data-i18n="Proceed"]</td> <td>//input[@type="submit" and @value="Create Document"]</td>
<td></td> <td></td>
</tr> </tr>
...@@ -2301,7 +2299,7 @@ progress_indicator.setIntOffsetIndex(in_zbigarray.shape[0]) ...@@ -2301,7 +2299,7 @@ progress_indicator.setIntOffsetIndex(in_zbigarray.shape[0])
</tr> </tr>
<tr> <tr>
<td>waitForElementPresent</td> <td>waitForElementPresent</td>
<td>//button[@type="submit" and @data-i18n="Proceed"]</td> <td>//input[@type="submit" and @value="Create Document"]</td>
<td></td> <td></td>
</tr> </tr>
<tr> <tr>
...@@ -2311,7 +2309,7 @@ progress_indicator.setIntOffsetIndex(in_zbigarray.shape[0]) ...@@ -2311,7 +2309,7 @@ progress_indicator.setIntOffsetIndex(in_zbigarray.shape[0])
</tr> </tr>
<tr> <tr>
<td>click</td> <td>click</td>
<td>//button[@type="submit" and @data-i18n="Proceed"]</td> <td>//input[@type="submit" and @value="Create Document"]</td>
<td></td> <td></td>
</tr> </tr>
...@@ -2449,7 +2447,7 @@ progress_indicator.setIntOffsetIndex(in_zbigarray.shape[0]) ...@@ -2449,7 +2447,7 @@ progress_indicator.setIntOffsetIndex(in_zbigarray.shape[0])
</tr> </tr>
<tr> <tr>
<td>waitForElementPresent</td> <td>waitForElementPresent</td>
<td>//button[@type="submit" and @data-i18n="Proceed"]</td> <td>//input[@type="submit" and @value="Create Document"]</td>
<td></td> <td></td>
</tr> </tr>
<tr> <tr>
...@@ -2459,7 +2457,7 @@ progress_indicator.setIntOffsetIndex(in_zbigarray.shape[0]) ...@@ -2459,7 +2457,7 @@ progress_indicator.setIntOffsetIndex(in_zbigarray.shape[0])
</tr> </tr>
<tr> <tr>
<td>click</td> <td>click</td>
<td>//button[@type="submit" and @data-i18n="Proceed"]</td> <td>//input[@type="submit" and @value="Create Document"]</td>
<td></td> <td></td>
</tr> </tr>
...@@ -2655,12 +2653,12 @@ progress_indicator.setIntOffsetIndex(in_zbigarray.shape[0]) ...@@ -2655,12 +2653,12 @@ progress_indicator.setIntOffsetIndex(in_zbigarray.shape[0])
</tr> </tr>
<tr> <tr>
<td>waitForElementPresent</td> <td>waitForElementPresent</td>
<td>//button[@type="submit" and @data-i18n="Proceed"]</td> <td>//input[@type="submit" and @value="Create Document"]</td>
<td></td> <td></td>
</tr> </tr>
<tr> <tr>
<td>click</td> <td>click</td>
<td>//button[@type="submit" and @data-i18n="Proceed"]</td> <td>//input[@type="submit" and @value="Create Document"]</td>
<td></td> <td></td>
</tr> </tr>
<tr> <tr>
......
...@@ -375,7 +375,7 @@ plot();</code> ...@@ -375,7 +375,7 @@ plot();</code>
</tr> </tr>
<tr> <tr>
<td>waitForElementPresent</td> <td>waitForElementPresent</td>
<td>//button[@type="submit" and @data-i18n="Proceed"]</td> <td>//input[@type="submit" and @value="Create Document"]</td>
<td></td> <td></td>
</tr> </tr>
<tr> <tr>
...@@ -385,7 +385,7 @@ plot();</code> ...@@ -385,7 +385,7 @@ plot();</code>
</tr> </tr>
<tr> <tr>
<td>click</td> <td>click</td>
<td>//button[@type="submit" and @data-i18n="Proceed"]</td> <td>//input[@type="submit" and @value="Create Document"]</td>
<td></td> <td></td>
</tr> </tr>
......
...@@ -156,7 +156,7 @@ ...@@ -156,7 +156,7 @@
</tr> </tr>
<tr> <tr>
<td>waitForElementPresent</td> <td>waitForElementPresent</td>
<td>//button[@type="submit" and @data-i18n="Proceed"]</td> <td>//input[@type="submit" and @value="Create Document"]</td>
<td></td> <td></td>
</tr> </tr>
<tr> <tr>
...@@ -166,7 +166,7 @@ ...@@ -166,7 +166,7 @@
</tr> </tr>
<tr> <tr>
<td>click</td> <td>click</td>
<td>//button[@type="submit" and @data-i18n="Proceed"]</td> <td>//input[@type="submit" and @value="Create Document"]</td>
<td></td> <td></td>
</tr> </tr>
...@@ -227,12 +227,12 @@ ...@@ -227,12 +227,12 @@
</tr> </tr>
<tr> <tr>
<td>waitForElementPresent</td> <td>waitForElementPresent</td>
<td>//button[@type="submit" and @data-i18n="Proceed"]</td> <td>//input[@type="submit" and @value="Validate"]</td>
<td></td> <td></td>
</tr> </tr>
<tr> <tr>
<td>click</td> <td>click</td>
<td>//button[@type="submit" and @data-i18n="Proceed"]</td> <td>//input[@type="submit" and @value="Validate"]</td>
<td></td> <td></td>
</tr> </tr>
<tr> <tr>
...@@ -291,12 +291,12 @@ ...@@ -291,12 +291,12 @@
<tbody> <tbody>
<tr> <tr>
<td>waitForElementPresent</td> <td>waitForElementPresent</td>
<td>//a[contains(@href,'page=front')]</td> <td>//a[@accesskey='m']</td>
<td></td> <td></td>
</tr> </tr>
<tr> <tr>
<td>click</td> <td>click</td>
<td>//a[contains(@href,'page=front')]</td> <td>//a[@accesskey='m']</td>
<td></td> <td></td>
</tr> </tr>
<tr> <tr>
...@@ -321,7 +321,7 @@ ...@@ -321,7 +321,7 @@
</tr> </tr>
<tr> <tr>
<td>waitForElementPresent</td> <td>waitForElementPresent</td>
<td>//button[@type="submit" and @data-i18n="Proceed"]</td> <td>//input[@type="submit" and @value="Create Document"]</td>
<td></td> <td></td>
</tr> </tr>
<tr> <tr>
...@@ -331,7 +331,7 @@ ...@@ -331,7 +331,7 @@
</tr> </tr>
<tr> <tr>
<td>click</td> <td>click</td>
<td>//button[@type="submit" and @data-i18n="Proceed"]</td> <td>//input[@type="submit" and @value="Create Document"]</td>
<td></td> <td></td>
</tr> </tr>
...@@ -392,12 +392,12 @@ ...@@ -392,12 +392,12 @@
</tr> </tr>
<tr> <tr>
<td>waitForElementPresent</td> <td>waitForElementPresent</td>
<td>//button[@type="submit" and @data-i18n="Proceed"]</td> <td>//input[@type="submit" and @value="Validate"]</td>
<td></td> <td></td>
</tr> </tr>
<tr> <tr>
<td>click</td> <td>click</td>
<td>//button[@type="submit" and @data-i18n="Proceed"]</td> <td>//input[@type="submit" and @value="Validate"]</td>
<td></td> <td></td>
</tr> </tr>
<tr> <tr>
...@@ -568,12 +568,12 @@ else: ...@@ -568,12 +568,12 @@ else:
</tr> </tr>
<tr> <tr>
<td>waitForElementPresent</td> <td>waitForElementPresent</td>
<td>//button[@type="submit" and @data-i18n="Proceed"]</td> <td>//input[@type="submit" and @value="Create Document"]</td>
<td></td> <td></td>
</tr> </tr>
<tr> <tr>
<td>click</td> <td>click</td>
<td>//button[@type="submit" and @data-i18n="Proceed"]</td> <td>//input[@type="submit" and @value="Create Document"]</td>
<td></td> <td></td>
</tr> </tr>
...@@ -791,7 +791,7 @@ else: ...@@ -791,7 +791,7 @@ else:
</tr> </tr>
<tr> <tr>
<td>waitForElementPresent</td> <td>waitForElementPresent</td>
<td>//button[@type="submit" and @data-i18n="Proceed"]</td> <td>//input[@type="submit" and @value="Create Document"]</td>
<td></td> <td></td>
</tr> </tr>
<tr> <tr>
...@@ -801,7 +801,7 @@ else: ...@@ -801,7 +801,7 @@ else:
</tr> </tr>
<tr> <tr>
<td>click</td> <td>click</td>
<td>//button[@type="submit" and @data-i18n="Proceed"]</td> <td>//input[@type="submit" and @value="Create Document"]</td>
<td></td> <td></td>
</tr> </tr>
...@@ -950,7 +950,7 @@ else: ...@@ -950,7 +950,7 @@ else:
</tr> </tr>
<tr> <tr>
<td>waitForElementPresent</td> <td>waitForElementPresent</td>
<td>//button[@type="submit" and @data-i18n="Proceed"]</td> <td>//input[@type="submit" and @value="Create Document"]</td>
<td></td> <td></td>
</tr> </tr>
<tr> <tr>
...@@ -960,7 +960,7 @@ else: ...@@ -960,7 +960,7 @@ else:
</tr> </tr>
<tr> <tr>
<td>click</td> <td>click</td>
<td>//button[@type="submit" and @data-i18n="Proceed"]</td> <td>//input[@type="submit" and @value="Create Document"]</td>
<td></td> <td></td>
</tr> </tr>
...@@ -1160,7 +1160,7 @@ else: ...@@ -1160,7 +1160,7 @@ else:
</tr> </tr>
<tr> <tr>
<td>waitForElementPresent</td> <td>waitForElementPresent</td>
<td>//button[@type="submit" and @data-i18n="Proceed"]</td> <td>//input[@type="submit" and @value="Create Document"]</td>
<td></td> <td></td>
</tr> </tr>
<tr> <tr>
...@@ -1170,7 +1170,7 @@ else: ...@@ -1170,7 +1170,7 @@ else:
</tr> </tr>
<tr> <tr>
<td>click</td> <td>click</td>
<td>//button[@type="submit" and @data-i18n="Proceed"]</td> <td>//input[@type="submit" and @value="Create Document"]</td>
<td></td> <td></td>
</tr> </tr>
...@@ -1364,7 +1364,7 @@ else: ...@@ -1364,7 +1364,7 @@ else:
</tr> </tr>
<tr> <tr>
<td>waitForElementPresent</td> <td>waitForElementPresent</td>
<td>//button[@type="submit" and @data-i18n="Proceed"]</td> <td>//input[@type="submit" and @value="Create Document"]</td>
<td></td> <td></td>
</tr> </tr>
<tr> <tr>
...@@ -1374,7 +1374,7 @@ else: ...@@ -1374,7 +1374,7 @@ else:
</tr> </tr>
<tr> <tr>
<td>click</td> <td>click</td>
<td>//button[@type="submit" and @data-i18n="Proceed"]</td> <td>//input[@type="submit" and @value="Create Document"]</td>
<td></td> <td></td>
</tr> </tr>
...@@ -1545,12 +1545,12 @@ else: ...@@ -1545,12 +1545,12 @@ else:
</tr> </tr>
<tr> <tr>
<td>waitForElementPresent</td> <td>waitForElementPresent</td>
<td>//button[@type="submit" and @data-i18n="Proceed"]</td> <td>//input[@type="submit" and @value="Validate"]</td>
<td></td> <td></td>
</tr> </tr>
<tr> <tr>
<td>click</td> <td>click</td>
<td>//button[@type="submit" and @data-i18n="Proceed"]</td> <td>//input[@type="submit" and @value="Validate"]</td>
<td></td> <td></td>
</tr> </tr>
<tr> <tr>
...@@ -1812,7 +1812,7 @@ else: ...@@ -1812,7 +1812,7 @@ else:
</tr> </tr>
<tr> <tr>
<td>waitForElementPresent</td> <td>waitForElementPresent</td>
<td>//button[@type="submit" and @data-i18n="Proceed"]</td> <td>//input[@type="submit" and @value="Create Document"]</td>
<td></td> <td></td>
</tr> </tr>
<tr> <tr>
...@@ -1822,7 +1822,7 @@ else: ...@@ -1822,7 +1822,7 @@ else:
</tr> </tr>
<tr> <tr>
<td>click</td> <td>click</td>
<td>//button[@type="submit" and @data-i18n="Proceed"]</td> <td>//input[@type="submit" and @value="Create Document"]</td>
<td></td> <td></td>
</tr> </tr>
</tbody> </tbody>
......
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<global name="Folder" module="OFS.Folder"/>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>_local_properties</string> </key>
<value>
<tuple>
<dictionary>
<item>
<key> <string>id</string> </key>
<value> <string>business_template_skin_layer_priority</string> </value>
</item>
<item>
<key> <string>type</string> </key>
<value> <string>float</string> </value>
</item>
</dictionary>
</tuple>
</value>
</item>
<item>
<key> <string>_objects</string> </key>
<value>
<tuple/>
</value>
</item>
<item>
<key> <string>business_template_skin_layer_priority</string> </key>
<value> <float>100.0</float> </value>
</item>
<item>
<key> <string>id</string> </key>
<value> <string>erp5_wendelin_tutorial_ui_test</string> </value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string></string> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
preference_tool = context.getPortalObject().portal_preferences
preference = preference_tool.getActivePreference()
if preference is not None: # XXX: 3 is Priority.USER
preference.setPreferredTextEditor('text_area')
preference.setPreferredSourceCodeEditor('text_area')
return 'Init Ok.'
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<global name="PythonScript" module="Products.PythonScripts.PythonScript"/>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>Script_magic</string> </key>
<value> <int>3</int> </value>
</item>
<item>
<key> <string>_bind_names</string> </key>
<value>
<object>
<klass>
<global name="NameAssignments" module="Shared.DC.Scripts.Bindings"/>
</klass>
<tuple/>
<state>
<dictionary>
<item>
<key> <string>_asgns</string> </key>
<value>
<dictionary>
<item>
<key> <string>name_container</string> </key>
<value> <string>container</string> </value>
</item>
<item>
<key> <string>name_context</string> </key>
<value> <string>context</string> </value>
</item>
<item>
<key> <string>name_m_self</string> </key>
<value> <string>script</string> </value>
</item>
<item>
<key> <string>name_subpath</string> </key>
<value> <string>traverse_subpath</string> </value>
</item>
</dictionary>
</value>
</item>
</dictionary>
</state>
</object>
</value>
</item>
<item>
<key> <string>_params</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>_proxy_roles</string> </key>
<value>
<tuple>
<string>Manager</string>
</tuple>
</value>
</item>
<item>
<key> <string>id</string> </key>
<value> <string>Zuite_updateUserPreferenceForTutorialTests</string> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
...@@ -11,3 +11,4 @@ erp5_wendelin_configurator ...@@ -11,3 +11,4 @@ erp5_wendelin_configurator
erp5_user_tutorial_ui_test erp5_user_tutorial_ui_test
erp5_ui_test_core erp5_ui_test_core
erp5_web erp5_web
erp5_notebook
\ No newline at end of file
erp5_wendelin_tutorial_ui_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