Commit 76caa4fa authored by Ekaterina's avatar Ekaterina

erp5_wendelin_tutorial: minor changes in several tests

parent c9a12bfb
...@@ -128,7 +128,7 @@ ...@@ -128,7 +128,7 @@
<tbody> <tbody>
<tr> <tr>
<td>openAndWait</td> <td>openAndWait</td>
<td>${base_url}/web_site_module/renderjs_runner/</td> <td>${base_url}/web_site_module/default_wendelin_front/</td>
<td></td> <td></td>
</tr> </tr>
<tr> <tr>
...@@ -163,14 +163,29 @@ ...@@ -163,14 +163,29 @@
</tr> </tr>
<tr> <tr>
<td>waitForElementPresent</td> <td>waitForElementPresent</td>
<td>//input[@type="submit" and @name="action_confirm"]</td> <td>//button[@type="submit" and @data-i18n="Proceed"]</td>
<td></td>
</tr>
<tr>
<td>pause</td>
<td>3000</td>
<td></td> <td></td>
</tr> </tr>
<tr> <tr>
<td>click</td> <td>click</td>
<td>//button[@type="submit" and @data-i18n="Proceed"]</td>
<td></td>
</tr>
<!--<tr>
<td>waitForElementPresent</td>
<td>//input[@type="submit" and @name="action_confirm"]</td> <td>//input[@type="submit" and @name="action_confirm"]</td>
<td></td> <td></td>
</tr> </tr>
<tr>
<td>click</td>
<td>//input[@type="submit" and @name="action_confirm"]</td>
<td></td>
</tr>-->
<tr> <tr>
...@@ -195,7 +210,7 @@ ...@@ -195,7 +210,7 @@
</tr> </tr>
<tr> <tr>
<td>pause</td> <td>pause</td>
<td>5000</td> <td>3000</td>
<td></td> <td></td>
</tr> </tr>
<tr> <tr>
...@@ -215,14 +230,24 @@ ...@@ -215,14 +230,24 @@
</tr> </tr>
<tr> <tr>
<td>waitForElementPresent</td> <td>waitForElementPresent</td>
<td>//input[@type="submit" and @value="Validate"]</td> <td>//button[@type="submit" and @data-i18n="Proceed"]</td>
<td></td> <td></td>
</tr> </tr>
<tr> <tr>
<td>click</td> <td>click</td>
<td>//button[@type="submit" and @data-i18n="Proceed"]</td>
<td></td>
</tr>
<!--<tr>
<td>waitForElementPresent</td>
<td>//input[@type="submit" and @value="Validate"]</td> <td>//input[@type="submit" and @value="Validate"]</td>
<td></td> <td></td>
</tr> </tr>
<tr>
<td>click</td>
<td>//input[@type="submit" and @value="Validate"]</td>
<td></td>
</tr>-->
<tr> <tr>
<td>waitForElementPresent</td> <td>waitForElementPresent</td>
<td>//button[@type="submit" and @class="success"]</td> <td>//button[@type="submit" and @class="success"]</td>
......
...@@ -945,6 +945,96 @@ ...@@ -945,6 +945,96 @@
</value> </value>
</item> </item>
</dictionary> </dictionary>
<dictionary>
<item>
<key> <string>action</string> </key>
<value> <string>edit</string> </value>
</item>
<item>
<key> <string>actor</string> </key>
<value> <string>zope</string> </value>
</item>
<item>
<key> <string>comment</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>error_message</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>serial</string> </key>
<value> <string>987.18892.29643.5085</string> </value>
</item>
<item>
<key> <string>state</string> </key>
<value> <string>current</string> </value>
</item>
<item>
<key> <string>time</string> </key>
<value>
<object>
<klass> <reference id="4.1"/> </klass>
<tuple>
<none/>
</tuple>
<state>
<tuple>
<float>1603981671.2</float>
<string>UTC</string>
</tuple>
</state>
</object>
</value>
</item>
</dictionary>
<dictionary>
<item>
<key> <string>action</string> </key>
<value> <string>edit</string> </value>
</item>
<item>
<key> <string>actor</string> </key>
<value> <string>zope</string> </value>
</item>
<item>
<key> <string>comment</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>error_message</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>serial</string> </key>
<value> <string>987.40515.55935.46523</string> </value>
</item>
<item>
<key> <string>state</string> </key>
<value> <string>current</string> </value>
</item>
<item>
<key> <string>time</string> </key>
<value>
<object>
<klass> <reference id="4.1"/> </klass>
<tuple>
<none/>
</tuple>
<state>
<tuple>
<float>1604677296.27</float>
<string>UTC</string>
</tuple>
</state>
</object>
</value>
</item>
</dictionary>
</list> </list>
</value> </value>
</item> </item>
......
...@@ -126,7 +126,7 @@ ...@@ -126,7 +126,7 @@
<tbody> <tbody>
<tr> <tr>
<td>openAndWait</td> <td>openAndWait</td>
<td>${base_url}/web_site_module/renderjs_runner/</td> <td>${base_url}/web_site_module/default_wendelin_front/</td>
<td></td> <td></td>
</tr> </tr>
<tr> <tr>
......
...@@ -528,6 +528,141 @@ ...@@ -528,6 +528,141 @@
</value> </value>
</item> </item>
</dictionary> </dictionary>
<dictionary>
<item>
<key> <string>action</string> </key>
<value> <string>edit</string> </value>
</item>
<item>
<key> <string>actor</string> </key>
<value> <string>zope</string> </value>
</item>
<item>
<key> <string>comment</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>error_message</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>serial</string> </key>
<value> <string>987.37620.46680.40635</string> </value>
</item>
<item>
<key> <string>state</string> </key>
<value> <string>current</string> </value>
</item>
<item>
<key> <string>time</string> </key>
<value>
<object>
<klass> <reference id="4.1"/> </klass>
<tuple>
<none/>
</tuple>
<state>
<tuple>
<float>1604677239.26</float>
<string>UTC</string>
</tuple>
</state>
</object>
</value>
</item>
</dictionary>
<dictionary>
<item>
<key> <string>action</string> </key>
<value> <string>edit</string> </value>
</item>
<item>
<key> <string>actor</string> </key>
<value> <string>zope</string> </value>
</item>
<item>
<key> <string>comment</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>error_message</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>serial</string> </key>
<value> <string>987.52108.42890.5734</string> </value>
</item>
<item>
<key> <string>state</string> </key>
<value> <string>current</string> </value>
</item>
<item>
<key> <string>time</string> </key>
<value>
<object>
<klass> <reference id="4.1"/> </klass>
<tuple>
<none/>
</tuple>
<state>
<tuple>
<float>1605003907.65</float>
<string>UTC</string>
</tuple>
</state>
</object>
</value>
</item>
</dictionary>
<dictionary>
<item>
<key> <string>action</string> </key>
<value> <string>edit</string> </value>
</item>
<item>
<key> <string>actor</string> </key>
<value> <string>zope</string> </value>
</item>
<item>
<key> <string>comment</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>error_message</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>serial</string> </key>
<value> <string>987.57553.8372.40448</string> </value>
</item>
<item>
<key> <string>state</string> </key>
<value> <string>current</string> </value>
</item>
<item>
<key> <string>time</string> </key>
<value>
<object>
<klass> <reference id="4.1"/> </klass>
<tuple>
<none/>
</tuple>
<state>
<tuple>
<float>1605005966.48</float>
<string>UTC</string>
</tuple>
</state>
</object>
</value>
</item>
</dictionary>
</list> </list>
</value> </value>
</item> </item>
......
...@@ -79,7 +79,7 @@ ...@@ -79,7 +79,7 @@
<tbody> <tbody>
<tr> <tr>
<td>openAndWait</td> <td>openAndWait</td>
<td>${base_url}/web_site_module/renderjs_runner/</td> <td>${base_url}/web_site_module/default_wendelin_front/</td>
<td></td> <td></td>
</tr> </tr>
<tr> <tr>
...@@ -296,6 +296,16 @@ ...@@ -296,6 +296,16 @@
<td>//li[@name='Organisation']</td> <td>//li[@name='Organisation']</td>
<td></td> <td></td>
</tr> </tr>
<!--<tr>
<td>type</td>
<td>//input[@id="field_my_effective_date"]</td>
<td>01/01/2020</td>
</tr>
<tr>
<td>type</td>
<td>//input[@id="field_my_expiration_date"]</td>
<td>01/01/2099</td>
</tr>-->
<tr> <tr>
<td>click</td> <td>click</td>
<td>//button[@name="submit" and @data-i18n="Save"]</td> <td>//button[@name="submit" and @data-i18n="Save"]</td>
......
...@@ -1082,6 +1082,186 @@ ...@@ -1082,6 +1082,186 @@
</value> </value>
</item> </item>
</dictionary> </dictionary>
<dictionary>
<item>
<key> <string>action</string> </key>
<value> <string>edit</string> </value>
</item>
<item>
<key> <string>actor</string> </key>
<value> <string>zope</string> </value>
</item>
<item>
<key> <string>comment</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>error_message</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>serial</string> </key>
<value> <string>987.31576.33262.35174</string> </value>
</item>
<item>
<key> <string>state</string> </key>
<value> <string>current</string> </value>
</item>
<item>
<key> <string>time</string> </key>
<value>
<object>
<klass> <reference id="4.1"/> </klass>
<tuple>
<none/>
</tuple>
<state>
<tuple>
<float>1603982012.59</float>
<string>UTC</string>
</tuple>
</state>
</object>
</value>
</item>
</dictionary>
<dictionary>
<item>
<key> <string>action</string> </key>
<value> <string>edit</string> </value>
</item>
<item>
<key> <string>actor</string> </key>
<value> <string>zope</string> </value>
</item>
<item>
<key> <string>comment</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>error_message</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>serial</string> </key>
<value> <string>987.40521.35606.19148</string> </value>
</item>
<item>
<key> <string>state</string> </key>
<value> <string>current</string> </value>
</item>
<item>
<key> <string>time</string> </key>
<value>
<object>
<klass> <reference id="4.1"/> </klass>
<tuple>
<none/>
</tuple>
<state>
<tuple>
<float>1603982014.49</float>
<string>UTC</string>
</tuple>
</state>
</object>
</value>
</item>
</dictionary>
<dictionary>
<item>
<key> <string>action</string> </key>
<value> <string>edit</string> </value>
</item>
<item>
<key> <string>actor</string> </key>
<value> <string>zope</string> </value>
</item>
<item>
<key> <string>comment</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>error_message</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>serial</string> </key>
<value> <string>987.40521.35606.19148</string> </value>
</item>
<item>
<key> <string>state</string> </key>
<value> <string>current</string> </value>
</item>
<item>
<key> <string>time</string> </key>
<value>
<object>
<klass> <reference id="4.1"/> </klass>
<tuple>
<none/>
</tuple>
<state>
<tuple>
<float>1603983534.55</float>
<string>UTC</string>
</tuple>
</state>
</object>
</value>
</item>
</dictionary>
<dictionary>
<item>
<key> <string>action</string> </key>
<value> <string>edit</string> </value>
</item>
<item>
<key> <string>actor</string> </key>
<value> <string>zope</string> </value>
</item>
<item>
<key> <string>comment</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>error_message</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>serial</string> </key>
<value> <string>987.40546.59588.14216</string> </value>
</item>
<item>
<key> <string>state</string> </key>
<value> <string>current</string> </value>
</item>
<item>
<key> <string>time</string> </key>
<value>
<object>
<klass> <reference id="4.1"/> </klass>
<tuple>
<none/>
</tuple>
<state>
<tuple>
<float>1604677336.53</float>
<string>UTC</string>
</tuple>
</state>
</object>
</value>
</item>
</dictionary>
</list> </list>
</value> </value>
</item> </item>
......
...@@ -79,7 +79,7 @@ ...@@ -79,7 +79,7 @@
<tbody> <tbody>
<tr> <tr>
<td>openAndWait</td> <td>openAndWait</td>
<td>${base_url}/web_site_module/renderjs_runner/</td> <td>${base_url}/web_site_module/default_wendelin_front/</td>
<td></td> <td></td>
</tr> </tr>
<tr> <tr>
...@@ -214,7 +214,11 @@ ...@@ -214,7 +214,11 @@
<td>//select[@id="field_my_aggregated_portal_type_list"]</td> <td>//select[@id="field_my_aggregated_portal_type_list"]</td>
<td>Data Array</td> <td>Data Array</td>
</tr> </tr>
<tr>
<td>select</td>
<td>//select[@id="subfield_field_my_quantity_unit_list_default:list"]</td>
<td>Unit/Piece</td>
</tr>
<tr> <tr>
<td>click</td> <td>click</td>
<td>//button[@name="submit" and @data-i18n="Save"]</td> <td>//button[@name="submit" and @data-i18n="Save"]</td>
...@@ -494,9 +498,9 @@ ...@@ -494,9 +498,9 @@
<test> <test>
<table style="display: none;" class="test"> <table style="display: none;" class="test">
<tbody> <tbody>
<tr class="" style="opacity: 1;"> <!--<tr class="" style="opacity: 1;">
<td colspan="3">&lt;span metal:use-macro="container/Zuite_viewTestMacroLibrary/macros/wait_for_activities"&gt; Wait for activities &lt;/span&gt;</td> <td colspan="3">&lt;span metal:use-macro="container/Zuite_viewTestMacroLibrary/macros/wait_for_activities"&gt; Wait for activities &lt;/span&gt;</td>
</tr> </tr>-->
<tr> <tr>
<td>openAndWait</td> <td>openAndWait</td>
<td>${base_url}/web_site_module/default_wendelin_front/</td> <td>${base_url}/web_site_module/default_wendelin_front/</td>
...@@ -1030,6 +1034,11 @@ if end &lt; in_data_stream.getSize(): ...@@ -1030,6 +1034,11 @@ if end &lt; in_data_stream.getSize():
<td>//select[@id="field_my_quantity_unit"]</td> <td>//select[@id="field_my_quantity_unit"]</td>
<td>Unit/Piece</td> <td>Unit/Piece</td>
</tr> </tr>
<tr>
<td>type</td>
<td>//input[@id="field_my_quantity"]</td>
<td>1</td>
</tr>
<tr> <tr>
<td>click</td> <td>click</td>
<td>//button[@name="submit" and @data-i18n="Save"]</td> <td>//button[@name="submit" and @data-i18n="Save"]</td>
...@@ -1194,6 +1203,11 @@ if end &lt; in_data_stream.getSize(): ...@@ -1194,6 +1203,11 @@ if end &lt; in_data_stream.getSize():
<td>//select[@id="field_my_quantity_unit"]</td> <td>//select[@id="field_my_quantity_unit"]</td>
<td>Unit/Piece</td> <td>Unit/Piece</td>
</tr> </tr>
<tr>
<td>type</td>
<td>//input[@id="field_my_quantity"]</td>
<td>-1</td>
</tr>
<tr> <tr>
<td>click</td> <td>click</td>
<td>//button[@name="submit" and @data-i18n="Save"]</td> <td>//button[@name="submit" and @data-i18n="Save"]</td>
...@@ -1388,6 +1402,11 @@ if end &lt; in_data_stream.getSize(): ...@@ -1388,6 +1402,11 @@ if end &lt; in_data_stream.getSize():
<td>//select[@id="field_my_quantity_unit"]</td> <td>//select[@id="field_my_quantity_unit"]</td>
<td>Unit/Piece</td> <td>Unit/Piece</td>
</tr> </tr>
<tr>
<td>type</td>
<td>//input[@id="field_my_quantity"]</td>
<td>1</td>
</tr>
<tr> <tr>
<td>click</td> <td>click</td>
<td>//button[@name="submit" and @data-i18n="Save"]</td> <td>//button[@name="submit" and @data-i18n="Save"]</td>
...@@ -1548,10 +1567,10 @@ if end &lt; in_data_stream.getSize(): ...@@ -1548,10 +1567,10 @@ if end &lt; in_data_stream.getSize():
<test> <test>
<table style="display: none;" class="test"> <table style="display: none;" class="test">
<tbody> <tbody>
<tr class="" style="opacity: 1;"> <!--<tr class="" style="opacity: 1;">
<td colspan="3">&lt;span metal:use-macro="container/Zuite_viewTestMacroLibrary/macros/wait_for_activities"&gt; Wait for activities &lt;/span&gt;</td> <td colspan="3">&lt;span metal:use-macro="container/Zuite_viewTestMacroLibrary/macros/wait_for_activities"&gt; Wait for activities &lt;/span&gt;</td>
</tr> </tr>
<tr> <tr>-->
<td>openAndWait</td> <td>openAndWait</td>
<td>${base_url}/web_site_module/default_wendelin_front/</td> <td>${base_url}/web_site_module/default_wendelin_front/</td>
<td></td> <td></td>
...@@ -1568,7 +1587,7 @@ if end &lt; in_data_stream.getSize(): ...@@ -1568,7 +1587,7 @@ if end &lt; in_data_stream.getSize():
</tr> </tr>
<tr> <tr>
<td>pause</td> <td>pause</td>
<td>150000</td> <td>200000</td>
<td></td> <td></td>
</tr> </tr>
<tr> <tr>
...@@ -1671,7 +1690,7 @@ if end &lt; in_data_stream.getSize(): ...@@ -1671,7 +1690,7 @@ if end &lt; in_data_stream.getSize():
</tr> </tr>
<tr> <tr>
<td>pause</td> <td>pause</td>
<td>150000</td> <td>200000</td>
<td></td> <td></td>
</tr> </tr>
<tr> <tr>
......
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