Commit 225f608b authored by Ivan Tyagov's avatar Ivan Tyagov

erp5_wendelin_tutorial_ui_test: Stablizing fixup

See merge request !97
parents 6beb6c47 489f669a
......@@ -2,26 +2,8 @@
<test>
<table style="display: none;" class="test">
<tbody>
<tr>
<td>store</td>
<td tal:content="python:here.getPortalObject().absolute_url()">http://example.com/erp5</td>
<td>base_url_x</td>
</tr>
<tr>
<td>openAndWait</td>
<td>${base_url}/Zuite_setUpPersonTest</td>
<td></td>
</tr>
<tr>
<td>verifyTextPresent</td>
<td>Init Ok</td>
<td></td>
</tr>
<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>
</tr>
<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_viewWendelinTestMacroLibrary/macros/init_wendelin_test_environment"&gt;Init Wendlin Test Environment&lt;/span&gt;</td>
</tr>
</tbody>
</table>
......@@ -128,7 +110,7 @@
<tbody>
<tr>
<td>openAndWait</td>
<td>${base_url_x}/web_site_module/default_wendelin_front/</td>
<td>${default_front_url}</td>
<td></td>
</tr>
<tr>
......@@ -171,8 +153,6 @@
<td>//input[@type="submit" and @value="Create Document"]</td>
<td></td>
</tr>
<tr>
<td>waitForElementPresent</td>
<td>//input[@id="field_my_title"]</td>
......
......@@ -2,27 +2,8 @@
<test>
<table style="display: none;" class="test">
<tbody>
<tr>
<td>store</td>
<td tal:content="python:here.getPortalObject().absolute_url()">http://example.com/erp5</td>
<td>base_url_x</td>
</tr>
<tr>
<td>openAndWait</td>
<td>${base_url}/Zuite_setUpPersonTest</td>
<td></td>
</tr>
</tr>
<td>verifyTextPresent</td>
<td>Init Ok</td>
<td></td>
</tr>
<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>
</tr>
<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_viewWendelinTestMacroLibrary/macros/init_wendelin_test_environment"&gt;Init Wendlin Test Environment&lt;/span&gt;</td>
</tr>
</tbody>
</table>
......@@ -131,7 +112,7 @@
<tbody>
<tr>
<td>openAndWait</td>
<td>${base_url_x}/web_site_module/default_wendelin_front/</td>
<td>${default_front_url}</td>
<td></td>
</tr>
<tr>
......
......@@ -2,25 +2,8 @@
<test>
<table style="display: none;" class="test">
<tbody>
<tr>
<td>store</td>
<td tal:content="python:here.getPortalObject().absolute_url()">http://example.com/erp5</td>
<td>base_url_x</td>
</tr>
<tr>
<td>openAndWait</td>
<td>${base_url}/Zuite_setUpPersonTest</td>
<td></td>
</tr>
<tr>
<td>verifyTextPresent</td>
<td></td>
</tr>
<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>
</tr>
<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_viewWendelinTestMacroLibrary/macros/init_wendelin_test_environment"&gt;Init Wendlin Test Environment&lt;/span&gt;</td>
</tr>
</tbody>
</table>
......@@ -81,7 +64,7 @@
<tbody>
<tr>
<td>openAndWait</td>
<td>${base_url_x}/web_site_module/default_wendelin_front/</td>
<td>${default_front_url}</td>
<td></td>
</tr>
<tr>
......@@ -245,8 +228,6 @@
<td>//li[@name='Organisation']</td>
<td></td>
</tr>
<tr>
<td>type</td>
<td>//input[@id="field_my_source_section_title"]</td>
......@@ -267,7 +248,6 @@
<td>//li[@name='Organisation']</td>
<td></td>
</tr>
<tr>
<td>type</td>
<td>//input[@id="field_my_destination_title"]</td>
......@@ -304,9 +284,9 @@
<td></td>
</tr>
<tr>
<td>pause</td>
<td>5000</td>
<td></td>
<td colspan="3">&lt;tal:block
metal:use-macro=&quot;here/Zuite_CommonTemplateForRenderjsUi/macros/wait_for_content_loaded&quot;&gt;
&lt;/tal:block&gt;</td>
</tr>
<tr>
<td>waitForElementPresent</td>
......@@ -338,19 +318,16 @@
<td>//button[@type="submit" and @class="success"]</td>
<td></td>
</tr>
<tr>
<td>waitForElementPresent</td>
<td>//label[@for="field_my_translated_validation_state_title"]</td>
<td></td>
</tr>
<tr>
<td>assertTextPresent</td>
<td>Validated</td>
<td></td>
</tr>
<tr>
<td>waitForElementPresent</td>
<td>//input[@id="field_my_destination_section_title"]</td>
......@@ -382,9 +359,9 @@
<td></td>
</tr>
<tr>
<td>pause</td>
<td>5000</td>
<td></td>
<td colspan="3">&lt;tal:block
metal:use-macro=&quot;here/Zuite_CommonTemplateForRenderjsUi/macros/wait_for_content_loaded&quot;&gt;
&lt;/tal:block&gt;</td>
</tr>
<tr>
<td>waitForElementPresent</td>
......@@ -580,9 +557,9 @@
<td></td>
</tr>
<tr>
<td>pause</td>
<td>5000</td>
<td></td>
<td colspan="3">&lt;tal:block
metal:use-macro=&quot;here/Zuite_CommonTemplateForRenderjsUi/macros/wait_for_content_loaded&quot;&gt;
&lt;/tal:block&gt;</td>
</tr>
<tr>
<td>waitForElementPresent</td>
......@@ -595,9 +572,9 @@
<td></td>
</tr>
<tr>
<td>pause</td>
<td>5000</td>
<td></td>
<td colspan="3">&lt;tal:block
metal:use-macro=&quot;here/Zuite_CommonTemplateForRenderjsUi/macros/wait_for_content_loaded&quot;&gt;
&lt;/tal:block&gt;</td>
</tr>
</tbody>
</table>
......@@ -689,16 +666,16 @@
<td>//input[@type="submit" and @value="Create Document"]</td>
<td></td>
</tr>
<tr>
<td>pause</td>
<td>5000</td>
<td></td>
</tr>
<tr>
<td>click</td>
<td>//input[@type="submit" and @value="Create Document"]</td>
<td></td>
</tr>
<tr>
<td colspan="3">&lt;tal:block
metal:use-macro=&quot;here/Zuite_CommonTemplateForRenderjsUi/macros/wait_for_content_loaded&quot;&gt;
&lt;/tal:block&gt;</td>
</tr>
<tr>
<td>waitForElementPresent</td>
<td>//input[@id="field_my_title"]</td>
......@@ -745,9 +722,9 @@
<td></td>
</tr>
<tr>
<td>pause</td>
<td>5000</td>
<td></td>
<td colspan="3">&lt;tal:block
metal:use-macro=&quot;here/Zuite_CommonTemplateForRenderjsUi/macros/wait_for_content_loaded&quot;&gt;
&lt;/tal:block&gt;</td>
</tr>
<tr>
<td>waitForElementPresent</td>
......@@ -760,9 +737,9 @@
<td></td>
</tr>
<tr>
<td>pause</td>
<td>5000</td>
<td></td>
<td colspan="3">&lt;tal:block
metal:use-macro=&quot;here/Zuite_CommonTemplateForRenderjsUi/macros/wait_for_listbox_loaded&quot;&gt;
&lt;/tal:block&gt;</td>
</tr>
<tr>
<td>verifyElementPresent</td>
......@@ -786,7 +763,7 @@
</tr>
<tr>
<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}/Ingestion_ingestDataStream?reference=sensor_1-sample-environment-raw-data</td>
<td></td>
</tr>
<tr>
......@@ -794,16 +771,6 @@
<td>Data ingested</td>
<td></td>
</tr>
<tr>
<td>pause</td>
<td>60000</td>
<td></td>
</tr>
<tr>
<td>openAndWait</td>
<td>${base_url_x}/web_site_module/default_wendelin_front/</td>
<td></td>
</tr>
</tbody>
</table>
</test>
......
......@@ -2,25 +2,8 @@
<test>
<table style="display: none;" class="test">
<tbody>
<tr>
<td>store</td>
<td tal:content="python:here.getPortalObject().absolute_url()">http://example.com/erp5</td>
<td>base_url_x</td>
</tr>
<tr>
<td>openAndWait</td>
<td>${base_url}/Zuite_setUpPersonTest</td>
<td></td>
</tr>
<tr>
<td>verifyTextPresent</td>
<td></td>
</tr>
<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>
</tr>
<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_viewWendelinTestMacroLibrary/macros/init_wendelin_test_environment"&gt;Init Wendlin Test Environment&lt;/span&gt;</td>
</tr>
</tbody>
</table>
......@@ -123,7 +106,7 @@
</tr>
<tr>
<td>openAndWait</td>
<td>${base_url_x}/web_site_module/default_wendelin_front/</td>
<td>${default_front_url}</td>
<td></td>
</tr>
<tr>
......
<section>
<test>
<test>
<table style="display: none;" class="test">
<tbody>
<tr>
<td>store</td>
<td tal:content="python:here.getPortalObject().absolute_url()">http://example.com/erp5</td>
<td>base_url_x</td>
</tr>
<tr>
<td>openAndWait</td>
<td>${base_url}/Zuite_setUpPersonTest</td>
<td>${base_url}/Zuite_transformDataSetup</td>
<td></td>
</tr>
<tr>
<td>verifyTextPresent</td>
<td>assertTextPresent</td>
<td>Init ok.</td>
<td></td>
</tr>
<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>
</tr>
<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>
</tr>
<tr>
<td>openAndWait</td>
<td>${base_url}/Zuite_updateUserPreferenceForTutorialTests</td>
<td></td>
<td colspan="3">&lt;span
metal:use-macro="container/Zuite_viewWendelinTestMacroLibrary/macros/init_wendelin_test_environment"&gt;Init
Wendlin Test Environment&lt;/span&gt;</td>
</tr>
</tbody>
</table>
</test>
<h1>Agenda</h1>
</test>
<h1>Agenda</h1>
<ul>
<ul>
<li>Create Data Operation</li>
<li>Create Data Product</li>
<li>Create Transformation Script</li>
<li>Create Data Transformation</li>
<li>See Data Analysis</li>
<li>See&nbsp;Data Array</li>
</ul>
</ul>
<details open="">
<p>&nbsp;</p>
<details open="">
<p>&nbsp;</p>
<p>This tutorial teaches how to transform raw data and write it in Data Arrays.</p>
<p>This tutorial teaches how to transform raw data and write it in Data Arrays.</p>
<p>Before doing this tutorial make sure you read and completed the following tutorial and have data in your wendelin instance:</p>
<p>Before doing this tutorial make sure you read and completed the following tutorial and have data in your wendelin
instance:</p>
<ul>
<ul>
<li><a href="wendelin-Tutorial.Check.Data.Arrival">HowTo Check Data Arrival</a></li>
</ul>
</ul>
<p>&nbsp;</p>
</details>
<p>&nbsp;</p>
</details>
</section>
<section class="screenshot">
<h1>Data Operation</h1>
<img alt="" src="wendelin-Data.Operation.1?format=" style="font-size: 13px;" title="" type="image/svg+xml" />
<details open="">
<p>Open your Wendelin dashboard.&nbsp;</p>
<h1>Data Operation</h1>
<img alt="" src="wendelin-Data.Operation.1?format=" style="font-size: 13px;" title="" type="image/svg+xml" />
<details open="">
<p>Open your Wendelin dashboard.&nbsp;</p>
<p>In Modules click on Data Operations Module</p>
</details>
<p>In Modules click on Data Operations Module</p>
</details>
</section>
<section class="screenshot">
<h1>Add Data Operation</h1>
<img alt="" src="wendelin-Data.Operation.2?format=" style="font-size: 13px;" title="" type="image/svg+xml" />
<details open="">
<p>Click on <strong>Add</strong> to add a new Data Operation.</p>
</details>
<h1>Add Data Operation</h1>
<img alt="" src="wendelin-Data.Operation.2?format=" style="font-size: 13px;" title="" type="image/svg+xml" />
<details open="">
<p>Click on <strong>Add</strong> to add a new Data Operation.</p>
</details>
</section>
<section class="screenshot">
<h1>Add Data Operation</h1>
<img alt="" src="wendelin-Data.Operation.3?format=" style="font-size: 13px;" title="" type="image/svg+xml" />
<details open="">
<p>Click <strong>Proceed</strong> to continue.</p>
</details>
<h1>Add Data Operation</h1>
<img alt="" src="wendelin-Data.Operation.3?format=" style="font-size: 13px;" title="" type="image/svg+xml" />
<details open="">
<p>Click <strong>Proceed</strong> to continue.</p>
</details>
<test>
<test>
<table style="display: none;" class="test">
<tbody>
<tr>
......@@ -96,7 +87,7 @@
</tr>
<tr>
<td>openAndWait</td>
<td>${base_url_x}/web_site_module/default_wendelin_front/</td>
<td>${default_front_url}</td>
<td></td>
</tr>
<tr>
......@@ -146,49 +137,53 @@
</tr>
</tbody>
</table>
</test>
</test>
</section>
<section class="screenshot">
<h1>Fill the Form</h1>
<img alt="" src="wendelin-Data.Operation.4?format=" style="font-size: 13px;" title="" type="image/svg+xml" />
<details open="">
<p>Fill the form to create Data Operation.</p>
<h1>Fill the Form</h1>
<img alt="" src="wendelin-Data.Operation.4?format=" style="font-size: 13px;" title="" type="image/svg+xml" />
<details open="">
<p>Fill the form to create Data Operation.</p>
<p><strong>Title&nbsp;</strong>-&nbsp; we name it&nbsp;<strong>Convert Raw Environment Data to Array</strong></p>
<p><strong>Title&nbsp;</strong>-&nbsp; we name it&nbsp;<strong>Convert Raw Environment Data to Array</strong></p>
<p><strong>Reference&nbsp;</strong>&nbsp;-&nbsp;<strong>data-operation-convert-raw-data-to-array&nbsp;</strong></p>
<p><strong>Reference&nbsp;</strong>&nbsp;-&nbsp;<strong>data-operation-convert-raw-data-to-array&nbsp;</strong></p>
<p><strong>Script ID&nbsp;</strong>-&nbsp;<strong>DataAnalysisLine_convertEnvironmentDataStreamToArray </strong>:&nbsp;this script will do all the magic. It doesn&#39;t exist yet, we will create it later in this tutorial.&nbsp;</p>
<p><strong>Script ID&nbsp;</strong>-&nbsp;<strong>DataAnalysisLine_convertEnvironmentDataStreamToArray
</strong>:&nbsp;this script will do all the magic. It doesn&#39;t exist yet, we will create it later in this
tutorial.&nbsp;</p>
<p><strong><label for="field_my_aggregated_portal_type_list">Item Types&nbsp;</label></strong><label for="field_my_aggregated_portal_type_list">- <strong>Data Array&nbsp;</strong>: we choose Data Array as we will&nbsp;convert the raw data to Data Array</label></p>
</details>
<p><strong><label for="field_my_aggregated_portal_type_list">Item Types&nbsp;</label></strong><label
for="field_my_aggregated_portal_type_list">- <strong>Data Array&nbsp;</strong>: we choose Data Array as we
will&nbsp;convert the raw data to Data Array</label></p>
</details>
</section>
<section class="screenshot">
<h1>Save</h1>
<img alt="" src="wendelin-Data.Operation.5?format=" style="font-size: 13px;" title="" type="image/svg+xml" />
<details open="">
<p>Click <strong>Save</strong> to save the changes.</p>
</details>
<h1>Save</h1>
<img alt="" src="wendelin-Data.Operation.5?format=" style="font-size: 13px;" title="" type="image/svg+xml" />
<details open="">
<p>Click <strong>Save</strong> to save the changes.</p>
</details>
</section>
<section class="screenshot">
<h1>Validate</h1>
<img alt="" src="wendelin-Data.Operation.6?format=" style="font-size: 13px;" title="" type="image/svg+xml" />
<details open="">
<p>Click on Validate on left side panel to validate Data Operation.</p>
</details>
<h1>Validate</h1>
<img alt="" src="wendelin-Data.Operation.6?format=" style="font-size: 13px;" title="" type="image/svg+xml" />
<details open="">
<p>Click on Validate on left side panel to validate Data Operation.</p>
</details>
</section>
<section class="screenshot">
<h1>Confirm Validation</h1>
<img alt="" src="wendelin-Data.Operation.7?format=" style="font-size: 13px;" title="" type="image/svg+xml" />
<details open="">
<p>Click <strong>Proceed</strong> to confirm validation.</p>
</details>
<h1>Confirm Validation</h1>
<img alt="" src="wendelin-Data.Operation.7?format=" style="font-size: 13px;" title="" type="image/svg+xml" />
<details open="">
<p>Click <strong>Proceed</strong> to confirm validation.</p>
</details>
<test>
<test>
<table style="display: none;" class="test">
<tbody>
<tr>
......@@ -278,47 +273,48 @@
</tr>
</tbody>
</table>
</test>
</test>
</section>
<section>
<h1>Data Product</h1>
<img alt="" src="wendelin-new.Interface.add.Data.Product.1.screenshot?format=" title="" type="image/svg+xml" />
<details open="">
<p>&nbsp;</p>
<h1>Data Product</h1>
<img alt="" src="wendelin-new.Interface.add.Data.Product.1.screenshot?format=" title="" type="image/svg+xml" />
<details open="">
<p>&nbsp;</p>
<p>Next we need to create a new Data Product which will the output Data Product of the Transformation.&nbsp;</p>
<p>Next we need to create a new Data Product which will the output Data Product of the Transformation.&nbsp;</p>
<p>&nbsp;</p>
</details>
<p>&nbsp;</p>
</details>
</section>
<section>
<h1>Create Data Product</h1>
<img alt="" src="wendelin-Data.Transformation.17?format=" title="" type="image/svg+xml" />
<details open="">
<p>&nbsp;</p>
<h1>Create Data Product</h1>
<img alt="" src="wendelin-Data.Transformation.17?format=" title="" type="image/svg+xml" />
<details open="">
<p>&nbsp;</p>
<p>Create a new Data Product as described in <a href="wendelin-Tutorial.Howto.Create.Data.Product">HowTo Create Data Product</a> tutorial with following values</p>
<p>Create a new Data Product as described in <a href="wendelin-Tutorial.Howto.Create.Data.Product">HowTo Create Data
Product</a> tutorial with following values</p>
<p>Title -&nbsp; <strong>Environment Raw Array</strong></p>
<p>Title -&nbsp; <strong>Environment Raw Array</strong></p>
<p>Reference -&nbsp;<strong>environment-raw-array</strong></p>
<p>Reference -&nbsp;<strong>environment-raw-array</strong></p>
<p>Item Types</p>
<p>Item Types</p>
<ul>
<ul>
<li><strong>Data Stream</strong></li>
<li><strong>Progress Indicator</strong></li>
<li><strong>Data Array</strong></li>
</ul>
</ul>
<p>&nbsp;</p>
</details>
<p>&nbsp;</p>
</details>
<p>&nbsp;</p>
<p>&nbsp;</p>
<test>
<test>
<table style="display: none;" class="test">
<tbody>
<tr>
......@@ -386,8 +382,6 @@
<td>//input[@type="submit" and @value="Create Document"]</td>
<td></td>
</tr>
<tr>
<td>waitForElementPresent</td>
<td>//input[@id="field_my_title"]</td>
......@@ -410,17 +404,23 @@
</tr>
<tr>
<td>select</td>
<td>//div[@data-gadget-scope="field_my_aggregated_portal_type_list"]//div//div//div[1]//div//select[@id="field_my_aggregated_portal_type_list"]</td>
<td>
//div[@data-gadget-scope="field_my_aggregated_portal_type_list"]//div//div//div[1]//div//select[@id="field_my_aggregated_portal_type_list"]
</td>
<td>Data Stream</td>
</tr>
<tr>
<td>select</td>
<td>//div[@data-gadget-scope="field_my_aggregated_portal_type_list"]//div//div//div[2]//div//select[@id="field_my_aggregated_portal_type_list"]</td>
<td>
//div[@data-gadget-scope="field_my_aggregated_portal_type_list"]//div//div//div[2]//div//select[@id="field_my_aggregated_portal_type_list"]
</td>
<td>Progress Indicator</td>
</tr>
<tr>
<td>select</td>
<td>//div[@data-gadget-scope="field_my_aggregated_portal_type_list"]//div//div//div[3]//div//select[@id="field_my_aggregated_portal_type_list"]</td>
<td>
//div[@data-gadget-scope="field_my_aggregated_portal_type_list"]//div//div//div[3]//div//select[@id="field_my_aggregated_portal_type_list"]
</td>
<td>Data Array</td>
</tr>
<tr>
......@@ -434,9 +434,9 @@
<td></td>
</tr>
<tr>
<td>pause</td>
<td>3000</td>
<td></td>
<td colspan="3">&lt;tal:block
metal:use-macro=&quot;here/Zuite_CommonTemplateForRenderjsUi/macros/wait_for_content_loaded&quot;&gt;
&lt;/tal:block&gt;</td>
</tr>
<tr>
<td>waitForElementPresent</td>
......@@ -470,49 +470,51 @@
</tr>
</tbody>
</table>
</test>
</test>
</section>
<section class="screenshot">
<h1>Portal Callables</h1>
<img alt="" src="wendelin-Data.Transformation.1?format=" style="font-size: 13px;" title="" type="image/svg+xml" />
<details open="">
<p>After Data Product is created and validated, navigate to page called Portal Callables by clicking on&nbsp;<strong>Callables&nbsp;</strong> on the left side panel.</p>
<h1>Portal Callables</h1>
<img alt="" src="wendelin-Data.Transformation.1?format=" style="font-size: 13px;" title="" type="image/svg+xml" />
<details open="">
<p>After Data Product is created and validated, navigate to page called Portal Callables by clicking
on&nbsp;<strong>Callables&nbsp;</strong> on the left side panel.</p>
<p>There we will create and store a python script that will transform raw data to arrays.&nbsp;</p>
<p>There we will create and store a python script that will transform raw data to arrays.&nbsp;</p>
<h1>&nbsp;</h1>
</details>
<h1>&nbsp;</h1>
</details>
</section>
<section class="screenshot">
<h1>Add Transformation Script</h1>
<img alt="" src="wendelin-Data.Transformation.2?format=" style="font-size: 13px;" title="" type="image/svg+xml" />
<details open="">
<p>Click on Add button to add a new script.</p>
</details>
<h1>Add Transformation Script</h1>
<img alt="" src="wendelin-Data.Transformation.2?format=" style="font-size: 13px;" title="" type="image/svg+xml" />
<details open="">
<p>Click on Add button to add a new script.</p>
</details>
</section>
<section class="screenshot">
<h1>Add Transformation Script Cont.</h1>
<img alt="" src="wendelin-Data.Transformation.3?format=" style="font-size: 13px;" title="" type="image/svg+xml" />
<details open="">
<p>Choose Python Script as Document Type and click on Create Document to create an empty python script.</p>
</details>
<h1>Add Transformation Script Cont.</h1>
<img alt="" src="wendelin-Data.Transformation.3?format=" style="font-size: 13px;" title="" type="image/svg+xml" />
<details open="">
<p>Choose Python Script as Document Type and click on Create Document to create an empty python script.</p>
</details>
</section>
<section class="screenshot">
<h1>Fill The Form</h1>
<img alt="" src="wendelin-Data.Transformation.4?format=" style="font-size: 13px;" title="" type="image/svg+xml" />
<details open="">
<p>Define <strong>ID</strong>, <strong>Title</strong> and <strong>Reference</strong> of your script.</p>
<h1>Fill The Form</h1>
<img alt="" src="wendelin-Data.Transformation.4?format=" style="font-size: 13px;" title="" type="image/svg+xml" />
<details open="">
<p>Define <strong>ID</strong>, <strong>Title</strong> and <strong>Reference</strong> of your script.</p>
<p>We name it <strong>DataAnalysisLine_convertEnvironmentDataStreamToArray </strong> as we did in Data Operation.</p>
<p>We name it <strong>DataAnalysisLine_convertEnvironmentDataStreamToArray </strong> as we did in Data Operation.
</p>
<p>And click <strong>Save</strong> to save the changes.</p>
</details>
<p>And click <strong>Save</strong> to save the changes.</p>
</details>
<test>
<test>
<table style="display: none;" class="test">
<tbody>
<!--<tr class="" style="opacity: 1;">
......@@ -530,7 +532,7 @@
</tr>
<tr>
<td>openAndWait</td>
<td>${base_url_x}/web_site_module/default_wendelin_front/</td>
<td>${default_front_url}/</td>
<td></td>
</tr>
<tr>
......@@ -559,8 +561,8 @@
<td></td>
</tr>
<tr>
<td>pause</td>
<td>3000</td>
<td>waitForElementPresent</td>
<td>//select[@id="field_your_select_action"]</td>
<td></td>
</tr>
<tr>
......@@ -578,6 +580,16 @@
<td>//input[@type="submit" and @value="Create Document"]</td>
<td></td>
</tr>
<tr>
<td colspan="3">&lt;tal:block
metal:use-macro=&quot;here/Zuite_CommonTemplateForRenderjsUi/macros/wait_for_content_loaded&quot;&gt;
&lt;/tal:block&gt;</td>
</tr>
<tr>
<td>pause</td>
<td>5000</td>
<td></td>
</tr>
<tr>
<td>waitForElementPresent</td>
<td>//input[@id="field_my_title"]</td>
......@@ -588,11 +600,6 @@
<td>//input[@id="field_my_title"]</td>
<td>DataAnalysisLine_convertEnvironmentDataStreamToArray</td>
</tr>
<tr>
<td>pause</td>
<td>3000</td>
<td></td>
</tr>
<tr>
<td>waitForElementPresent</td>
<td>//input[@id="field_my_reference"]</td>
......@@ -603,20 +610,15 @@
<td>//input[@id="field_my_reference"]</td>
<td>DataAnalysisLine_convertEnvironmentDataStreamToArray</td>
</tr>
<tr>
<td>pause</td>
<td>3000</td>
<td></td>
</tr>
<tr>
<td>click</td>
<td>//button[@type="submit" and @data-i18n="Save"]</td>
<td>//button[@name="submit" and @data-i18n="Save"]</td>
<td></td>
</tr>
<tr>
<td>pause</td>
<td>3000</td>
<td></td>
<td colspan="3">&lt;tal:block
metal:use-macro=&quot;here/Zuite_CommonTemplateForRenderjsUi/macros/wait_for_content_loaded&quot;&gt;
&lt;/tal:block&gt;</td>
</tr>
<tr>
<td>waitForElementPresent</td>
......@@ -635,7 +637,7 @@
</tr>
<tr>
<td>openAndWait</td>
<td>${base_url_x}/web_site_module/default_wendelin_front/</td>
<td>${default_front_url}</td>
<td></td>
</tr>
<tr>
......@@ -658,9 +660,9 @@
<td></td>
</tr>
<tr>
<td>pause</td>
<td>3000</td>
<td></td>
<td colspan="3">&lt;tal:block
metal:use-macro=&quot;here/Zuite_CommonTemplateForRenderjsUi/macros/wait_for_content_loaded&quot;&gt;
&lt;/tal:block&gt;</td>
</tr>
<tr>
<td>waitForElementPresent</td>
......@@ -677,14 +679,16 @@
<td>//input[@id="editable"]</td>
<td></td>
</tr>
<tr>
<td colspan="3">&lt;tal:block
metal:use-macro=&quot;here/Zuite_CommonTemplateForRenderjsUi/macros/wait_for_content_loaded&quot;&gt;
&lt;/tal:block&gt;</td>
</tr>
<tr>
<td>waitForElementPresent</td>
<td>//label[@for="field_my_reference"]</td>
<td></td>
</tr>
<tr>
<td>waitForElementPresent</td>
<td>//input[@id="field_my_id"]</td>
......@@ -711,19 +715,9 @@
<td></td>
</tr>
<tr>
<td>pause</td>
<td>3000</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>
<td colspan="3">&lt;tal:block
metal:use-macro=&quot;here/Zuite_CommonTemplateForRenderjsUi/macros/wait_for_content_loaded&quot;&gt;
&lt;/tal:block&gt;</td>
</tr>
<tr>
<td>waitForElementPresent</td>
......@@ -732,33 +726,33 @@
</tr>
</tbody>
</table>
</test>
</test>
</section>
<section class="screenshot">
<h1>Parameters</h1>
<img alt="" src="wendelin-Data.Transformation.5?format=" style="font-size: 13px;" title="" type="image/svg+xml" />
<details open="">
<p>Next we define the parameters we will give to our script.&nbsp;</p>
<h1>Parameters</h1>
<img alt="" src="wendelin-Data.Transformation.5?format=" style="font-size: 13px;" title="" type="image/svg+xml" />
<details open="">
<p>Next we define the parameters we will give to our script.&nbsp;</p>
<p><strong>in_stream&nbsp;</strong>- the input Data Stream where raw data is stored</p>
<p><strong>in_stream&nbsp;</strong>- the input Data Stream where raw data is stored</p>
<p><strong>out_array&nbsp;</strong>&nbsp;- the output Data Array where data will be stored.&nbsp;</p>
<p><strong>out_array&nbsp;</strong>&nbsp;- the output Data Array where data will be stored.&nbsp;</p>
<p>At the end click <strong>Save</strong> to save the changes.</p>
</details>
<p>At the end click <strong>Save</strong> to save the changes.</p>
</details>
</section>
<section class="screenshot">
<h1>Transformation Script</h1>
<img alt="" src="wendelin-Data.Transformation.6?format=" style="font-size: 13px;" title="" type="image/svg+xml" />
<details open="">The script we write in the textbox area at the bottom of the page.</details>
<h1>Transformation Script</h1>
<img alt="" src="wendelin-Data.Transformation.6?format=" style="font-size: 13px;" title="" type="image/svg+xml" />
<details open="">The script we write in the textbox area at the bottom of the page.</details>
</section>
<section class="screenshot">
<h1>Transformation Script Cont.</h1>
<h1>Transformation Script Cont.</h1>
<pre>
<pre>
<code>
import pandas as pd
......@@ -796,20 +790,25 @@ if end &lt; in_data_stream.getSize():
</code>
</pre>
<details open="">
<p>This script will simply write raw data to Data Array.&nbsp; More sophisticated example like resampling data or data predictions are shown in following tutorials.&nbsp;</p>
<details open="">
<p>This script will simply write raw data to Data Array.&nbsp; More sophisticated example like resampling data or
data predictions are shown in following tutorials.&nbsp;</p>
<p>First we extract data from the Data stream and read a chunk of data at a time.&nbsp;</p>
<p>First we extract data from the Data stream and read a chunk of data at a time.&nbsp;</p>
<p>As data is in <a href="https://msgpack.org/">msgpack</a> format we unpack it using iterUnpack method of wendelin Data Stream which is based on&nbsp; Unpacker of msgpack.&nbsp;</p>
<p>As data is in <a href="https://msgpack.org/">msgpack</a> format we unpack it using iterUnpack method of wendelin
Data Stream which is based on&nbsp; Unpacker of msgpack.&nbsp;</p>
<p>Next we create a data frame using <a href="https://pandas.pydata.org/pandas-docs/stable/reference/api/pandas.DataFrame.html">pandas DataFrame</a>.&nbsp;</p>
<p>Next we create a data frame using <a
href="https://pandas.pydata.org/pandas-docs/stable/reference/api/pandas.DataFrame.html">pandas
DataFrame</a>.&nbsp;</p>
<p>After we convert it to ndarray and append it to <a href="https://lab.nexedi.com/nexedi/wendelin.core">zbigarray</a>.</p>
<p>After we convert it to ndarray and append it to <a
href="https://lab.nexedi.com/nexedi/wendelin.core">zbigarray</a>.</p>
<p>We use Progress Indicator to keep track of how much raw data we already processed.&nbsp;</p>
</details>
<test>
<p>We use Progress Indicator to keep track of how much raw data we already processed.&nbsp;</p>
</details>
<test>
<table style="display: none;" class="test">
<tbody>
<tr>
......@@ -833,9 +832,9 @@ if end &lt; in_data_stream.getSize():
<td></td>
</tr>
<tr>
<td>pause</td>
<td>3000</td>
<td></td>
<td colspan="3">&lt;tal:block
metal:use-macro=&quot;here/Zuite_CommonTemplateForRenderjsUi/macros/wait_for_content_loaded&quot;&gt;
&lt;/tal:block&gt;</td>
</tr>
<tr>
<td>waitForElementPresent</td>
......@@ -847,7 +846,7 @@ if end &lt; in_data_stream.getSize():
<td>//div[contains(@data-gadget-url,'gadget_editor.html')]//textarea</td>
<!--td>//pre[@class=" CodeMirror-line " and @role="presentation"]</td-->
<td>
<pre>
<pre>
import pandas as pd
progress_indicator = in_stream[&quot;Progress Indicator&quot;]
......@@ -882,7 +881,7 @@ if end &gt; start:
if end &lt; in_data_stream.getSize():
return 1
</pre>
</td>
</td>
</tr>
<tr>
<td>waitForElementPresent</td>
......@@ -895,9 +894,9 @@ if end &lt; in_data_stream.getSize():
<td></td>
</tr>
<tr>
<td>pause</td>
<td>3000</td>
<td></td>
<td colspan="3">&lt;tal:block
metal:use-macro=&quot;here/Zuite_CommonTemplateForRenderjsUi/macros/wait_for_content_loaded&quot;&gt;
&lt;/tal:block&gt;</td>
</tr>
<tr>
<td>waitForElementPresent</td>
......@@ -906,51 +905,52 @@ if end &lt; in_data_stream.getSize():
</tr>
</tbody>
</table>
</test>
</test>
</section>
<section class="screenshot">
<h1>Data Transformations</h1>
<img alt="" src="wendelin-Data.Transformation.7?format=" style="font-size: 13px;" title="" type="image/svg+xml" />
<details open="">
<p>After your transformation script is ready, it&#39;s time to create Data Transformation.</p>
<h1>Data Transformations</h1>
<img alt="" src="wendelin-Data.Transformation.7?format=" style="font-size: 13px;" title="" type="image/svg+xml" />
<details open="">
<p>After your transformation script is ready, it&#39;s time to create Data Transformation.</p>
<p>On Modules page click on Data Transformations.</p>
</details>
<p>On Modules page click on Data Transformations.</p>
</details>
</section>
<section class="screenshot">
<h1>Add Data Transformations</h1>
<img alt="" src="wendelin-Data.Transformation.8?format=" style="font-size: 13px;" title="" type="image/svg+xml" />
<details open="">
<p>Click on Add to add a new Data Transformation.</p>
</details>
<h1>Add Data Transformations</h1>
<img alt="" src="wendelin-Data.Transformation.8?format=" style="font-size: 13px;" title="" type="image/svg+xml" />
<details open="">
<p>Click on Add to add a new Data Transformation.</p>
</details>
</section>
<section class="screenshot">
<h1>Create Data Transformation</h1>
<img alt="" src="wendelin-Data.Transformation.9?format=" style="font-size: 13px;" title="" type="image/svg+xml" />
<details open="">
<p>Click on Create Document to continue.</p>
</details>
<h1>Create Data Transformation</h1>
<img alt="" src="wendelin-Data.Transformation.9?format=" style="font-size: 13px;" title="" type="image/svg+xml" />
<details open="">
<p>Click on Create Document to continue.</p>
</details>
</section>
<section class="screenshot">
<h1>Fill The Form</h1>
<img alt="" src="wendelin-Data.Transformation.10?format=" style="font-size: 13px;" title="" type="image/svg+xml" />
<details open="">
<p>Chose descriptive title and reference. For example</p>
<h1>Fill The Form</h1>
<img alt="" src="wendelin-Data.Transformation.10?format=" style="font-size: 13px;" title="" type="image/svg+xml" />
<details open="">
<p>Chose descriptive title and reference. For example</p>
<p>Title : Convert Environment Raw Data</p>
<p>Title : Convert Environment Raw Data</p>
<p>Reference : convert-environment-raw-data</p>
<p>Reference : convert-environment-raw-data</p>
<p>For Initial Product we choose the Data Product we created in&nbsp;<a href="wendelin-Tutorial.Howto.Create.Data.Product">HowTo Create Data Product</a>&nbsp;tutorial.&nbsp;</p>
<p>For Initial Product we choose the Data Product we created in&nbsp;<a
href="wendelin-Tutorial.Howto.Create.Data.Product">HowTo Create Data Product</a>&nbsp;tutorial.&nbsp;</p>
<p>At the end click Save to save the changes.&nbsp;</p>
</details>
<p>At the end click Save to save the changes.&nbsp;</p>
</details>
<test>
<test>
<table style="display: none;" class="test">
<tbody>
<tr>
......@@ -984,13 +984,13 @@ if end &lt; in_data_stream.getSize():
<td></td>
</tr>
<tr>
<td>waitForElementPresent</td>
<td>//input[@type="submit" and @value="Create Document"]</td>
<td></td>
<td colspan="3">&lt;tal:block
metal:use-macro=&quot;here/Zuite_CommonTemplateForRenderjsUi/macros/wait_for_content_loaded&quot;&gt;
&lt;/tal:block&gt;</td>
</tr>
<tr>
<td>pause</td>
<td>3000</td>
<td>waitForElementPresent</td>
<td>//input[@type="submit" and @value="Create Document"]</td>
<td></td>
</tr>
<tr>
......@@ -998,7 +998,11 @@ if end &lt; in_data_stream.getSize():
<td>//input[@type="submit" and @value="Create Document"]</td>
<td></td>
</tr>
<tr>
<td colspan="3">&lt;tal:block
metal:use-macro=&quot;here/Zuite_CommonTemplateForRenderjsUi/macros/wait_for_content_loaded&quot;&gt;
&lt;/tal:block&gt;</td>
</tr>
<tr>
<td>waitForElementPresent</td>
<td>//input[@id="field_my_title"]</td>
......@@ -1040,9 +1044,9 @@ if end &lt; in_data_stream.getSize():
<td></td>
</tr>
<tr>
<td>pause</td>
<td>3000</td>
<td></td>
<td colspan="3">&lt;tal:block
metal:use-macro=&quot;here/Zuite_CommonTemplateForRenderjsUi/macros/wait_for_content_loaded&quot;&gt;
&lt;/tal:block&gt;</td>
</tr>
<tr>
<td>waitForElementPresent</td>
......@@ -1051,49 +1055,52 @@ if end &lt; in_data_stream.getSize():
</tr>
</tbody>
</table>
</test>
</test>
</section>
<section class="screenshot">
<h1>Data Transformation Lines</h1>
<img alt="" src="wendelin-Data.Transformation.11?format=" style="font-size: 13px;" title="" type="image/svg+xml" />
<details open="">
<p>Click on Add button to add a Data Transformation Line.</p>
<h1>Data Transformation Lines</h1>
<img alt="" src="wendelin-Data.Transformation.11?format=" style="font-size: 13px;" title="" type="image/svg+xml" />
<details open="">
<p>Click on Add button to add a Data Transformation Line.</p>
<p>&nbsp;</p>
</details>
<p>&nbsp;</p>
</details>
</section>
<section class="screenshot">
<h1>Create Operation Line</h1>
<img alt="" src="wendelin-Data.Transformation.12?format=" style="font-size: 13px;" title="" type="image/svg+xml" />
<details open="">
<p>&nbsp;</p>
<p>Choose <strong>Data Transformation Operation Line&nbsp;</strong>for Document Type and click on Create Document.&nbsp;</p>
</details>
<h1>Create Operation Line</h1>
<img alt="" src="wendelin-Data.Transformation.12?format=" style="font-size: 13px;" title="" type="image/svg+xml" />
<details open="">
<p>&nbsp;</p>
<p>Choose <strong>Data Transformation Operation Line&nbsp;</strong>for Document Type and click on Create
Document.&nbsp;</p>
</details>
</section>
<section class="screenshot">
<h1>Fill The Form</h1>
<img alt="" src="wendelin-Data.Transformation.13?format=" style="font-size: 13px;" title="" type="image/svg+xml" />
<details open="">
<p>Fill the form.</p>
<h1>Fill The Form</h1>
<img alt="" src="wendelin-Data.Transformation.13?format=" style="font-size: 13px;" title="" type="image/svg+xml" />
<details open="">
<p>Fill the form.</p>
<p>For Data Operation put the name of the Data operation that we created at the beginning of this tutorial - <strong>Convert Raw Environment Data to Array</strong>.</p>
<p>For Data Operation put the name of the Data operation that we created at the beginning of this tutorial -
<strong>Convert Raw Environment Data to Array</strong>.</p>
<p>At the end click on Save to save the changes.&nbsp;</p>
</details>
<p>At the end click on Save to save the changes.&nbsp;</p>
</details>
</section>
<section class="screenshot">
<h1>Back To Data Transformation</h1>
<img alt="" src="wendelin-Data.Transformation.14?format=" style="font-size: 13px;" title="" type="image/svg+xml" />
<details open="">
<p>Once needed fields are filled click Save to save the changes and go back to Data Transformations view by clicking on the upper panel.</p>
</details>
<test>
<h1>Back To Data Transformation</h1>
<img alt="" src="wendelin-Data.Transformation.14?format=" style="font-size: 13px;" title="" type="image/svg+xml" />
<details open="">
<p>Once needed fields are filled click Save to save the changes and go back to Data Transformations view by clicking
on the upper panel.</p>
</details>
<test>
<table style="display: none;" class="test">
<tbody>
<tr>
......@@ -1107,13 +1114,13 @@ if end &lt; in_data_stream.getSize():
<td></td>
</tr>
<tr>
<td>waitForElementPresent</td>
<td>//input[@type="submit" and @value="Create Document"]</td>
<td></td>
<td colspan="3">&lt;tal:block
metal:use-macro=&quot;here/Zuite_CommonTemplateForRenderjsUi/macros/wait_for_content_loaded&quot;&gt;
&lt;/tal:block&gt;</td>
</tr>
<tr>
<td>pause</td>
<td>3000</td>
<td>waitForElementPresent</td>
<td>//input[@type="submit" and @value="Create Document"]</td>
<td></td>
</tr>
<tr>
......@@ -1121,7 +1128,11 @@ if end &lt; in_data_stream.getSize():
<td>//input[@type="submit" and @value="Create Document"]</td>
<td></td>
</tr>
<tr>
<td colspan="3">&lt;tal:block
metal:use-macro=&quot;here/Zuite_CommonTemplateForRenderjsUi/macros/wait_for_content_loaded&quot;&gt;
&lt;/tal:block&gt;</td>
</tr>
<tr>
<td>waitForElementPresent</td>
<td>//input[@id="field_my_title"]</td>
......@@ -1178,9 +1189,9 @@ if end &lt; in_data_stream.getSize():
<td></td>
</tr>
<tr>
<td>pause</td>
<td>3000</td>
<td></td>
<td colspan="3">&lt;tal:block
metal:use-macro=&quot;here/Zuite_CommonTemplateForRenderjsUi/macros/wait_for_content_loaded&quot;&gt;
&lt;/tal:block&gt;</td>
</tr>
<tr>
<td>waitForElementPresent</td>
......@@ -1199,55 +1210,57 @@ if end &lt; in_data_stream.getSize():
</tr>
</tbody>
</table>
</test>
</test>
</section>
<section class="screenshot">
<h1>Data Transformation Lines</h1>
<img alt="" src="wendelin-Data.Transformation.15?format=" style="font-size: 13px;" title="" type="image/svg+xml" />
<details open="">
<p>Add another Data Transformation Line.</p>
</details>
<h1>Data Transformation Lines</h1>
<img alt="" src="wendelin-Data.Transformation.15?format=" style="font-size: 13px;" title="" type="image/svg+xml" />
<details open="">
<p>Add another Data Transformation Line.</p>
</details>
</section>
<section class="screenshot">
<h1>Create Transformation Line</h1>
<img alt="" src="wendelin-Data.Transformation.16?format=" style="font-size: 13px;" title="" type="image/svg+xml" />
<details open="">
<p>Now for Document Type choose <strong>Data Transformation Resource Line</strong> and click on <strong>Create Document</strong>.</p>
</details>
<h1>Create Transformation Line</h1>
<img alt="" src="wendelin-Data.Transformation.16?format=" style="font-size: 13px;" title="" type="image/svg+xml" />
<details open="">
<p>Now for Document Type choose <strong>Data Transformation Resource Line</strong> and click on <strong>Create
Document</strong>.</p>
</details>
</section>
<section class="screenshot">
<h1>Fill The Form</h1>
<img alt="" src="wendelin-Data.Transformation.18?format=" style="font-size: 13px;" title="" type="image/svg+xml" />
<details open="">
<p>Fill the form.</p>
<h1>Fill The Form</h1>
<img alt="" src="wendelin-Data.Transformation.18?format=" style="font-size: 13px;" title="" type="image/svg+xml" />
<details open="">
<p>Fill the form.</p>
<p>For <strong>Data Product</strong> put the name of the Data Product that we created in <a href="wendelin-Tutorial.Howto.Create.Data.Product">HowTo Create Data Product</a>&nbsp;tutorial.</p>
<p>For <strong>Data Product</strong> put the name of the Data Product that we created in <a
href="wendelin-Tutorial.Howto.Create.Data.Product">HowTo Create Data Product</a>&nbsp;tutorial.</p>
<p>After filling in the Data Product name click Save to save the intermediate changes.&nbsp;</p>
<p>After filling in the Data Product name click Save to save the intermediate changes.&nbsp;</p>
<p>After saving a new field <strong>Item Types&nbsp;</strong>will appear.&nbsp;</p>
</details>
<p>After saving a new field <strong>Item Types&nbsp;</strong>will appear.&nbsp;</p>
</details>
</section>
<section class="screenshot">
<h1>Fill The Form Cont.</h1>
<img alt="" src="wendelin-Data.Transformation.19?format=" style="font-size: 13px;" title="" type="image/svg+xml" />
<details open="">
<p>Continue filling the form as shown on the screenshot</p>
<h1>Fill The Form Cont.</h1>
<img alt="" src="wendelin-Data.Transformation.19?format=" style="font-size: 13px;" title="" type="image/svg+xml" />
<details open="">
<p>Continue filling the form as shown on the screenshot</p>
<p>At the end don&#39;t forget to save the changes.</p>
</details>
<p>At the end don&#39;t forget to save the changes.</p>
</details>
<test>
<test>
<table style="display: none;" class="test">
<tbody>
<tr>
<td>pause</td>
<td>3000</td>
<td></td>
<td colspan="3">&lt;tal:block
metal:use-macro=&quot;here/Zuite_CommonTemplateForRenderjsUi/macros/wait_for_content_loaded&quot;&gt;
&lt;/tal:block&gt;</td>
</tr>
<tr>
<td>waitForElementPresent</td>
......@@ -1284,7 +1297,11 @@ if end &lt; in_data_stream.getSize():
<td>//input[@type="submit" and @value="Create Document"]</td>
<td></td>
</tr>
<tr>
<td colspan="3">&lt;tal:block
metal:use-macro=&quot;here/Zuite_CommonTemplateForRenderjsUi/macros/wait_for_content_loaded&quot;&gt;
&lt;/tal:block&gt;</td>
</tr>
<tr>
<td>waitForElementPresent</td>
<td>//input[@id="field_my_title"]</td>
......@@ -1336,9 +1353,9 @@ if end &lt; in_data_stream.getSize():
<td></td>
</tr>
<tr>
<td>pause</td>
<td>3000</td>
<td></td>
<td colspan="3">&lt;tal:block
metal:use-macro=&quot;here/Zuite_CommonTemplateForRenderjsUi/macros/wait_for_content_loaded&quot;&gt;
&lt;/tal:block&gt;</td>
</tr>
<tr>
<td>waitForElementPresent</td>
......@@ -1347,12 +1364,16 @@ if end &lt; in_data_stream.getSize():
</tr>
<tr>
<td>select</td>
<td>//div[@data-gadget-scope="field_my_aggregated_portal_type_list"]//div//div//div[1]//div//select[@id="field_my_aggregated_portal_type_list"]</td>
<td>
//div[@data-gadget-scope="field_my_aggregated_portal_type_list"]//div//div//div[1]//div//select[@id="field_my_aggregated_portal_type_list"]
</td>
<td>Data Stream</td>
</tr>
<tr>
<td>select</td>
<td>//div[@data-gadget-scope="field_my_aggregated_portal_type_list"]//div//div//div[2]//div//select[@id="field_my_aggregated_portal_type_list"]</td>
<td>
//div[@data-gadget-scope="field_my_aggregated_portal_type_list"]//div//div//div[2]//div//select[@id="field_my_aggregated_portal_type_list"]
</td>
<td>Progress Indicator</td>
</tr>
<tr>
......@@ -1366,9 +1387,9 @@ if end &lt; in_data_stream.getSize():
<td></td>
</tr>
<tr>
<td>pause</td>
<td>3000</td>
<td></td>
<td colspan="3">&lt;tal:block
metal:use-macro=&quot;here/Zuite_CommonTemplateForRenderjsUi/macros/wait_for_content_loaded&quot;&gt;
&lt;/tal:block&gt;</td>
</tr>
<tr>
<td>waitForElementPresent</td>
......@@ -1385,58 +1406,60 @@ if end &lt; in_data_stream.getSize():
<td>//a[contains(@data-i18n,'Data Transformation Resource Line')]</td>
<td></td>
</tr>
<tr>
<td colspan="3">&lt;tal:block
metal:use-macro=&quot;here/Zuite_CommonTemplateForRenderjsUi/macros/wait_for_content_loaded&quot;&gt;
&lt;/tal:block&gt;</td>
</tr>
</tbody>
</table>
</test>
</test>
</section>
<section class="screenshot">
<h1>Add Output Line</h1>
<img alt="" src="wendelin-Data.Transformation.20?format=" style="font-size: 13px;" title="" type="image/svg+xml" />
<details open="">
<p>Head back to Data Transformation and add one more Transformation line.</p>
</details>
<h1>Add Output Line</h1>
<img alt="" src="wendelin-Data.Transformation.20?format=" style="font-size: 13px;" title="" type="image/svg+xml" />
<details open="">
<p>Head back to Data Transformation and add one more Transformation line.</p>
</details>
</section>
<section class="screenshot">
<h1>Create Transformation Line</h1>
<img alt="" src="wendelin-Data.Transformation.16?format=" style="font-size: 13px;" title="" type="image/svg+xml" />
<details open="">
<p>Once again&nbsp;for Document Type choose <strong>Data Transformation Resource Line</strong> and click on <strong>Create Document</strong>.</p>
</details>
<h1>Create Transformation Line</h1>
<img alt="" src="wendelin-Data.Transformation.16?format=" style="font-size: 13px;" title="" type="image/svg+xml" />
<details open="">
<p>Once again&nbsp;for Document Type choose <strong>Data Transformation Resource Line</strong> and click on
<strong>Create Document</strong>.</p>
</details>
</section>
<section class="screenshot">
<h1>Fill The Form</h1>
<img alt="" src="wendelin-Data.Transformation.21?format=" style="font-size: 13px;" title="" type="image/svg+xml" />
<details open="">
<p>Fill the form.</p>
<h1>Fill The Form</h1>
<img alt="" src="wendelin-Data.Transformation.21?format=" style="font-size: 13px;" title="" type="image/svg+xml" />
<details open="">
<p>Fill the form.</p>
<p>For <strong>Data Product</strong> put the name of the Data Product that we created earlier in this tutorial - <strong>Environment Raw Array</strong>.</p>
<p>For <strong>Data Product</strong> put the name of the Data Product that we created earlier in this tutorial -
<strong>Environment Raw Array</strong>.</p>
<p>Once filling in the Data Product name click Save to save the intermediate changes.&nbsp;</p>
<p>Once filling in the Data Product name click Save to save the intermediate changes.&nbsp;</p>
<p>After saving a new field <strong>Item Types&nbsp;</strong>will appear.&nbsp;</p>
</details>
<p>After saving a new field <strong>Item Types&nbsp;</strong>will appear.&nbsp;</p>
</details>
</section>
<section class="screenshot">
<h1>Fill The Form Cont.</h1>
<img alt="" src="wendelin-Data.Transformation.22?format=" style="font-size: 13px;" title="" type="image/svg+xml" />
<details open="">
<p>Continue filling the form as shown on the screenshot</p>
<h1>Fill The Form Cont.</h1>
<img alt="" src="wendelin-Data.Transformation.22?format=" style="font-size: 13px;" title="" type="image/svg+xml" />
<details open="">
<p>Continue filling the form as shown on the screenshot</p>
<p>At the end don&#39;t forget to save the changes.</p>
</details>
<p>At the end don&#39;t forget to save the changes.</p>
</details>
<test>
<test>
<table style="display: none;" class="test">
<tbody>
<tr>
<td>pause</td>
<td>3000</td>
<td></td>
</tr>
<tr>
<td>waitForElementPresent</td>
<td>//a[@data-i18n="Add"]</td>
......@@ -1447,6 +1470,11 @@ if end &lt; in_data_stream.getSize():
<td>//a[@data-i18n="Add"]</td>
<td></td>
</tr>
<tr>
<td colspan="3">&lt;tal:block
metal:use-macro=&quot;here/Zuite_CommonTemplateForRenderjsUi/macros/wait_for_content_loaded&quot;&gt;
&lt;/tal:block&gt;</td>
</tr>
<tr>
<td>waitForElementPresent</td>
<td>//select[@id="field_your_select_action"]</td>
......@@ -1472,7 +1500,11 @@ if end &lt; in_data_stream.getSize():
<td>//input[@type="submit" and @value="Create Document"]</td>
<td></td>
</tr>
<tr>
<td colspan="3">&lt;tal:block
metal:use-macro=&quot;here/Zuite_CommonTemplateForRenderjsUi/macros/wait_for_content_loaded&quot;&gt;
&lt;/tal:block&gt;</td>
</tr>
<tr>
<td>waitForElementPresent</td>
<td>//input[@id="field_my_title"]</td>
......@@ -1524,9 +1556,9 @@ if end &lt; in_data_stream.getSize():
<td></td>
</tr>
<tr>
<td>pause</td>
<td>3000</td>
<td></td>
<td colspan="3">&lt;tal:block
metal:use-macro=&quot;here/Zuite_CommonTemplateForRenderjsUi/macros/wait_for_content_loaded&quot;&gt;
&lt;/tal:block&gt;</td>
</tr>
<tr>
<td>waitForElementPresent</td>
......@@ -1554,9 +1586,9 @@ if end &lt; in_data_stream.getSize():
<td></td>
</tr>
<tr>
<td>pause</td>
<td>3000</td>
<td></td>
<td colspan="3">&lt;tal:block
metal:use-macro=&quot;here/Zuite_CommonTemplateForRenderjsUi/macros/wait_for_content_loaded&quot;&gt;
&lt;/tal:block&gt;</td>
</tr>
<tr>
<td>waitForElementPresent</td>
......@@ -1573,41 +1605,47 @@ if end &lt; in_data_stream.getSize():
<td>//a[contains(@data-i18n,'Data Transformation Resource Line')]</td>
<td></td>
</tr>
<tr>
<td colspan="3">&lt;tal:block
metal:use-macro=&quot;here/Zuite_CommonTemplateForRenderjsUi/macros/wait_for_content_loaded&quot;&gt;
&lt;/tal:block&gt;</td>
</tr>
</tbody>
</table>
</test>
</test>
</section>
<section class="screenshot">
<h1>Data Transformation</h1>
<img alt="" src="wendelin-Data.Transformation.23?format=" style="font-size: 13px;" title="" type="image/svg+xml" />
<details open="">
<p>Head back to Data Transformation.</p>
<h1>Data Transformation</h1>
<img alt="" src="wendelin-Data.Transformation.23?format=" style="font-size: 13px;" title="" type="image/svg+xml" />
<details open="">
<p>Head back to Data Transformation.</p>
<p>Now you can see that we have 3 Data Transformation Lines.</p>
<p>Now you can see that we have 3 Data Transformation Lines.</p>
<p>The first line defines what operation will be done.&nbsp;</p>
<p>The first line defines what operation will be done.&nbsp;</p>
<p>The second line defines on what the operation will be done - the input.</p>
<p>The second line defines on what the operation will be done - the input.</p>
<p>And the third line defines the output.</p>
<p>And the third line defines the output.</p>
<p>Note the <strong>Quantity</strong> column of the Transformation Lines. Make sure the values are the same as shown on the screenshot.</p>
<p>Note the <strong>Quantity</strong> column of the Transformation Lines. Make sure the values are the same as shown
on the screenshot.</p>
<p>The very&nbsp;last step is to validate the&nbsp;Data Transformation.&nbsp;</p>
<p>The very&nbsp;last step is to validate the&nbsp;Data Transformation.&nbsp;</p>
<p>Click on Validate on the left side panel to validate the Data Transformation.</p>
</details>
<p>Click on Validate on the left side panel to validate the Data Transformation.</p>
</details>
</section>
<section class="screenshot">
<h1>Confirm Validation</h1>
<img alt="" src="wendelin-Data.Transformation.24?format=" style="font-size: 13px;" title="" type="image/svg+xml" />
<details open="">
<p>Click on Validate to confirm the Validation.</p>
</details>
<h1>Confirm Validation</h1>
<img alt="" src="wendelin-Data.Transformation.24?format=" style="font-size: 13px;" title="" type="image/svg+xml" />
<details open="">
<p>Click on Validate to confirm the Validation.</p>
</details>
<test>
<test>
<table style="display: none;" class="test">
<tbody>
<tr>
......@@ -1650,46 +1688,48 @@ if end &lt; in_data_stream.getSize():
<td>//input[@type="submit" and @value="Validate"]</td>
<td></td>
</tr>
<tr>
<td colspan="3">&lt;tal:block
metal:use-macro=&quot;here/Zuite_CommonTemplateForRenderjsUi/macros/wait_for_content_loaded&quot;&gt;
&lt;/tal:block&gt;</td>
</tr>
<tr>
<td>waitForElementPresent</td>
<td>//button[@type="submit" and @class="success"]</td>
<td></td>
</tr>
<tr>
<td>waitForElementPresent</td>
<td>//label[@for="field_my_translated_validation_state_title"]</td>
<td></td>
</tr>
<tr>
<td>assertTextPresent</td>
<td>Validated</td>
<td></td>
</tr>
</tbody>
</table>
</test>
</test>
</section>
<section class="screenshot">
<h1>Data Analysis</h1>
<img alt="" src="wendelin-Data.Transformation.25?format=" style="font-size: 13px;" title="" type="image/svg+xml" />
<details open="">
<p>Go to <strong>Data Analyses </strong>module<strong>.</strong></p>
</details>
<h1>Data Analysis</h1>
<img alt="" src="wendelin-Data.Transformation.25?format=" style="font-size: 13px;" title="" type="image/svg+xml" />
<details open="">
<p>Go to <strong>Data Analyses </strong>module<strong>.</strong></p>
</details>
</section>
<section class="screenshot">
<h1>Data Analysis</h1>
<img alt="" src="wendelin-Data.Transformation.26?format=" style="font-size: 13px;" title="" type="image/svg+xml" />
<details open="">
<p>After few minutes in Data Analysis Module a new Data Analysis called&nbsp;<strong>Convert Environment Raw Data&nbsp;</strong>will appear.&nbsp;</p>
</details>
<test>
<h1>Data Analysis</h1>
<img alt="" src="wendelin-Data.Transformation.26?format=" style="font-size: 13px;" title="" type="image/svg+xml" />
<details open="">
<p>After few minutes in Data Analysis Module a new Data Analysis called&nbsp;<strong>Convert Environment Raw
Data&nbsp;</strong>will appear.&nbsp;</p>
</details>
<test>
<table style="display: none;" class="test">
<tbody>
<tr>
......@@ -1699,7 +1739,7 @@ if end &lt; in_data_stream.getSize():
</tr>
<tr>
<td>openAndWait</td>
<td>${base_url_x}/web_site_module/default_wendelin_front/</td>
<td>${default_front_url}</td>
<td></td>
</tr>
<tr>
......@@ -1755,7 +1795,7 @@ if end &lt; in_data_stream.getSize():
</tr>
<tr>
<td>openAndWait</td>
<td>${base_url_x}/web_site_module/default_wendelin_front/</td>
<td>${default_front_url}</td>
<td></td>
</tr>
<tr>
......@@ -1778,6 +1818,11 @@ if end &lt; in_data_stream.getSize():
<td>//a[contains(@href,'data_analysis_module')]</td>
<td></td>
</tr>
<tr>
<td colspan="3">&lt;tal:block
metal:use-macro=&quot;here/Zuite_CommonTemplateForRenderjsUi/macros/wait_for_content_loaded&quot;&gt;
&lt;/tal:block&gt;</td>
</tr>
<tr>
<td>waitForElementPresent</td>
<td>//div[@class='document_table']//table//tbody//tr//td[1]</td>
......@@ -1790,45 +1835,45 @@ if end &lt; in_data_stream.getSize():
</tr>
</tbody>
</table>
</test>
</test>
</section>
<section class="screenshot">
<h1>Data Array Module</h1>
<img alt="" src="wendelin-Data.Transformation.27?format=" style="font-size: 13px;" title="" type="image/svg+xml" />
<details open="">
<p>Go to Data Array Module to see the data.&nbsp;&nbsp;</p>
</details>
<h1>Data Array Module</h1>
<img alt="" src="wendelin-Data.Transformation.27?format=" style="font-size: 13px;" title="" type="image/svg+xml" />
<details open="">
<p>Go to Data Array Module to see the data.&nbsp;&nbsp;</p>
</details>
</section>
<section class="screenshot">
<h1>Data Array</h1>
<img alt="" src="wendelin-Data.Transformation.28?format=" style="font-size: 13px;" title="" type="image/svg+xml" />
<details open="">
<p>Here we can see the newly created Data Array called&nbsp;<strong>Convert Environment Raw Data.</strong></p>
<h1>Data Array</h1>
<img alt="" src="wendelin-Data.Transformation.28?format=" style="font-size: 13px;" title="" type="image/svg+xml" />
<details open="">
<p>Here we can see the newly created Data Array called&nbsp;<strong>Convert Environment Raw Data.</strong></p>
<p>Click on it to navigate to array.</p>
</details>
<p>Click on it to navigate to array.</p>
</details>
</section>
<section class="screenshot">
<h1>Data Array</h1>
<img alt="" src="wendelin-Data.Transformation.29?format=" style="font-size: 13px;" title="" type="image/svg+xml" />
<details open="">
<p>Click on <strong>Preview</strong> to see the data.</p>
<h1>Data Array</h1>
<img alt="" src="wendelin-Data.Transformation.29?format=" style="font-size: 13px;" title="" type="image/svg+xml" />
<details open="">
<p>Click on <strong>Preview</strong> to see the data.</p>
<p>Note it might take few minutes (&lt;10) until data appears.</p>
</details>
<p>Note it might take few minutes (&lt;10) until data appears.</p>
</details>
</section>
<section class="screenshot">
<h1>Data Array</h1>
<img alt="" src="wendelin-Data.Transformation.30?format=" style="font-size: 13px;" title="" type="image/svg+xml" />
<details open="">
<p>Data is here!</p>
</details>
<h1>Data Array</h1>
<img alt="" src="wendelin-Data.Transformation.30?format=" style="font-size: 13px;" title="" type="image/svg+xml" />
<details open="">
<p>Data is here!</p>
</details>
<test>
<test>
<table style="display: none;" class="test">
<tbody>
......@@ -1854,7 +1899,7 @@ if end &lt; in_data_stream.getSize():
</tr>
<tr>
<td>openAndWait</td>
<td>${base_url_x}/web_site_module/default_wendelin_front/</td>
<td>${default_front_url}</td>
<td></td>
</tr>
<tr>
......@@ -1893,6 +1938,11 @@ if end &lt; in_data_stream.getSize():
<td>//div[@class='document_table']//table//tbody//tr//td[1]</td>
<td></td>
</tr>
<tr>
<td colspan="3">&lt;tal:block
metal:use-macro=&quot;here/Zuite_CommonTemplateForRenderjsUi/macros/wait_for_content_loaded&quot;&gt;
&lt;/tal:block&gt;</td>
</tr>
<tr>
<td>waitForElementPresent</td>
<td>//a[contains(@href,'preview')]</td>
......@@ -1905,5 +1955,5 @@ if end &lt; in_data_stream.getSize():
</tr>
</tbody>
</table>
</test>
</test>
</section>
\ No newline at end of file
......@@ -2,117 +2,8 @@
<test>
<table style="display: none;" class="test">
<tbody>
<tr>
<td>store</td>
<td tal:content="python:here.getPortalObject().absolute_url()">http://example.com/erp5</td>
<td>base_url_x</td>
</tr>
<tr>
<td>openAndWait</td>
<td>${base_url}/Zuite_createFunctionalTestUserForTutorial</td>
<td></td>
</tr>
<tr>
<td>assertTextPresent</td>
<td>Done.</td>
<td></td>
</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>
<td>openAndWait</td>
<td>${base_url}/Base_clearCache</td>
<td></td>
</tr>
<tr>
<td>assertTextPresent</td>
<td>Cleared.</td>
<td></td>
</tr>
<!-- login with functional test user -->
<tr>
<td>openAndWait</td>
<td>${base_url}/logout</td>
<td></td>
</tr>
<tr>
<td>openAndWait</td>
<td>${base_url}/login_form</td>
<td></td>
</tr>
<tr>
<td>type</td>
<td>//input[@name="__ac_name"]</td>
<td>functional_test_tutorial_username</td>
</tr>
<tr>
<td>type</td>
<td>//input[@name="__ac_password"]</td>
<td>secret</td>
</tr>
<tr>
<td>clickAndWait</td>
<td>//input[@name="logged_in:method"]</td>
<td></td>
</tr>
<tr>
<td>openAndWait</td>
<td>${base_url}/view</td>
<td></td>
</tr>
<tr>
<td>assertTextPresent</td>
<td>functional_test_tutorial_username</td>
<td></td>
</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>
<td>openAndWait</td>
<td>${base_url}/Base_clearCache</td>
<td></td>
</tr>
<tr>
<td>assertTextPresent</td>
<td>Cleared.</td>
<td></td>
</tr>
<tr>
<td>openAndWait</td>
<td>${base_url}/Zuite_updateUserPreference</td>
<td></td>
</tr>
<tr>
<td>assertTextPresent</td>
<td>Init Ok.</td>
<td></td>
</tr>
<tr>
<td>openAndWait</td>
<td>${base_url}/view</td>
<td></td>
</tr>
<tr>
<td>openAndWait</td>
<td>${base_url}/Zuite_updateUserPreferenceForTutorialTests</td>
<td></td>
<tr class="" style="opacity: 1;">
<td colspan="3">&lt;span metal:use-macro="container/Zuite_viewWendelinTestMacroLibrary/macros/init_wendelin_test_environment"&gt;Init Wendlin Test Environment&lt;/span&gt;</td>
</tr>
</tbody>
</table>
......@@ -208,7 +99,7 @@
<tbody>
<tr>
<td>openAndWait</td>
<td>${base_url_x}/web_site_module/default_wendelin_front/</td>
<td>${default_front_url}</td>
<td></td>
</tr>
<tr>
......@@ -256,7 +147,11 @@
<td>//input[@type="submit" and @value="Create Document"]</td>
<td></td>
</tr>
<tr>
<td colspan="3">&lt;tal:block
metal:use-macro=&quot;here/Zuite_CommonTemplateForRenderjsUi/macros/wait_for_content_loaded&quot;&gt;
&lt;/tal:block&gt;</td>
</tr>
<tr>
<td>waitForElementPresent</td>
<td>//input[@id="field_my_title"]</td>
......@@ -293,9 +188,9 @@
<td></td>
</tr>
<tr>
<td>pause</td>
<td>3000</td>
<td></td>
<td colspan="3">&lt;tal:block
metal:use-macro=&quot;here/Zuite_CommonTemplateForRenderjsUi/macros/wait_for_content_loaded&quot;&gt;
&lt;/tal:block&gt;</td>
</tr>
<tr>
<td>waitForElementPresent</td>
......@@ -322,6 +217,11 @@
<td>//input[@type="submit" and @value="Validate"]</td>
<td></td>
</tr>
<tr>
<td colspan="3">&lt;tal:block
metal:use-macro=&quot;here/Zuite_CommonTemplateForRenderjsUi/macros/wait_for_content_loaded&quot;&gt;
&lt;/tal:block&gt;</td>
</tr>
<tr>
<td>waitForElementPresent</td>
<td>//button[@type="submit" and @class="success"]</td>
......@@ -332,7 +232,6 @@
<td>//label[@for="field_my_translated_validation_state_title"]</td>
<td></td>
</tr>
<tr>
<td>assertTextPresent</td>
<td>Validated</td>
......@@ -439,12 +338,12 @@
</tr>
<tr>
<td>waitForElementPresent</td>
<td>//a[@data-i18n="Preference: Preference for functional_test_tutorial_username"]</td>
<td>//a[@data-i18n="Preference: Preference for functional_test_username"]</td>
<td></td>
</tr>
<tr>
<td>click</td>
<td>//a[@data-i18n="Preference: Preference for functional_test_tutorial_username"]</td>
<td>//a[@data-i18n="Preference: Preference for functional_test_username"]</td>
<td></td>
</tr>
......@@ -484,9 +383,9 @@
<td></td>
</tr>
<tr>
<td>pause</td>
<td>3000</td>
<td></td>
<td colspan="3">&lt;tal:block
metal:use-macro=&quot;here/Zuite_CommonTemplateForRenderjsUi/macros/wait_for_content_loaded&quot;&gt;
&lt;/tal:block&gt;</td>
</tr>
<tr>
<td>waitForElementPresent</td>
......@@ -591,7 +490,11 @@
<td>//input[@type="submit" and @value="Create Document"]</td>
<td></td>
</tr>
<tr>
<td colspan="3">&lt;tal:block
metal:use-macro=&quot;here/Zuite_CommonTemplateForRenderjsUi/macros/wait_for_content_loaded&quot;&gt;
&lt;/tal:block&gt;</td>
</tr>
<tr>
<td>waitForElementPresent</td>
<td>//input[@id="field_my_title"]</td>
......@@ -633,9 +536,9 @@
<td></td>
</tr>
<tr>
<td>pause</td>
<td>3000</td>
<td></td>
<td colspan="3">&lt;tal:block
metal:use-macro=&quot;here/Zuite_CommonTemplateForRenderjsUi/macros/wait_for_content_loaded&quot;&gt;
&lt;/tal:block&gt;</td>
</tr>
<tr>
<td>waitForElementPresent</td>
......@@ -720,9 +623,9 @@
<td></td>
</tr>
<tr>
<td>pause</td>
<td>3000</td>
<td></td>
<td colspan="3">&lt;tal:block
metal:use-macro=&quot;here/Zuite_CommonTemplateForRenderjsUi/macros/wait_for_content_loaded&quot;&gt;
&lt;/tal:block&gt;</td>
</tr>
<tr>
<td>select</td>
......@@ -739,7 +642,6 @@
<td>//input[@type="submit" and @value="Create Document"]</td>
<td></td>
</tr>
<tr>
<td>waitForElementPresent</td>
<td>//input[@id="field_my_title"]</td>
......@@ -761,9 +663,7 @@
<td></td>
</tr>
<tr>
<td>pause</td>
<td>3000</td>
<td></td>
<td colspan="3">&lt;tal:block metal:use-macro=&quot;here/Zuite_CommonTemplateForRenderjsUi/macros/wait_for_content_loaded&quot;&gt; &lt;/tal:block&gt;</td>
</tr>
<tr>
<td>waitForElementPresent</td>
......@@ -781,11 +681,10 @@
<td></td>
</tr>
<tr>
<td>pause</td>
<td>3000</td>
<td></td>
<td colspan="3">&lt;tal:block
metal:use-macro=&quot;here/Zuite_CommonTemplateForRenderjsUi/macros/wait_for_content_loaded&quot;&gt;
&lt;/tal:block&gt;</td>
</tr>
<tr>
<td>waitForElementPresent</td>
<td>//a[@data-i18n="Add"]</td>
......@@ -797,9 +696,9 @@
<td></td>
</tr>
<tr>
<td>pause</td>
<td>3000</td>
<td></td>
<td colspan="3">&lt;tal:block
metal:use-macro=&quot;here/Zuite_CommonTemplateForRenderjsUi/macros/wait_for_content_loaded&quot;&gt;
&lt;/tal:block&gt;</td>
</tr>
<tr>
<td>select</td>
......@@ -838,9 +737,9 @@
<td></td>
</tr>
<tr>
<td>pause</td>
<td>3000</td>
<td></td>
<td colspan="3">&lt;tal:block
metal:use-macro=&quot;here/Zuite_CommonTemplateForRenderjsUi/macros/wait_for_content_loaded&quot;&gt;
&lt;/tal:block&gt;</td>
</tr>
<tr>
<td>waitForElementPresent</td>
......@@ -858,11 +757,10 @@
<td></td>
</tr>
<tr>
<td>pause</td>
<td>3000</td>
<td></td>
<td colspan="3">&lt;tal:block
metal:use-macro=&quot;here/Zuite_CommonTemplateForRenderjsUi/macros/wait_for_content_loaded&quot;&gt;
&lt;/tal:block&gt;</td>
</tr>
<tr>
<td>waitForElementPresent</td>
<td>//a[@data-i18n="Add"]</td>
......@@ -874,9 +772,9 @@
<td></td>
</tr>
<tr>
<td>pause</td>
<td>3000</td>
<td></td>
<td colspan="3">&lt;tal:block
metal:use-macro=&quot;here/Zuite_CommonTemplateForRenderjsUi/macros/wait_for_content_loaded&quot;&gt;
&lt;/tal:block&gt;</td>
</tr>
<tr>
<td>select</td>
......@@ -893,7 +791,11 @@
<td>//input[@type="submit" and @value="Create Document"]</td>
<td></td>
</tr>
<tr>
<td colspan="3">&lt;tal:block
metal:use-macro=&quot;here/Zuite_CommonTemplateForRenderjsUi/macros/wait_for_content_loaded&quot;&gt;
&lt;/tal:block&gt;</td>
</tr>
<tr>
<td>waitForElementPresent</td>
<td>//input[@id="field_my_title"]</td>
......@@ -915,9 +817,9 @@
<td></td>
</tr>
<tr>
<td>pause</td>
<td>3000</td>
<td></td>
<td colspan="3">&lt;tal:block
metal:use-macro=&quot;here/Zuite_CommonTemplateForRenderjsUi/macros/wait_for_content_loaded&quot;&gt;
&lt;/tal:block&gt;</td>
</tr>
<tr>
<td>waitForElementPresent</td>
......@@ -935,11 +837,10 @@
<td></td>
</tr>
<tr>
<td>pause</td>
<td>3000</td>
<td></td>
<td colspan="3">&lt;tal:block
metal:use-macro=&quot;here/Zuite_CommonTemplateForRenderjsUi/macros/wait_for_content_loaded&quot;&gt;
&lt;/tal:block&gt;</td>
</tr>
<tr>
<td>waitForElementPresent</td>
<td>//a[@data-i18n="Add"]</td>
......@@ -951,9 +852,9 @@
<td></td>
</tr>
<tr>
<td>pause</td>
<td>3000</td>
<td></td>
<td colspan="3">&lt;tal:block
metal:use-macro=&quot;here/Zuite_CommonTemplateForRenderjsUi/macros/wait_for_content_loaded&quot;&gt;
&lt;/tal:block&gt;</td>
</tr>
<tr>
<td>select</td>
......@@ -970,7 +871,11 @@
<td>//input[@type="submit" and @value="Create Document"]</td>
<td></td>
</tr>
<tr>
<td colspan="3">&lt;tal:block
metal:use-macro=&quot;here/Zuite_CommonTemplateForRenderjsUi/macros/wait_for_content_loaded&quot;&gt;
&lt;/tal:block&gt;</td>
</tr>
<tr>
<td>waitForElementPresent</td>
<td>//input[@id="field_my_title"]</td>
......@@ -992,9 +897,9 @@
<td></td>
</tr>
<tr>
<td>pause</td>
<td>3000</td>
<td></td>
<td colspan="3">&lt;tal:block
metal:use-macro=&quot;here/Zuite_CommonTemplateForRenderjsUi/macros/wait_for_content_loaded&quot;&gt;
&lt;/tal:block&gt;</td>
</tr>
<tr>
<td>waitForElementPresent</td>
......@@ -1012,11 +917,10 @@
<td></td>
</tr>
<tr>
<td>pause</td>
<td>3000</td>
<td></td>
<td colspan="3">&lt;tal:block
metal:use-macro=&quot;here/Zuite_CommonTemplateForRenderjsUi/macros/wait_for_content_loaded&quot;&gt;
&lt;/tal:block&gt;</td>
</tr>
<tr>
<td>waitForElementPresent</td>
<td>//a[contains(@href,'Dvalidate_action')]</td>
......@@ -1027,6 +931,11 @@
<td>//a[contains(@href,'Dvalidate_action')]</td>
<td></td>
</tr>
<tr>
<td colspan="3">&lt;tal:block
metal:use-macro=&quot;here/Zuite_CommonTemplateForRenderjsUi/macros/wait_for_content_loaded&quot;&gt;
&lt;/tal:block&gt;</td>
</tr>
<tr>
<td>waitForElementPresent</td>
<td>//input[@type="submit" and @value="Validate"]</td>
......@@ -1037,18 +946,21 @@
<td>//input[@type="submit" and @value="Validate"]</td>
<td></td>
</tr>
<tr>
<td colspan="3">&lt;tal:block
metal:use-macro=&quot;here/Zuite_CommonTemplateForRenderjsUi/macros/wait_for_content_loaded&quot;&gt;
&lt;/tal:block&gt;</td>
</tr>
<tr>
<td>waitForElementPresent</td>
<td>//button[@type="submit" and @class="success"]</td>
<td></td>
</tr>
<tr>
<td>waitForElementPresent</td>
<td>//label[@for="field_my_translated_validation_state_title"]</td>
<td></td>
</tr>
<tr>
<td>assertTextPresent</td>
<td>Validated</td>
......@@ -1288,8 +1200,6 @@ progress_indicator.setIntOffsetIndex(in_zbigarray.shape[0])
<td>//a[text()="IngestionPolicy_parseSimpleIngestionTag"]</td>
<td></td>
</tr>
<tr>
<td>waitForElementPresent</td>
<td>//a[@data-i18n="Add"]</td>
......@@ -1301,9 +1211,9 @@ progress_indicator.setIntOffsetIndex(in_zbigarray.shape[0])
<td></td>
</tr>
<tr>
<td>pause</td>
<td>3000</td>
<td></td>
<td colspan="3">&lt;tal:block
metal:use-macro=&quot;here/Zuite_CommonTemplateForRenderjsUi/macros/wait_for_content_loaded&quot;&gt;
&lt;/tal:block&gt;</td>
</tr>
<tr>
<td>select</td>
......@@ -1320,8 +1230,11 @@ progress_indicator.setIntOffsetIndex(in_zbigarray.shape[0])
<td>//input[@type="submit" and @value="Create Document"]</td>
<td></td>
</tr>
<tr>
<td colspan="3">&lt;tal:block
metal:use-macro=&quot;here/Zuite_CommonTemplateForRenderjsUi/macros/wait_for_content_loaded&quot;&gt;
&lt;/tal:block&gt;</td>
</tr>
<tr>
<td>waitForElementPresent</td>
<td>//input[@id="field_my_title"]</td>
......@@ -1342,8 +1255,6 @@ progress_indicator.setIntOffsetIndex(in_zbigarray.shape[0])
<td>//input[@id="field_my_reference"]</td>
<td>DataAnalysisLine_resampleRawArrayAll</td>
</tr>
<tr>
<td>pause</td>
<td>3000</td>
......@@ -1355,9 +1266,9 @@ progress_indicator.setIntOffsetIndex(in_zbigarray.shape[0])
<td></td>
</tr>
<tr>
<td>pause</td>
<td>3000</td>
<td></td>
<td colspan="3">&lt;tal:block
metal:use-macro=&quot;here/Zuite_CommonTemplateForRenderjsUi/macros/wait_for_content_loaded&quot;&gt;
&lt;/tal:block&gt;</td>
</tr>
<tr>
<td>waitForElementPresent</td>
......@@ -1376,7 +1287,7 @@ progress_indicator.setIntOffsetIndex(in_zbigarray.shape[0])
</tr>
<tr>
<td>openAndWait</td>
<td>${base_url_x}/web_site_module/default_wendelin_front/</td>
<td>${default_front_url}</td>
<td></td>
</tr>
<tr>
......@@ -1389,6 +1300,11 @@ progress_indicator.setIntOffsetIndex(in_zbigarray.shape[0])
<td>//a[contains(@href,'page=portal_callables')]</td>
<td></td>
</tr>
<tr>
<td colspan="3">&lt;tal:block
metal:use-macro=&quot;here/Zuite_CommonTemplateForRenderjsUi/macros/wait_for_content_loaded&quot;&gt;
&lt;/tal:block&gt;</td>
</tr>
<tr>
<td>waitForElementPresent</td>
<td>//a[text()='DataAnalysisLine_resampleRawArrayAll']</td>
......@@ -1399,9 +1315,9 @@ progress_indicator.setIntOffsetIndex(in_zbigarray.shape[0])
<td></td>
</tr>
<tr>
<td>pause</td>
<td>3000</td>
<td></td>
<td colspan="3">&lt;tal:block
metal:use-macro=&quot;here/Zuite_CommonTemplateForRenderjsUi/macros/wait_for_content_loaded&quot;&gt;
&lt;/tal:block&gt;</td>
</tr>
<tr>
<td>waitForElementPresent</td>
......@@ -1417,15 +1333,17 @@ progress_indicator.setIntOffsetIndex(in_zbigarray.shape[0])
<td>click</td>
<td>//input[@id="editable"]</td>
<td></td>
</tr>
<tr>
<td colspan="3">&lt;tal:block
metal:use-macro=&quot;here/Zuite_CommonTemplateForRenderjsUi/macros/wait_for_content_loaded&quot;&gt;
&lt;/tal:block&gt;</td>
</tr>
<tr>
<td>waitForElementPresent</td>
<td>//label[@for="field_my_reference"]</td>
<td></td>
</tr>
<tr>
<td>waitForElementPresent</td>
<td>//input[@id="field_my_id"]</td>
......@@ -1436,8 +1354,6 @@ progress_indicator.setIntOffsetIndex(in_zbigarray.shape[0])
<td>//input[@id="field_my_id"]</td>
<td>DataAnalysisLine_resampleRawArrayAll</td>
</tr>
<tr>
<td>pause</td>
<td>3000</td>
......@@ -1448,11 +1364,6 @@ progress_indicator.setIntOffsetIndex(in_zbigarray.shape[0])
<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>
......@@ -1464,17 +1375,15 @@ progress_indicator.setIntOffsetIndex(in_zbigarray.shape[0])
<td></td>
</tr>
<tr>
<td>pause</td>
<td>3000</td>
<td></td>
<td colspan="3">&lt;tal:block
metal:use-macro=&quot;here/Zuite_CommonTemplateForRenderjsUi/macros/wait_for_content_loaded&quot;&gt;
&lt;/tal:block&gt;</td>
</tr>
<tr>
<td>waitForElementPresent</td>
<td>//button[@type="submit" and @class="success"]</td>
<td></td>
</tr>
<tr>
<td>type</td>
<td>//input[@id="field_my_parameter_signature"]</td>
......@@ -1491,9 +1400,9 @@ progress_indicator.setIntOffsetIndex(in_zbigarray.shape[0])
<td></td>
</tr>
<tr>
<td>pause</td>
<td>3000</td>
<td></td>
<td colspan="3">&lt;tal:block
metal:use-macro=&quot;here/Zuite_CommonTemplateForRenderjsUi/macros/wait_for_content_loaded&quot;&gt;
&lt;/tal:block&gt;</td>
</tr>
<tr>
<td>waitForElementPresent</td>
......@@ -1662,9 +1571,9 @@ progress_indicator.setIntOffsetIndex(in_zbigarray.shape[0])
<td></td>
</tr>
<tr>
<td>pause</td>
<td>3000</td>
<td></td>
<td colspan="3">&lt;tal:block
metal:use-macro=&quot;here/Zuite_CommonTemplateForRenderjsUi/macros/wait_for_content_loaded&quot;&gt;
&lt;/tal:block&gt;</td>
</tr>
<tr>
<td>waitForElementPresent</td>
......@@ -1730,6 +1639,11 @@ progress_indicator.setIntOffsetIndex(in_zbigarray.shape[0])
<td>//a[contains(@href,'page=front')]</td>
<td></td>
</tr>
<tr>
<td colspan="3">&lt;tal:block
metal:use-macro=&quot;here/Zuite_CommonTemplateForRenderjsUi/macros/wait_for_content_loaded&quot;&gt;
&lt;/tal:block&gt;</td>
</tr>
<tr>
<td>waitForElementPresent</td>
<td>//a[contains(@href,'data_transformation_module')]</td>
......@@ -1740,6 +1654,11 @@ progress_indicator.setIntOffsetIndex(in_zbigarray.shape[0])
<td>//a[contains(@href,'data_transformation_module')]</td>
<td></td>
</tr>
<tr>
<td colspan="3">&lt;tal:block
metal:use-macro=&quot;here/Zuite_CommonTemplateForRenderjsUi/macros/wait_for_content_loaded&quot;&gt;
&lt;/tal:block&gt;</td>
</tr>
<tr>
<td>waitForElementPresent</td>
<td>//a[@data-i18n="Add"]</td>
......@@ -1765,7 +1684,11 @@ progress_indicator.setIntOffsetIndex(in_zbigarray.shape[0])
<td>//input[@type="submit" and @value="Create Document"]</td>
<td></td>
</tr>
<tr>
<td colspan="3">&lt;tal:block
metal:use-macro=&quot;here/Zuite_CommonTemplateForRenderjsUi/macros/wait_for_content_loaded&quot;&gt;
&lt;/tal:block&gt;</td>
</tr>
<tr>
<td>waitForElementPresent</td>
<td>//input[@id="field_my_title"]</td>
......@@ -1807,9 +1730,9 @@ progress_indicator.setIntOffsetIndex(in_zbigarray.shape[0])
<td></td>
</tr>
<tr>
<td>pause</td>
<td>3000</td>
<td></td>
<td colspan="3">&lt;tal:block
metal:use-macro=&quot;here/Zuite_CommonTemplateForRenderjsUi/macros/wait_for_content_loaded&quot;&gt;
&lt;/tal:block&gt;</td>
</tr>
<tr>
<td>waitForElementPresent</td>
......@@ -1896,7 +1819,11 @@ progress_indicator.setIntOffsetIndex(in_zbigarray.shape[0])
<td>//input[@type="submit" and @value="Create Document"]</td>
<td></td>
</tr>
<tr>
<td colspan="3">&lt;tal:block
metal:use-macro=&quot;here/Zuite_CommonTemplateForRenderjsUi/macros/wait_for_content_loaded&quot;&gt;
&lt;/tal:block&gt;</td>
</tr>
<tr>
<td>waitForElementPresent</td>
<td>//input[@id="field_my_title"]</td>
......@@ -1953,9 +1880,9 @@ progress_indicator.setIntOffsetIndex(in_zbigarray.shape[0])
<td></td>
</tr>
<tr>
<td>pause</td>
<td>3000</td>
<td></td>
<td colspan="3">&lt;tal:block
metal:use-macro=&quot;here/Zuite_CommonTemplateForRenderjsUi/macros/wait_for_content_loaded&quot;&gt;
&lt;/tal:block&gt;</td>
</tr>
<tr>
<td>waitForElementPresent</td>
......@@ -2028,9 +1955,9 @@ progress_indicator.setIntOffsetIndex(in_zbigarray.shape[0])
<table style="display: none;" class="test">
<tbody>
<tr>
<td>pause</td>
<td>3000</td>
<td></td>
<td colspan="3">&lt;tal:block
metal:use-macro=&quot;here/Zuite_CommonTemplateForRenderjsUi/macros/wait_for_content_loaded&quot;&gt;
&lt;/tal:block&gt;</td>
</tr>
<tr>
<td>waitForElementPresent</td>
......@@ -2042,6 +1969,11 @@ progress_indicator.setIntOffsetIndex(in_zbigarray.shape[0])
<td>//a[@data-i18n="Add"]</td>
<td></td>
</tr>
<tr>
<td colspan="3">&lt;tal:block
metal:use-macro=&quot;here/Zuite_CommonTemplateForRenderjsUi/macros/wait_for_content_loaded&quot;&gt;
&lt;/tal:block&gt;</td>
</tr>
<tr>
<td>waitForElementPresent</td>
<td>//select[@id="field_your_select_action"]</td>
......@@ -2067,7 +1999,11 @@ progress_indicator.setIntOffsetIndex(in_zbigarray.shape[0])
<td>//input[@type="submit" and @value="Create Document"]</td>
<td></td>
</tr>
<tr>
<td colspan="3">&lt;tal:block
metal:use-macro=&quot;here/Zuite_CommonTemplateForRenderjsUi/macros/wait_for_content_loaded&quot;&gt;
&lt;/tal:block&gt;</td>
</tr>
<tr>
<td>waitForElementPresent</td>
<td>//input[@id="field_my_title"]</td>
......@@ -2109,9 +2045,9 @@ progress_indicator.setIntOffsetIndex(in_zbigarray.shape[0])
<td></td>
</tr>
<tr>
<td>pause</td>
<td>3000</td>
<td></td>
<td colspan="3">&lt;tal:block
metal:use-macro=&quot;here/Zuite_CommonTemplateForRenderjsUi/macros/wait_for_content_loaded&quot;&gt;
&lt;/tal:block&gt;</td>
</tr>
<tr>
<td>waitForElementPresent</td>
......@@ -2149,9 +2085,9 @@ progress_indicator.setIntOffsetIndex(in_zbigarray.shape[0])
<td></td>
</tr>
<tr>
<td>pause</td>
<td>3000</td>
<td></td>
<td colspan="3">&lt;tal:block
metal:use-macro=&quot;here/Zuite_CommonTemplateForRenderjsUi/macros/wait_for_content_loaded&quot;&gt;
&lt;/tal:block&gt;</td>
</tr>
<tr>
<td>waitForElementPresent</td>
......@@ -2236,9 +2172,9 @@ progress_indicator.setIntOffsetIndex(in_zbigarray.shape[0])
<table style="display: none;" class="test">
<tbody>
<tr>
<td>pause</td>
<td>3000</td>
<td></td>
<td colspan="3">&lt;tal:block
metal:use-macro=&quot;here/Zuite_CommonTemplateForRenderjsUi/macros/wait_for_content_loaded&quot;&gt;
&lt;/tal:block&gt;</td>
</tr>
<tr>
<td>waitForElementPresent</td>
......@@ -2250,6 +2186,11 @@ progress_indicator.setIntOffsetIndex(in_zbigarray.shape[0])
<td>//a[@data-i18n="Add"]</td>
<td></td>
</tr>
<tr>
<td colspan="3">&lt;tal:block
metal:use-macro=&quot;here/Zuite_CommonTemplateForRenderjsUi/macros/wait_for_content_loaded&quot;&gt;
&lt;/tal:block&gt;</td>
</tr>
<tr>
<td>waitForElementPresent</td>
<td>//select[@id="field_your_select_action"]</td>
......@@ -2275,7 +2216,11 @@ progress_indicator.setIntOffsetIndex(in_zbigarray.shape[0])
<td>//input[@type="submit" and @value="Create Document"]</td>
<td></td>
</tr>
<tr>
<td colspan="3">&lt;tal:block
metal:use-macro=&quot;here/Zuite_CommonTemplateForRenderjsUi/macros/wait_for_content_loaded&quot;&gt;
&lt;/tal:block&gt;</td>
</tr>
<tr>
<td>waitForElementPresent</td>
<td>//input[@id="field_my_title"]</td>
......@@ -2317,9 +2262,9 @@ progress_indicator.setIntOffsetIndex(in_zbigarray.shape[0])
<td></td>
</tr>
<tr>
<td>pause</td>
<td>3000</td>
<td></td>
<td colspan="3">&lt;tal:block
metal:use-macro=&quot;here/Zuite_CommonTemplateForRenderjsUi/macros/wait_for_content_loaded&quot;&gt;
&lt;/tal:block&gt;</td>
</tr>
<tr>
<td>waitForElementPresent</td>
......@@ -2362,9 +2307,9 @@ progress_indicator.setIntOffsetIndex(in_zbigarray.shape[0])
<td></td>
</tr>
<tr>
<td>pause</td>
<td>3000</td>
<td></td>
<td colspan="3">&lt;tal:block
metal:use-macro=&quot;here/Zuite_CommonTemplateForRenderjsUi/macros/wait_for_content_loaded&quot;&gt;
&lt;/tal:block&gt;</td>
</tr>
<tr>
<td>waitForElementPresent</td>
......@@ -2381,12 +2326,10 @@ progress_indicator.setIntOffsetIndex(in_zbigarray.shape[0])
<td>//a[contains(@data-i18n,'Data Transformation Resource Line')]</td>
<td></td>
</tr>
<tr>
<td>pause</td>
<td>3000</td>
<td></td>
<td colspan="3">&lt;tal:block
metal:use-macro=&quot;here/Zuite_CommonTemplateForRenderjsUi/macros/wait_for_content_loaded&quot;&gt;
&lt;/tal:block&gt;</td>
</tr>
<tr>
<td>waitForElementPresent</td>
......@@ -2398,6 +2341,11 @@ progress_indicator.setIntOffsetIndex(in_zbigarray.shape[0])
<td>//a[@data-i18n="Add"]</td>
<td></td>
</tr>
<tr>
<td colspan="3">&lt;tal:block
metal:use-macro=&quot;here/Zuite_CommonTemplateForRenderjsUi/macros/wait_for_content_loaded&quot;&gt;
&lt;/tal:block&gt;</td>
</tr>
<tr>
<td>waitForElementPresent</td>
<td>//select[@id="field_your_select_action"]</td>
......@@ -2423,7 +2371,11 @@ progress_indicator.setIntOffsetIndex(in_zbigarray.shape[0])
<td>//input[@type="submit" and @value="Create Document"]</td>
<td></td>
</tr>
<tr>
<td colspan="3">&lt;tal:block
metal:use-macro=&quot;here/Zuite_CommonTemplateForRenderjsUi/macros/wait_for_content_loaded&quot;&gt;
&lt;/tal:block&gt;</td>
</tr>
<tr>
<td>waitForElementPresent</td>
<td>//input[@id="field_my_title"]</td>
......@@ -2465,9 +2417,9 @@ progress_indicator.setIntOffsetIndex(in_zbigarray.shape[0])
<td></td>
</tr>
<tr>
<td>pause</td>
<td>3000</td>
<td></td>
<td colspan="3">&lt;tal:block
metal:use-macro=&quot;here/Zuite_CommonTemplateForRenderjsUi/macros/wait_for_content_loaded&quot;&gt;
&lt;/tal:block&gt;</td>
</tr>
<tr>
<td>waitForElementPresent</td>
......@@ -2510,9 +2462,9 @@ progress_indicator.setIntOffsetIndex(in_zbigarray.shape[0])
<td></td>
</tr>
<tr>
<td>pause</td>
<td>3000</td>
<td></td>
<td colspan="3">&lt;tal:block
metal:use-macro=&quot;here/Zuite_CommonTemplateForRenderjsUi/macros/wait_for_content_loaded&quot;&gt;
&lt;/tal:block&gt;</td>
</tr>
<tr>
<td>waitForElementPresent</td>
......@@ -2529,12 +2481,10 @@ progress_indicator.setIntOffsetIndex(in_zbigarray.shape[0])
<td>//a[contains(@data-i18n,'Data Transformation Resource Line')]</td>
<td></td>
</tr>
<tr>
<td>pause</td>
<td>3000</td>
<td></td>
<td colspan="3">&lt;tal:block
metal:use-macro=&quot;here/Zuite_CommonTemplateForRenderjsUi/macros/wait_for_content_loaded&quot;&gt;
&lt;/tal:block&gt;</td>
</tr>
<tr>
<td>waitForElementPresent</td>
......@@ -2546,6 +2496,11 @@ progress_indicator.setIntOffsetIndex(in_zbigarray.shape[0])
<td>//a[@data-i18n="Add"]</td>
<td></td>
</tr>
<tr>
<td colspan="3">&lt;tal:block
metal:use-macro=&quot;here/Zuite_CommonTemplateForRenderjsUi/macros/wait_for_content_loaded&quot;&gt;
&lt;/tal:block&gt;</td>
</tr>
<tr>
<td>waitForElementPresent</td>
<td>//select[@id="field_your_select_action"]</td>
......@@ -2571,7 +2526,11 @@ progress_indicator.setIntOffsetIndex(in_zbigarray.shape[0])
<td>//input[@type="submit" and @value="Create Document"]</td>
<td></td>
</tr>
<tr>
<td colspan="3">&lt;tal:block
metal:use-macro=&quot;here/Zuite_CommonTemplateForRenderjsUi/macros/wait_for_content_loaded&quot;&gt;
&lt;/tal:block&gt;</td>
</tr>
<tr>
<td>waitForElementPresent</td>
<td>//input[@id="field_my_title"]</td>
......@@ -2613,9 +2572,9 @@ progress_indicator.setIntOffsetIndex(in_zbigarray.shape[0])
<td></td>
</tr>
<tr>
<td>pause</td>
<td>3000</td>
<td></td>
<td colspan="3">&lt;tal:block
metal:use-macro=&quot;here/Zuite_CommonTemplateForRenderjsUi/macros/wait_for_content_loaded&quot;&gt;
&lt;/tal:block&gt;</td>
</tr>
<tr>
<td>waitForElementPresent</td>
......@@ -2658,9 +2617,9 @@ progress_indicator.setIntOffsetIndex(in_zbigarray.shape[0])
<td></td>
</tr>
<tr>
<td>pause</td>
<td>3000</td>
<td></td>
<td colspan="3">&lt;tal:block
metal:use-macro=&quot;here/Zuite_CommonTemplateForRenderjsUi/macros/wait_for_content_loaded&quot;&gt;
&lt;/tal:block&gt;</td>
</tr>
<tr>
<td>waitForElementPresent</td>
......@@ -2677,12 +2636,10 @@ progress_indicator.setIntOffsetIndex(in_zbigarray.shape[0])
<td>//a[contains(@data-i18n,'Data Transformation Resource Line')]</td>
<td></td>
</tr>
<tr>
<td>pause</td>
<td>3000</td>
<td></td>
<td colspan="3">&lt;tal:block
metal:use-macro=&quot;here/Zuite_CommonTemplateForRenderjsUi/macros/wait_for_content_loaded&quot;&gt;
&lt;/tal:block&gt;</td>
</tr>
<tr>
<td>waitForElementPresent</td>
......@@ -2694,6 +2651,11 @@ progress_indicator.setIntOffsetIndex(in_zbigarray.shape[0])
<td>//a[@data-i18n="Add"]</td>
<td></td>
</tr>
<tr>
<td colspan="3">&lt;tal:block
metal:use-macro=&quot;here/Zuite_CommonTemplateForRenderjsUi/macros/wait_for_content_loaded&quot;&gt;
&lt;/tal:block&gt;</td>
</tr>
<tr>
<td>waitForElementPresent</td>
<td>//select[@id="field_your_select_action"]</td>
......@@ -2719,7 +2681,11 @@ progress_indicator.setIntOffsetIndex(in_zbigarray.shape[0])
<td>//input[@type="submit" and @value="Create Document"]</td>
<td></td>
</tr>
<tr>
<td colspan="3">&lt;tal:block
metal:use-macro=&quot;here/Zuite_CommonTemplateForRenderjsUi/macros/wait_for_content_loaded&quot;&gt;
&lt;/tal:block&gt;</td>
</tr>
<tr>
<td>waitForElementPresent</td>
<td>//input[@id="field_my_title"]</td>
......@@ -2761,9 +2727,9 @@ progress_indicator.setIntOffsetIndex(in_zbigarray.shape[0])
<td></td>
</tr>
<tr>
<td>pause</td>
<td>3000</td>
<td></td>
<td colspan="3">&lt;tal:block
metal:use-macro=&quot;here/Zuite_CommonTemplateForRenderjsUi/macros/wait_for_content_loaded&quot;&gt;
&lt;/tal:block&gt;</td>
</tr>
<tr>
<td>waitForElementPresent</td>
......@@ -2806,9 +2772,9 @@ progress_indicator.setIntOffsetIndex(in_zbigarray.shape[0])
<td></td>
</tr>
<tr>
<td>pause</td>
<td>3000</td>
<td></td>
<td colspan="3">&lt;tal:block
metal:use-macro=&quot;here/Zuite_CommonTemplateForRenderjsUi/macros/wait_for_content_loaded&quot;&gt;
&lt;/tal:block&gt;</td>
</tr>
<tr>
<td>waitForElementPresent</td>
......@@ -2861,9 +2827,9 @@ progress_indicator.setIntOffsetIndex(in_zbigarray.shape[0])
<table style="display: none;" class="test">
<tbody>
<tr>
<td>pause</td>
<td>3000</td>
<td></td>
<td colspan="3">&lt;tal:block
metal:use-macro=&quot;here/Zuite_CommonTemplateForRenderjsUi/macros/wait_for_content_loaded&quot;&gt;
&lt;/tal:block&gt;</td>
</tr>
<tr>
<td>waitForElementPresent</td>
......@@ -2910,6 +2876,11 @@ progress_indicator.setIntOffsetIndex(in_zbigarray.shape[0])
<td>//a[contains(@href,'Dvalidate_action')]</td>
<td></td>
</tr>
<tr>
<td colspan="3">&lt;tal:block
metal:use-macro=&quot;here/Zuite_CommonTemplateForRenderjsUi/macros/wait_for_content_loaded&quot;&gt;
&lt;/tal:block&gt;</td>
</tr>
<tr>
<td>waitForElementPresent</td>
<td>//input[@type="submit" and @value="Validate"]</td>
......@@ -2920,6 +2891,11 @@ progress_indicator.setIntOffsetIndex(in_zbigarray.shape[0])
<td>//input[@type="submit" and @value="Validate"]</td>
<td></td>
</tr>
<tr>
<td colspan="3">&lt;tal:block
metal:use-macro=&quot;here/Zuite_CommonTemplateForRenderjsUi/macros/wait_for_content_loaded&quot;&gt;
&lt;/tal:block&gt;</td>
</tr>
<tr>
<td>waitForElementPresent</td>
<td>//button[@type="submit" and @class="success"]</td>
......@@ -2930,7 +2906,6 @@ progress_indicator.setIntOffsetIndex(in_zbigarray.shape[0])
<td>//label[@for="field_my_translated_validation_state_title"]</td>
<td></td>
</tr>
<tr>
<td>assertTextPresent</td>
<td>Validated</td>
......@@ -2974,7 +2949,11 @@ progress_indicator.setIntOffsetIndex(in_zbigarray.shape[0])
<td>//a[contains(@href,'page=front')]</td>
<td></td>
</tr>
<tr>
<td colspan="3">&lt;tal:block
metal:use-macro=&quot;here/Zuite_CommonTemplateForRenderjsUi/macros/wait_for_content_loaded&quot;&gt;
&lt;/tal:block&gt;</td>
</tr>
<tr>
<td>openAndWait</td>
<td>${base_url}/Zuite_callHandleAnalysisAlarm</td>
......@@ -3017,7 +2996,7 @@ progress_indicator.setIntOffsetIndex(in_zbigarray.shape[0])
</tr>
<tr>
<td>openAndWait</td>
<td>${base_url_x}/web_site_module/default_wendelin_front/</td>
<td>${default_front_url}</td>
<td></td>
</tr>
<tr>
......@@ -3046,12 +3025,17 @@ progress_indicator.setIntOffsetIndex(in_zbigarray.shape[0])
<td></td>
</tr>
<tr>
<td>pause</td>
<td>3000</td>
<td></td>
<td colspan="3">&lt;tal:block
metal:use-macro=&quot;here/Zuite_CommonTemplateForRenderjsUi/macros/wait_for_content_loaded&quot;&gt;
&lt;/tal:block&gt;</td>
</tr>
<tr>
<td>assertTextPresent</td>
<td colspan="3">&lt;tal:block
metal:use-macro=&quot;here/Zuite_CommonTemplateForRenderjsUi/macros/wait_for_listbox_loaded&quot;&gt;
&lt;/tal:block&gt;</td>
</tr>
<tr>
<td>waitForTextPresent</td>
<td>Resample Generic Interval Array</td>
<td></td>
</tr>
......@@ -3120,7 +3104,7 @@ progress_indicator.setIntOffsetIndex(in_zbigarray.shape[0])
</tr>
<tr>
<td>openAndWait</td>
<td>${base_url_x}/web_site_module/default_wendelin_front/</td>
<td>${default_front_url}</td>
<td></td>
</tr>
<tr>
......@@ -3149,12 +3133,12 @@ progress_indicator.setIntOffsetIndex(in_zbigarray.shape[0])
<td></td>
</tr>
<tr>
<td>pause</td>
<td>3000</td>
<td></td>
<td colspan="3">&lt;tal:block
metal:use-macro=&quot;here/Zuite_CommonTemplateForRenderjsUi/macros/wait_for_content_loaded&quot;&gt;
&lt;/tal:block&gt;</td>
</tr>
<tr>
<td>assertTextPresent</td>
<td>waitForTextPresent</td>
<td>Resample Generic Interval Array</td>
<td></td>
</tr>
......
......@@ -2,123 +2,14 @@
<test>
<table style="display: none;" class="test">
<tbody>
<tr>
<td>store</td>
<td tal:content="python:here.getPortalObject().absolute_url()">http://example.com/erp5</td>
<td>base_url_x</td>
</tr>
<tr>
<td>openAndWait</td>
<td>${base_url}/Zuite_createFunctionalTestUserForTutorial</td>
<td></td>
</tr>
<tr>
<td>assertTextPresent</td>
<td>Done.</td>
<td></td>
</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>
<td>openAndWait</td>
<td>${base_url}/Base_clearCache</td>
<td></td>
</tr>
<tr>
<td>assertTextPresent</td>
<td>Cleared.</td>
<td></td>
</tr>
<!-- login with functional test user -->
<tr>
<td>openAndWait</td>
<td>${base_url}/logout</td>
<td></td>
</tr>
<tr>
<td>openAndWait</td>
<td>${base_url}/login_form</td>
<td></td>
</tr>
<tr>
<td>type</td>
<td>//input[@name="__ac_name"]</td>
<td>functional_test_tutorial_username</td>
</tr>
<tr>
<td>type</td>
<td>//input[@name="__ac_password"]</td>
<td>secret</td>
</tr>
<tr>
<td>clickAndWait</td>
<td>//input[@name="logged_in:method"]</td>
<td></td>
</tr>
<tr>
<td>openAndWait</td>
<td>${base_url}/view</td>
<td></td>
</tr>
<tr>
<td>assertTextPresent</td>
<td>functional_test_tutorial_username</td>
<td></td>
</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>
<td>openAndWait</td>
<td>${base_url}/Base_clearCache</td>
<td></td>
</tr>
<tr>
<td>assertTextPresent</td>
<td>Cleared.</td>
<td></td>
</tr>
<tr>
<td>openAndWait</td>
<td>${base_url}/Zuite_updateUserPreference</td>
<td></td>
</tr>
<tr>
<td>assertTextPresent</td>
<td>Init Ok.</td>
<td></td>
</tr>
<tr>
<td>openAndWait</td>
<td>${base_url}/view</td>
<td></td>
<tr class="" style="opacity: 1;">
<td colspan="3">&lt;span metal:use-macro="container/Zuite_viewWendelinTestMacroLibrary/macros/init_wendelin_test_environment"&gt;Init Wendlin Test Environment&lt;/span&gt;</td>
</tr>
<tr>
<td>openAndWait</td>
<td>${base_url}/Zuite_updateUserPreferenceForTutorialTests</td>
<td></td>
</tr>
<tr>
<td>assertTextPresent</td>
<td>Init Ok.</td>
<td></td>
</tr>
</tbody>
</table>
</test>
......@@ -429,23 +320,17 @@ plot();</code>
<tbody>
<tr>
<td>openAndWait</td>
<td>${base_url_x}/web_site_module/default_wendelin_front/</td>
<td>${default_front_url}</td>
<td></td>
</tr>
<tr>
<td>waitForElementPresent</td>
<td>//a[contains(@href,'page=front')]</td>
<td></td>
<tr class="" style="opacity: 1;">
<td colspan="3">&lt;span metal:use-macro="container/Zuite_CommonTemplateForRenderjsUi/macros/wait_for_app_loaded"&gt;&lt;/span&gt;</td>
</tr>
<tr>
<td>click</td>
<td>//a[contains(@href,'page=front')]</td>
<td></td>
<td colspan="3">&lt;tal:block tal:define=&quot;click_configuration python: {&#39;text&#39;: &#39;Modules&#39;}&quot;&gt; &lt;tal:block metal:use-macro=&quot;here/Zuite_CommonTemplateForRenderjsUi/macros/click_on_panel_link&quot;&gt; &lt;/tal:block&gt; &lt;/tal:block&gt;</td>
</tr>
<tr>
<td>pause</td>
<td>5000</td>
<td></td>
<td colspan="3">&lt;tal:block metal:use-macro=&quot;here/Zuite_CommonTemplateForRenderjsUi/macros/wait_for_content_loaded&quot;&gt; &lt;/tal:block&gt;</td>
</tr>
<tr>
<td>waitForElementPresent</td>
......@@ -457,6 +342,11 @@ plot();</code>
<td>//a[contains(@href,'key=notebook_module')]</td>
<td></td>
</tr>
<tr>
<td colspan="3">&lt;tal:block
metal:use-macro=&quot;here/Zuite_CommonTemplateForRenderjsUi/macros/wait_for_content_loaded&quot;&gt;
&lt;/tal:block&gt;</td>
</tr>
<tr>
<td>waitForElementPresent</td>
<td>//a[@data-i18n="Add"]</td>
......@@ -468,13 +358,13 @@ plot();</code>
<td></td>
</tr>
<tr>
<td>waitForElementPresent</td>
<td>//input[@type="submit" and @value="Create Document"]</td>
<td></td>
<td colspan="3">&lt;tal:block
metal:use-macro=&quot;here/Zuite_CommonTemplateForRenderjsUi/macros/wait_for_content_loaded&quot;&gt;
&lt;/tal:block&gt;</td>
</tr>
<tr>
<td>pause</td>
<td>3000</td>
<td>waitForElementPresent</td>
<td>//input[@type="submit" and @value="Create Document"]</td>
<td></td>
</tr>
<tr>
......@@ -483,21 +373,10 @@ plot();</code>
<td></td>
</tr>
<tr>
<td>pause</td>
<td>3000</td>
<td></td>
<td colspan="3">&lt;tal:block
metal:use-macro=&quot;here/Zuite_CommonTemplateForRenderjsUi/macros/wait_for_content_loaded&quot;&gt;
&lt;/tal:block&gt;</td>
</tr>
<tr>
<td>waitForElementPresent</td>
<td>//input[@id="editable"]</td>
<td></td>
</tr>
<tr>
<td>click</td>
<td>//input[@id="editable"]</td>
<td></td>
</tr>
<tr>
<td>waitForElementPresent</td>
<td>//a[text()='Edit']</td>
......@@ -508,13 +387,11 @@ plot();</code>
<td>//a[text()='Edit']</td>
<td></td>
</tr>
<tr>
<td>waitForElementPresent</td>
<td>//input[@id="field_my_title"]</td>
<td></td>
</tr>
<tr>
<td>type</td>
<td>//input[@id="field_my_title"]</td>
......@@ -543,7 +420,7 @@ js: https://cdn.plot.ly/plotly-latest.min.js
%% js
hateoas_url = &quot;${base_url_x}/web_site_module/renderjs_runner/hateoas/&quot;;
hateoas_url = &quot;${base_url}/web_site_module/renderjs_runner/hateoas/&quot;;
jio = jIO.createJIO({
&nbsp; type: &quot;erp5&quot;,
&nbsp; url: hateoas_url,
......@@ -747,9 +624,9 @@ plot();
<td></td>
</tr>
<tr>
<td>pause</td>
<td>3000</td>
<td></td>
<td colspan="3">&lt;tal:block
metal:use-macro=&quot;here/Zuite_CommonTemplateForRenderjsUi/macros/wait_for_content_loaded&quot;&gt;
&lt;/tal:block&gt;</td>
</tr>
<tr>
<td>waitForElementPresent</td>
......@@ -762,12 +639,12 @@ plot();
<td></td>
</tr>
<tr>
<td>pause</td>
<td>20000</td>
<td></td>
<td colspan="3">&lt;tal:block
metal:use-macro=&quot;here/Zuite_CommonTemplateForRenderjsUi/macros/wait_for_content_loaded&quot;&gt;
&lt;/tal:block&gt;</td>
</tr>
<tr>
<td>assertElementPresent</td>
<td>waitForElementPresent</td>
<td>//div[@id="plot_div"]</td>
<td></td>
</tr>
......
......@@ -2,123 +2,9 @@
<test>
<table style="display: none;" class="test">
<tbody>
<tr>
<td>store</td>
<td tal:content="python:here.getPortalObject().absolute_url()">http://example.com/erp5</td>
<td>base_url_x</td>
</tr>
<tr>
<td>openAndWait</td>
<td>${base_url}/Zuite_createFunctionalTestUserForTutorial</td>
<td></td>
</tr>
<tr>
<td>assertTextPresent</td>
<td>Done.</td>
<td></td>
</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>
<td>openAndWait</td>
<td>${base_url}/Base_clearCache</td>
<td></td>
</tr>
<tr>
<td>assertTextPresent</td>
<td>Cleared.</td>
<td></td>
</tr>
<!-- login with functional test user -->
<tr>
<td>openAndWait</td>
<td>${base_url}/logout</td>
<td></td>
</tr>
<tr>
<td>openAndWait</td>
<td>${base_url}/login_form</td>
<td></td>
</tr>
<tr>
<td>type</td>
<td>//input[@name="__ac_name"]</td>
<td>functional_test_tutorial_username</td>
</tr>
<tr>
<td>type</td>
<td>//input[@name="__ac_password"]</td>
<td>secret</td>
<tr class="" style="opacity: 1;">
<td colspan="3">&lt;span metal:use-macro="container/Zuite_viewWendelinTestMacroLibrary/macros/init_wendelin_test_environment"&gt;Init Wendlin Test Environment&lt;/span&gt;</td>
</tr>
<tr>
<td>clickAndWait</td>
<td>//input[@name="logged_in:method"]</td>
<td></td>
</tr>
<tr>
<td>openAndWait</td>
<td>${base_url}/view</td>
<td></td>
</tr>
<tr>
<td>assertTextPresent</td>
<td>functional_test_tutorial_username</td>
<td></td>
</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>
<td>openAndWait</td>
<td>${base_url}/Base_clearCache</td>
<td></td>
</tr>
<tr>
<td>assertTextPresent</td>
<td>Cleared.</td>
<td></td>
</tr>
<tr>
<td>openAndWait</td>
<td>${base_url}/Zuite_updateUserPreference</td>
<td></td>
</tr>
<tr>
<td>assertTextPresent</td>
<td>Init Ok.</td>
<td></td>
</tr>
<tr>
<td>openAndWait</td>
<td>${base_url}/view</td>
<td></td>
</tr>
<tr>
<td>openAndWait</td>
<td>${base_url}/Zuite_updateUserPreferenceForTutorialTests</td>
<td></td>
</tr>
<tr>
<td>assertTextPresent</td>
<td>Init Ok.</td>
<td></td>
</tr>
</tbody>
</table>
</test>
......@@ -215,7 +101,7 @@
<tbody>
<tr>
<td>openAndWait</td>
<td>${base_url_x}/web_site_module/default_wendelin_front/</td>
<td>${default_front_url}</td>
<td></td>
</tr>
<tr>
......@@ -238,6 +124,11 @@
<td>//a[contains(@href,'data_operation_module')]</td>
<td></td>
</tr>
<tr>
<td colspan="3">&lt;tal:block
metal:use-macro=&quot;here/Zuite_CommonTemplateForRenderjsUi/macros/wait_for_content_loaded&quot;&gt;
&lt;/tal:block&gt;</td>
</tr>
<tr>
<td>waitForElementPresent</td>
<td>//a[@data-i18n="Add"]</td>
......@@ -248,6 +139,11 @@
<td>//a[@data-i18n="Add"]</td>
<td></td>
</tr>
<tr>
<td colspan="3">&lt;tal:block
metal:use-macro=&quot;here/Zuite_CommonTemplateForRenderjsUi/macros/wait_for_content_loaded&quot;&gt;
&lt;/tal:block&gt;</td>
</tr>
<tr>
<td>waitForElementPresent</td>
<td>//input[@type="submit" and @value="Create Document"]</td>
......@@ -263,7 +159,11 @@
<td>//input[@type="submit" and @value="Create Document"]</td>
<td></td>
</tr>
<tr>
<td colspan="3">&lt;tal:block
metal:use-macro=&quot;here/Zuite_CommonTemplateForRenderjsUi/macros/wait_for_content_loaded&quot;&gt;
&lt;/tal:block&gt;</td>
</tr>
<tr>
<td>waitForElementPresent</td>
<td>//input[@id="field_my_title"]</td>
......@@ -300,9 +200,9 @@
<td></td>
</tr>
<tr>
<td>pause</td>
<td>3000</td>
<td></td>
<td colspan="3">&lt;tal:block
metal:use-macro=&quot;here/Zuite_CommonTemplateForRenderjsUi/macros/wait_for_content_loaded&quot;&gt;
&lt;/tal:block&gt;</td>
</tr>
<tr>
<td>waitForElementPresent</td>
......@@ -329,6 +229,11 @@
<td>//input[@type="submit" and @value="Validate"]</td>
<td></td>
</tr>
<tr>
<td colspan="3">&lt;tal:block
metal:use-macro=&quot;here/Zuite_CommonTemplateForRenderjsUi/macros/wait_for_content_loaded&quot;&gt;
&lt;/tal:block&gt;</td>
</tr>
<tr>
<td>waitForElementPresent</td>
<td>//button[@type="submit" and @class="success"]</td>
......@@ -339,7 +244,6 @@
<td>//label[@for="field_my_translated_validation_state_title"]</td>
<td></td>
</tr>
<tr>
<td>assertTextPresent</td>
<td>Validated</td>
......@@ -396,7 +300,7 @@
<tbody>
<tr>
<td>openAndWait</td>
<td>${base_url_x}/web_site_module/default_wendelin_front/</td>
<td>${default_front_url}</td>
<td></td>
</tr>
<tr>
......@@ -434,6 +338,11 @@
<td>//a[@data-i18n="Add"]</td>
<td></td>
</tr>
<tr>
<td colspan="3">&lt;tal:block
metal:use-macro=&quot;here/Zuite_CommonTemplateForRenderjsUi/macros/wait_for_content_loaded&quot;&gt;
&lt;/tal:block&gt;</td>
</tr>
<tr>
<td>waitForElementPresent</td>
<td>//input[@type="submit" and @value="Create Document"]</td>
......@@ -449,7 +358,11 @@
<td>//input[@type="submit" and @value="Create Document"]</td>
<td></td>
</tr>
<tr>
<td colspan="3">&lt;tal:block
metal:use-macro=&quot;here/Zuite_CommonTemplateForRenderjsUi/macros/wait_for_content_loaded&quot;&gt;
&lt;/tal:block&gt;</td>
</tr>
<tr>
<td>waitForElementPresent</td>
<td>//input[@id="field_my_title"]</td>
......@@ -486,9 +399,9 @@
<td></td>
</tr>
<tr>
<td>pause</td>
<td>3000</td>
<td></td>
<td colspan="3">&lt;tal:block
metal:use-macro=&quot;here/Zuite_CommonTemplateForRenderjsUi/macros/wait_for_content_loaded&quot;&gt;
&lt;/tal:block&gt;</td>
</tr>
<tr>
<td>waitForElementPresent</td>
......@@ -525,7 +438,6 @@
<td>//label[@for="field_my_translated_validation_state_title"]</td>
<td></td>
</tr>
<tr>
<td>assertTextPresent</td>
<td>Validated</td>
......@@ -688,9 +600,9 @@ else:
<td></td>
</tr>
<tr>
<td>pause</td>
<td>3000</td>
<td></td>
<td colspan="3">&lt;tal:block
metal:use-macro=&quot;here/Zuite_CommonTemplateForRenderjsUi/macros/wait_for_content_loaded&quot;&gt;
&lt;/tal:block&gt;</td>
</tr>
<tr>
<td>select</td>
......@@ -707,8 +619,6 @@ else:
<td>//input[@type="submit" and @value="Create Document"]</td>
<td></td>
</tr>
<tr>
<td>waitForElementPresent</td>
<td>//input[@id="field_my_title"]</td>
......@@ -729,8 +639,6 @@ else:
<td>//input[@id="field_my_reference"]</td>
<td>DataAnalysisLine_predictPressureFromHumidity</td>
</tr>
<tr>
<td>pause</td>
<td>3000</td>
......@@ -742,9 +650,9 @@ else:
<td></td>
</tr>
<tr>
<td>pause</td>
<td>3000</td>
<td></td>
<td colspan="3">&lt;tal:block
metal:use-macro=&quot;here/Zuite_CommonTemplateForRenderjsUi/macros/wait_for_content_loaded&quot;&gt;
&lt;/tal:block&gt;</td>
</tr>
<tr>
<td>waitForElementPresent</td>
......@@ -763,7 +671,7 @@ else:
</tr>
<tr>
<td>openAndWait</td>
<td>${base_url_x}/web_site_module/default_wendelin_front/</td>
<td>${default_front_url}</td>
<td></td>
</tr>
<tr>
......@@ -785,9 +693,14 @@ else:
<td>//a[text()='DataAnalysisLine_predictPressureFromHumidity']</td>
<td></td>
</tr>
<tr>
<td colspan="3">&lt;tal:block
metal:use-macro=&quot;here/Zuite_CommonTemplateForRenderjsUi/macros/wait_for_content_loaded&quot;&gt;
&lt;/tal:block&gt;</td>
</tr>
<tr>
<td>pause</td>
<td>3000</td>
<td>5000</td>
<td></td>
</tr>
<tr>
......@@ -805,14 +718,16 @@ else:
<td>//input[@id="editable"]</td>
<td></td>
</tr>
<tr>
<td colspan="3">&lt;tal:block
metal:use-macro=&quot;here/Zuite_CommonTemplateForRenderjsUi/macros/wait_for_content_loaded&quot;&gt;
&lt;/tal:block&gt;</td>
</tr>
<tr>
<td>waitForElementPresent</td>
<td>//label[@for="field_my_reference"]</td>
<td></td>
</tr>
<tr>
<td>waitForElementPresent</td>
<td>//input[@id="field_my_id"]</td>
......@@ -823,13 +738,6 @@ else:
<td>//input[@id="field_my_id"]</td>
<td>DataAnalysisLine_predictPressureFromHumidity</td>
</tr>
<tr>
<td>pause</td>
<td>3000</td>
<td></td>
</tr>
<tr>
<td>waitForElementPresent</td>
<td>//button[@type="submit" and @data-i18n="Save"]</td>
......@@ -841,27 +749,15 @@ else:
<td></td>
</tr>
<tr>
<td>pause</td>
<td>3000</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>
<td colspan="3">&lt;tal:block
metal:use-macro=&quot;here/Zuite_CommonTemplateForRenderjsUi/macros/wait_for_content_loaded&quot;&gt;
&lt;/tal:block&gt;</td>
</tr>
<tr>
<td>waitForElementPresent</td>
<td>//button[@type="submit" and @class="success"]</td>
<td></td>
</tr>
<tr>
<td>type</td>
<td>//input[@id="field_my_parameter_signature"]</td>
......@@ -878,9 +774,9 @@ else:
<td></td>
</tr>
<tr>
<td>pause</td>
<td>3000</td>
<td></td>
<td colspan="3">&lt;tal:block
metal:use-macro=&quot;here/Zuite_CommonTemplateForRenderjsUi/macros/wait_for_content_loaded&quot;&gt;
&lt;/tal:block&gt;</td>
</tr>
<tr>
<td>waitForElementPresent</td>
......@@ -1047,6 +943,11 @@ else:
<td>//a[contains(@href,'data_transformation_module')]</td>
<td></td>
</tr>
<tr>
<td colspan="3">&lt;tal:block
metal:use-macro=&quot;here/Zuite_CommonTemplateForRenderjsUi/macros/wait_for_content_loaded&quot;&gt;
&lt;/tal:block&gt;</td>
</tr>
<tr>
<td>waitForElementPresent</td>
<td>//a[@data-i18n="Add"]</td>
......@@ -1057,6 +958,11 @@ else:
<td>//a[@data-i18n="Add"]</td>
<td></td>
</tr>
<tr>
<td colspan="3">&lt;tal:block
metal:use-macro=&quot;here/Zuite_CommonTemplateForRenderjsUi/macros/wait_for_content_loaded&quot;&gt;
&lt;/tal:block&gt;</td>
</tr>
<tr>
<td>waitForElementPresent</td>
<td>//input[@type="submit" and @value="Create Document"]</td>
......@@ -1072,7 +978,11 @@ else:
<td>//input[@type="submit" and @value="Create Document"]</td>
<td></td>
</tr>
<tr>
<td colspan="3">&lt;tal:block
metal:use-macro=&quot;here/Zuite_CommonTemplateForRenderjsUi/macros/wait_for_content_loaded&quot;&gt;
&lt;/tal:block&gt;</td>
</tr>
<tr>
<td>waitForElementPresent</td>
<td>//input[@id="field_my_title"]</td>
......@@ -1114,16 +1024,15 @@ else:
<td></td>
</tr>
<tr>
<td>pause</td>
<td>3000</td>
<td></td>
<td colspan="3">&lt;tal:block
metal:use-macro=&quot;here/Zuite_CommonTemplateForRenderjsUi/macros/wait_for_content_loaded&quot;&gt;
&lt;/tal:block&gt;</td>
</tr>
<tr>
<td>waitForElementPresent</td>
<td>//button[@type="submit" and @class="success"]</td>
<td></td>
</tr>
<tr>
<td>waitForElementPresent</td>
<td>//select[@id="field_my_variation_category_list"]</td>
......@@ -1140,9 +1049,9 @@ else:
<td></td>
</tr>
<tr>
<td>pause</td>
<td>3000</td>
<td></td>
<td colspan="3">&lt;tal:block
metal:use-macro=&quot;here/Zuite_CommonTemplateForRenderjsUi/macros/wait_for_content_loaded&quot;&gt;
&lt;/tal:block&gt;</td>
</tr>
<tr>
<td>waitForElementPresent</td>
......@@ -1231,7 +1140,6 @@ else:
<td>//input[@type="submit" and @value="Create Document"]</td>
<td></td>
</tr>
<tr>
<td>waitForElementPresent</td>
<td>//input[@id="field_my_title"]</td>
......@@ -1288,9 +1196,9 @@ else:
<td></td>
</tr>
<tr>
<td>pause</td>
<td>3000</td>
<td></td>
<td colspan="3">&lt;tal:block
metal:use-macro=&quot;here/Zuite_CommonTemplateForRenderjsUi/macros/wait_for_content_loaded&quot;&gt;
&lt;/tal:block&gt;</td>
</tr>
<tr>
<td>waitForElementPresent</td>
......@@ -1313,9 +1221,9 @@ else:
<td></td>
</tr>
<tr>
<td>pause</td>
<td>3000</td>
<td></td>
<td colspan="3">&lt;tal:block
metal:use-macro=&quot;here/Zuite_CommonTemplateForRenderjsUi/macros/wait_for_content_loaded&quot;&gt;
&lt;/tal:block&gt;</td>
</tr>
<tr>
<td>waitForElementPresent</td>
......@@ -1402,9 +1310,9 @@ else:
<table style="display: none;" class="test">
<tbody>
<tr>
<td>pause</td>
<td>3000</td>
<td></td>
<td colspan="3">&lt;tal:block
metal:use-macro=&quot;here/Zuite_CommonTemplateForRenderjsUi/macros/wait_for_content_loaded&quot;&gt;
&lt;/tal:block&gt;</td>
</tr>
<tr>
<td>waitForElementPresent</td>
......@@ -1431,17 +1339,11 @@ else:
<td>//input[@type="submit" and @value="Create Document"]</td>
<td></td>
</tr>
<tr>
<td>pause</td>
<td>3000</td>
<td></td>
</tr>
<tr>
<td>click</td>
<td>//input[@type="submit" and @value="Create Document"]</td>
<td></td>
</tr>
<tr>
<td>waitForElementPresent</td>
<td>//input[@id="field_my_title"]</td>
......@@ -1483,9 +1385,9 @@ else:
<td></td>
</tr>
<tr>
<td>pause</td>
<td>3000</td>
<td></td>
<td colspan="3">&lt;tal:block
metal:use-macro=&quot;here/Zuite_CommonTemplateForRenderjsUi/macros/wait_for_content_loaded&quot;&gt;
&lt;/tal:block&gt;</td>
</tr>
<tr>
<td>waitForElementPresent</td>
......@@ -1523,9 +1425,9 @@ else:
<td></td>
</tr>
<tr>
<td>pause</td>
<td>3000</td>
<td></td>
<td colspan="3">&lt;tal:block
metal:use-macro=&quot;here/Zuite_CommonTemplateForRenderjsUi/macros/wait_for_content_loaded&quot;&gt;
&lt;/tal:block&gt;</td>
</tr>
<tr>
<td>waitForElementPresent</td>
......@@ -1606,9 +1508,9 @@ else:
<table style="display: none;" class="test">
<tbody>
<tr>
<td>pause</td>
<td>3000</td>
<td></td>
<td colspan="3">&lt;tal:block
metal:use-macro=&quot;here/Zuite_CommonTemplateForRenderjsUi/macros/wait_for_content_loaded&quot;&gt;
&lt;/tal:block&gt;</td>
</tr>
<tr>
<td>waitForElementPresent</td>
......@@ -1620,6 +1522,11 @@ else:
<td>//a[@data-i18n="Add"]</td>
<td></td>
</tr>
<tr>
<td colspan="3">&lt;tal:block
metal:use-macro=&quot;here/Zuite_CommonTemplateForRenderjsUi/macros/wait_for_content_loaded&quot;&gt;
&lt;/tal:block&gt;</td>
</tr>
<tr>
<td>waitForElementPresent</td>
<td>//select[@id="field_your_select_action"]</td>
......@@ -1645,7 +1552,11 @@ else:
<td>//input[@type="submit" and @value="Create Document"]</td>
<td></td>
</tr>
<tr>
<td colspan="3">&lt;tal:block
metal:use-macro=&quot;here/Zuite_CommonTemplateForRenderjsUi/macros/wait_for_content_loaded&quot;&gt;
&lt;/tal:block&gt;</td>
</tr>
<tr>
<td>waitForElementPresent</td>
<td>//input[@id="field_my_title"]</td>
......@@ -1687,9 +1598,9 @@ else:
<td></td>
</tr>
<tr>
<td>pause</td>
<td>3000</td>
<td></td>
<td colspan="3">&lt;tal:block
metal:use-macro=&quot;here/Zuite_CommonTemplateForRenderjsUi/macros/wait_for_content_loaded&quot;&gt;
&lt;/tal:block&gt;</td>
</tr>
<tr>
<td>waitForElementPresent</td>
......@@ -1727,9 +1638,9 @@ else:
<td></td>
</tr>
<tr>
<td>pause</td>
<td>3000</td>
<td></td>
<td colspan="3">&lt;tal:block
metal:use-macro=&quot;here/Zuite_CommonTemplateForRenderjsUi/macros/wait_for_content_loaded&quot;&gt;
&lt;/tal:block&gt;</td>
</tr>
<tr>
<td>waitForElementPresent</td>
......@@ -1821,6 +1732,11 @@ else:
<td>//input[@type="submit" and @value="Validate"]</td>
<td></td>
</tr>
<tr>
<td colspan="3">&lt;tal:block
metal:use-macro=&quot;here/Zuite_CommonTemplateForRenderjsUi/macros/wait_for_content_loaded&quot;&gt;
&lt;/tal:block&gt;</td>
</tr>
<tr>
<td>waitForElementPresent</td>
<td>//button[@type="submit" and @class="success"]</td>
......@@ -1831,7 +1747,6 @@ else:
<td>//label[@for="field_my_translated_validation_state_title"]</td>
<td></td>
</tr>
<tr>
<td>assertTextPresent</td>
<td>Validated</td>
......@@ -1902,7 +1817,7 @@ else:
</tr>
<tr>
<td>openAndWait</td>
<td>${base_url_x}/web_site_module/default_wendelin_front/</td>
<td>${default_front_url}</td>
<td></td>
</tr>
<tr>
......@@ -1915,9 +1830,14 @@ else:
<td>//a[@accesskey="m"]</td>
<td></td>
</tr>
<tr>
<td colspan="3">&lt;tal:block
metal:use-macro=&quot;here/Zuite_CommonTemplateForRenderjsUi/macros/wait_for_content_loaded&quot;&gt;
&lt;/tal:block&gt;</td>
</tr>
<tr>
<td>pause</td>
<td>3000</td>
<td>5000</td>
<td></td>
</tr>
<tr>
......@@ -1931,9 +1851,9 @@ else:
<td></td>
</tr>
<tr>
<td>pause</td>
<td>3000</td>
<td></td>
<td colspan="3">&lt;tal:block
metal:use-macro=&quot;here/Zuite_CommonTemplateForRenderjsUi/macros/wait_for_listbox_loaded&quot;&gt;
&lt;/tal:block&gt;</td>
</tr>
<tr>
<td>assertTextPresent</td>
......@@ -2005,7 +1925,7 @@ else:
</tr>
<tr>
<td>openAndWait</td>
<td>${base_url_x}/web_site_module/default_wendelin_front/</td>
<td>${default_front_url}</td>
<td></td>
</tr>
<tr>
......@@ -2019,9 +1939,9 @@ else:
<td></td>
</tr>
<tr>
<td>pause</td>
<td>3000</td>
<td></td>
<td colspan="3">&lt;tal:block
metal:use-macro=&quot;here/Zuite_CommonTemplateForRenderjsUi/macros/wait_for_content_loaded&quot;&gt;
&lt;/tal:block&gt;</td>
</tr>
<tr>
<td>waitForElementPresent</td>
......@@ -2034,9 +1954,9 @@ else:
<td></td>
</tr>
<tr>
<td>pause</td>
<td>3000</td>
<td></td>
<td colspan="3">&lt;tal:block
metal:use-macro=&quot;here/Zuite_CommonTemplateForRenderjsUi/macros/wait_for_listbox_loaded&quot;&gt;
&lt;/tal:block&gt;</td>
</tr>
<tr>
<td>assertTextPresent</td>
......@@ -2079,11 +1999,6 @@ else:
<test>
<table style="display: none;" class="test">
<tbody>
<tr>
<td>pause</td>
<td>3000</td>
<td></td>
</tr>
<tr>
<td>waitForElementPresent</td>
<td>//a[contains(@href,'page=front')]</td>
......@@ -2095,9 +2010,9 @@ else:
<td></td>
</tr>
<tr>
<td>pause</td>
<td>5000</td>
<td></td>
<td colspan="3">&lt;tal:block
metal:use-macro=&quot;here/Zuite_CommonTemplateForRenderjsUi/macros/wait_for_content_loaded&quot;&gt;
&lt;/tal:block&gt;</td>
</tr>
<tr>
<td>waitForElementPresent</td>
......@@ -2109,6 +2024,11 @@ else:
<td>//a[contains(@href,'key=notebook_module')]</td>
<td></td>
</tr>
<tr>
<td colspan="3">&lt;tal:block
metal:use-macro=&quot;here/Zuite_CommonTemplateForRenderjsUi/macros/wait_for_content_loaded&quot;&gt;
&lt;/tal:block&gt;</td>
</tr>
<tr>
<td>waitForElementPresent</td>
<td>//a[@data-i18n="Add"]</td>
......@@ -2119,6 +2039,11 @@ else:
<td>//a[@data-i18n="Add"]</td>
<td></td>
</tr>
<tr>
<td colspan="3">&lt;tal:block
metal:use-macro=&quot;here/Zuite_CommonTemplateForRenderjsUi/macros/wait_for_content_loaded&quot;&gt;
&lt;/tal:block&gt;</td>
</tr>
<tr>
<td>waitForElementPresent</td>
<td>//input[@type="submit" and @value="Create Document"]</td>
......@@ -2134,6 +2059,16 @@ else:
<td>//input[@type="submit" and @value="Create Document"]</td>
<td></td>
</tr>
<tr>
<td colspan="3">&lt;tal:block
metal:use-macro=&quot;here/Zuite_CommonTemplateForRenderjsUi/macros/wait_for_content_loaded&quot;&gt;
&lt;/tal:block&gt;</td>
</tr>
<tr>
<td>waitForElementPresent</td>
<td>//label[@for="field_my_title"]</td>
<td></td>
</tr>
</tbody>
</table>
</test>
......@@ -2320,21 +2255,6 @@ function getPredictionData(start_date, stop_date){
<test>
<table style="display: none;" class="test">
<tbody>
<tr>
<td>pause</td>
<td>3000</td>
<td></td>
</tr>
<tr>
<td>waitForElementPresent</td>
<td>//input[@id="editable"]</td>
<td></td>
</tr>
<tr>
<td>click</td>
<td>//input[@id="editable"]</td>
<td></td>
</tr>
<tr>
<td>waitForElementPresent</td>
<td>//a[text()='Edit']</td>
......@@ -2378,7 +2298,7 @@ js: https://cdn.plot.ly/plotly-latest.min.js
%% js
hateoas_url = &quot;${base_url_x}/web_site_module/renderjs_runner/hateoas/&quot;;
hateoas_url = &quot;${base_url}/web_site_module/renderjs_runner/hateoas/&quot;;
jio = jIO.createJIO({
&nbsp; type: &quot;erp5&quot;,
&nbsp; url: hateoas_url,
......@@ -2502,9 +2422,9 @@ function getPredictionData(start_date, stop_date){
<td></td>
</tr>
<tr>
<td>pause</td>
<td>3000</td>
<td></td>
<td colspan="3">&lt;tal:block
metal:use-macro=&quot;here/Zuite_CommonTemplateForRenderjsUi/macros/wait_for_content_loaded&quot;&gt;
&lt;/tal:block&gt;</td>
</tr>
<tr>
<td>waitForElementPresent</td>
......@@ -2516,6 +2436,11 @@ function getPredictionData(start_date, stop_date){
<td>//a[text()="View"]</td>
<td></td>
</tr>
<tr>
<td colspan="3">&lt;tal:block
metal:use-macro=&quot;here/Zuite_CommonTemplateForRenderjsUi/macros/wait_for_content_loaded&quot;&gt;
&lt;/tal:block&gt;</td>
</tr>
<tr>
<td>pause</td>
<td>20000</td>
......
......@@ -4,7 +4,7 @@
portal = context.getPortalObject()
howto_dict = context.Zuite_getHowToInfo()
functional_test_username = 'functional_test_tutorial_username'
functional_test_username = howto_dict['functional_test_username']
person = getattr(portal.person_module, functional_test_username, None)
if person is None:
person = portal.person_module.newContent(portal_type='Person',
......@@ -25,12 +25,18 @@ if person is None:
login = person.newContent(
portal_type='ERP5 Login',
reference=functional_test_username,
password='secret',
password=howto_dict['functional_test_user_password'],
)
login.validate()
# XXX (lucas): These tests must be able to run on an instance without security.
for role in ('Manager','Assignee', 'Assignor', 'Associate', 'Auditor', 'Owner'):
portal.acl_users.zodb_roles.assignRoleToPrincipal(role, person.Person_getUserId())
# BBB for PAS 1.9.0 we pass a response and undo the redirect
response = container.REQUEST.RESPONSE
for role in ('Manager', 'Assignee', 'Assignor', 'Associate', 'Auditor', 'Owner'):
portal.acl_users.zodb_roles.manage_assignRoleToPrincipals(
role,
(person.Person_getUserId(),),
RESPONSE=response)
response.setStatus(200)
return 'Done.'
portal = context.getPortalObject()
dataAnalysisLine = context.portal_catalog.getResultValue(portal_type='Python Script',
title="DataAnalysisLine_convertEnvironmentDataStreamToArray")
if dataAnalysisLine is not None:
portal.portal_callables.deleteContent(dataAnalysisLine.getId())
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_transformDataSetup</string> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
preference_tool = context.getPortalObject().portal_preferences
preference = preference_tool.getActivePreference()
preference = preference_tool.getActiveUserPreference()
if preference is not None: # XXX: 3 is Priority.USER
preference.setPreferredTextEditor('text_area')
......
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<global name="ZopePageTemplate" module="Products.PageTemplates.ZopePageTemplate"/>
</pickle>
<pickle>
<dictionary>
<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_subpath</string> </key>
<value> <string>traverse_subpath</string> </value>
</item>
</dictionary>
</value>
</item>
</dictionary>
</state>
</object>
</value>
</item>
<item>
<key> <string>content_type</string> </key>
<value> <string>text/html</string> </value>
</item>
<item>
<key> <string>expand</string> </key>
<value> <int>0</int> </value>
</item>
<item>
<key> <string>id</string> </key>
<value> <string>Zuite_viewWendelinTestMacroLibrary</string> </value>
</item>
<item>
<key> <string>output_encoding</string> </key>
<value> <string>utf-8</string> </value>
</item>
<item>
<key> <string>title</string> </key>
<value> <unicode></unicode> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
<tal:block metal:define-macro="init_wendelin_test_environment">
<tr>
<td>store</td>
<td tal:content="python:here.getPortalObject().absolute_url()"></td>
<td>base_url</td>
</tr>
<tr>
<td>store</td>
<td tal:content="python:here.getPortalObject().absolute_url() + '/web_site_module/default_wendelin_data_lake/'"></td>
<td>wendelin_data_lake_url</td>
</tr>
<tr>
<td>store</td>
<td tal:content="python:here.getPortalObject().absolute_url() + '/web_site_module/default_wendelin_front/'"></td>
<td>default_front_url</td>
</tr>
<tr>
<td>openAndWait</td>
<td>${base_url}/Zuite_setUpPersonTest</td>
<td></td>
</tr>
<tr>
<td>verifyTextPresent</td>
<td>Init Ok</td>
<td></td>
</tr>
<tr class="" style="opacity: 1;">
<td colspan="3"><span metal:use-macro="container/Zuite_viewTestMacroLibrary/macros/wait_for_activities"> Wait for activities </span></td>
</tr>
<tr class="" style="opacity: 1;">
<td colspan="3"><span metal:use-macro="container/Zuite_viewWendelinTestMacroLibrary/macros/login_as_functional_test_user">Login As Functional Test User</span></td>
</tr>
</tal:block>
<tal:block metal:define-macro="login_as_functional_test_user">
<tr>
<td colspan="3"><b>Login as functional test user</b></td>
</tr>
<tr>
<td>openAndWait</td>
<td>${base_url}/Zuite_createFunctionalTestUserForTutorial</td>
<td></td>
</tr>
<tr>
<td>assertTextPresent</td>
<td>Done.</td>
<td></td>
</tr>
<span metal:use-macro="container/Zuite_viewTestMacroLibrary/macros/wait_for_activities"> Wait for activities</span>
<tr>
<td>openAndWait</td>
<td>${base_url}/Base_clearCache</td>
<td></td>
</tr>
<tr>
<td>assertTextPresent</td>
<td>Cleared.</td>
<td></td>
</tr>
<tr>
<td>open</td>
<td>${wendelin_data_lake_url}</td>
<td></td>
</tr>
<tal:block metal:use-macro="here/Zuite_CommonTemplateForRenderjsUi/macros/wait_for_app_loaded" />
<!-- login with functional test user -->
<span metal:use-macro="container/Zuite_viewWendelinTestMacroLibrary/macros/logout">Logout</span>
<tr>
<td>click</td>
<td>//a[@data-i18n="Login"]</td>
<td></td>
</tr>
<tr>
<td>waitForElementPresent</td>
<td>//input[@name="__ac_name"]</td>
<td></td>
</tr>
<tr>
<td>type</td>
<td>//input[@name="__ac_name"]</td>
<td tal:content="python:
here.Zuite_getHowToInfo()['functional_test_username']"></td>
</tr>
<tr>
<td>type</td>
<td>//input[@name="__ac_password"]</td>
<td tal:content="python:
here.Zuite_getHowToInfo()['functional_test_user_password']"></td>
</tr>
<tr>
<td>click</td>
<td>//input[@value="Login"]</td>
<td></td>
</tr>
<tal:block metal:use-macro="here/Zuite_CommonTemplateForRenderjsUi/macros/wait_for_app_loaded" />
<span metal:use-macro="container/Zuite_viewTestMacroLibrary/macros/wait_for_activities"> Wait for activities</span>
<tr>
<td>openAndWait</td>
<td>${base_url}/Base_clearCache</td>
<td></td>
</tr>
<tr>
<td>assertTextPresent</td>
<td>Cleared.</td>
<td></td>
</tr>
<tr>
<td>openAndWait</td>
<td>${base_url}/Zuite_updateUserPreferenceForTutorialTests</td>
<td></td>
</tr>
<tr>
<td>assertTextPresent</td>
<td>Init Ok.</td>
<td></td>
</tr>
<span metal:use-macro="container/Zuite_viewTestMacroLibrary/macros/wait_for_activities"> Wait for activities</span>
<tr>
<td>openAndWait</td>
<td>${wendelin_data_lake_url}</td>
<td></td>
</tr>
<tal:block metal:use-macro="here/Zuite_CommonTemplateForRenderjsUi/macros/wait_for_app_loaded" />
</tal:block>
<tal:block metal:define-macro="logout">
<tr>
<td colspan="3"><b>Logout</b></td>
</tr>
<!-- Logout -->
<tr>
<td>open</td>
<td>${wendelin_data_lake_url}</td>
<td></td>
</tr>
<tal:block metal:use-macro="here/Zuite_CommonTemplateForRenderjsUi/macros/wait_for_app_loaded" />
<tal:block tal:define="click_configuration python: {'text': 'Logout'}">
<tal:block metal:use-macro="here/Zuite_CommonTemplateForRenderjsUi/macros/click_on_panel_link" />
</tal:block>
<tr>
<td>waitForElementPresent</td>
<td>//h1/a[@data-i18n="Logout"]</td>
<td></td>
</tr>
<tr>
<td>waitForElementPresent</td>
<td>//input[@value="Confirm"]</td>
<td></td>
</tr>
<tr>
<td>click</td>
<td>//input[@value="Confirm"]</td>
<td></td>
</tr>
<tal:block metal:use-macro="here/Zuite_CommonTemplateForRenderjsUi/macros/wait_for_app_loaded" />
</tal:block>
\ 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