Commit f8d9952f authored by Tristan Cavelier's avatar Tristan Cavelier

erp5_user_tutorial: revert some test changes

Not changed by Ni or Sven in b1f5a740
parent 5ba7e6fa
<section class="master"> <section class="master">
<h1>How to Add Organisations</h1> <h1>How to Add Organisations</h1>
<img alt="Photo of the building of Z Company" src="http://img.erp5.cn/user-Howto.Add.Organisations.Front.Page.Building.Zcompany?format=png" title="Add organisation: Z Company"> <img alt="Photo of the building of Z Company" src="http://img.erp5.cn/user-Howto.Add.Organisations.Front.Page.Building.Zcompany?format=png" title="Add organisation: Z Company">
...@@ -14,7 +13,7 @@ ...@@ -14,7 +13,7 @@
<tr class="" style="opacity: 1;"> <tr class="" style="opacity: 1;">
<td colspan="3">&lt;span metal:use-macro="container/Zuite_viewTestMacroLibrary/macros/init_test_environment"&gt;init&lt;/span&gt;</td> <td colspan="3">&lt;span metal:use-macro="container/Zuite_viewTestMacroLibrary/macros/init_test_environment"&gt;init&lt;/span&gt;</td>
</tr> </tr>
<tr> <tr class="" style="opacity: 1; z-index: 0;">
<td>openAndWait</td> <td>openAndWait</td>
<td>${base_url}/Zuite_setUpOrganisationTest</td> <td>${base_url}/Zuite_setUpOrganisationTest</td>
<td></td> <td></td>
...@@ -75,21 +74,37 @@ ...@@ -75,21 +74,37 @@
<td>//div[@id="breadcrumb"]/a[2]</td> <td>//div[@id="breadcrumb"]/a[2]</td>
<td>Organisations</td> <td>Organisations</td>
</tr> </tr>
<tr style="opacity: 1; z-index: 0;" class="">
<td>clickAndWait</td>
<td>//div[@class="listbox-title"]/a[1]</td>
<td></td>
</tr>
</tbody> </tbody>
</table> </table>
</test> </test>
</section><section class="screenshot"> </section><section class="screenshot">
<h1>Click on the "Browse" tab</h1> <h1>Click on the "Browse" tab</h1>
<img src="http://img.erp5.cn/user-Howto.Add.Organisations.Check.Creation.Browse.Organisations.Base.Screenshot?format=png" alt="Check organisation creation: Browse the 'Organisations' database" title="Check organisation creation: Browse the 'Organisations' database"> <img src="http://img.erp5.cn/user-Howto.Add.Organisations.Check.Creation.Browse.Organisations.Base.Screenshot?format=png" alt="Check organisation creation: Browse the 'Organisations' database" title="Check organisation creation: Browse the 'Organisations' database">
<details open="open"> <details open="open">
<p>Click on the Browse Tab and then on "Organisations" to find our client Z Company.</p> <p>Click on the Browse Tab and then on "Organisations" to find our client Z Company.</p>
</details> </details>
</section><section class="screenshot"> </section><section class="screenshot">
<h1>Click on "Z Company"</h1> <h1>Click on "Z Company"</h1>
<img src="http://img.erp5.cn/user-Howto.Add.Organisations.Check.Creation.3.Organisationline.Screenshot?format=png" alt="Check organisation creation (3): Check the organisation's line" title="Check organisation creation (3): Check the organisation's line"> <img src="http://img.erp5.cn/user-Howto.Add.Organisations.Check.Creation.3.Organisationline.Screenshot?format=png" alt="Check organisation creation (3): Check the organisation's line" title="Check organisation creation (3): Check the organisation's line">
<details open="open"> <details open="open">
<p>You will find our client Z Company in the Organisation Module. Click on the line to open the organisation.</p> <p>You will find our client Z Company in the Organisation Module. Click on the line to open the organisation.</p>
</details> </details>
<test>
<table style="display: none;" class="test">
<tbody>
<tr>
<td>clickAndWait</td>
<td>//td[@class='listbox-table-data-cell']//a[text()='Z Company']</td>
<td></td>
</tr>
</tbody>
</table>
</test>
</section><section class="screenshot"> </section><section class="screenshot">
<h1>Fill the “view” tab and save</h1> <h1>Fill the “view” tab and save</h1>
<img alt="Add organisations: Fill the 'View' page and save" src="http://img.erp5.cn/user-Howto.Add.Organisations.View.Save?format=png" title="Add organisations: Fill the 'View' page and save"> <img alt="Add organisations: Fill the 'View' page and save" src="http://img.erp5.cn/user-Howto.Add.Organisations.View.Save?format=png" title="Add organisations: Fill the 'View' page and save">
...@@ -100,7 +115,7 @@ ...@@ -100,7 +115,7 @@
<test> <test>
<table style="display: none;" class="test"> <table style="display: none;" class="test">
<tbody> <tbody>
<tr> <tr class="" style="opacity: 1; z-index: 0;">
<td>type</td> <td>type</td>
<td>//input[@name="field_my_title"]</td> <td>//input[@name="field_my_title"]</td>
<td>Z Company</td> <td>Z Company</td>
......
...@@ -79,6 +79,7 @@ ...@@ -79,6 +79,7 @@
<string>contributor/person_module/796</string> <string>contributor/person_module/796</string>
<string>contributor/person_module/20121115-586BC0F</string> <string>contributor/person_module/20121115-586BC0F</string>
<string>contributor/person_module/20130927-61A66CC</string> <string>contributor/person_module/20130927-61A66CC</string>
<string>contributor/person_module/20120402-3479F4E</string>
</tuple> </tuple>
</value> </value>
</item> </item>
...@@ -418,6 +419,51 @@ ...@@ -418,6 +419,51 @@
</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>tristan</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>952.43193.5421.10308</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>1469447057.46</float>
<string>UTC</string>
</tuple>
</state>
</object>
</value>
</item>
</dictionary>
</list> </list>
</tuple> </tuple>
</pickle> </pickle>
......
<section class="master"> <section class="master">
<h1>How to Prepare Outgoing Events</h1> <h1>How to Prepare Outgoing Events</h1>
<img src="http://img.erp5.cn/user-Howto.Prepare.Outgoing.Events.Event.Front.Page?format=png" title="Create an Event from the campaign Ticket: Beta developer program" alt="Create an Event from the campaign Ticket: Beta developer program"> <img src="http://img.erp5.cn/user-Howto.Prepare.Outgoing.Events.Event.Front.Page?format=png" title="Create an Event from the campaign Ticket: Beta developer program" alt="Create an Event from the campaign Ticket: Beta developer program">
...@@ -46,7 +45,8 @@ ...@@ -46,7 +45,8 @@
</details> </details>
<test> <test>
<table class="test" style="display: none;"> <table class="test" style="display: none;">
<tbody> <tr class="" style="opacity: 1;"> <tbody>
<tr class="" style="opacity: 1;">
<td colspan="3">&lt;span metal:use-macro="container/Zuite_viewTestMacroLibrary/macros/init_test_environment"&gt;init&lt;/span&gt;</td> <td colspan="3">&lt;span metal:use-macro="container/Zuite_viewTestMacroLibrary/macros/init_test_environment"&gt;init&lt;/span&gt;</td>
</tr> </tr>
<tr> <tr>
...@@ -115,11 +115,12 @@ ...@@ -115,11 +115,12 @@
</section><section class="screenshot"> </section><section class="screenshot">
<h1>Create a new Event</h1> <h1>Create a new Event</h1>
<img alt="The screenshot shows the first step to create Event is to choose the 'Create New Event' from the 'Action' item list" title="Create a new Event from the 'Action' item list" src="http://img.erp5.cn/user-Howto.Prepare.Outgoing.Events.Create.New.Event.Action.List?format=png"> <img alt="The screenshot shows the first step to create Event is to choose the 'Create New Event' from the 'Action' item list" title="Create a new Event from the 'Action' item list" src="http://img.erp5.cn/user-Howto.Prepare.Outgoing.Events.Create.New.Event.Action.List?format=png">
<details> <details open="open">
<p> <p>
In order to add an Event to a campaign Ticket, <strong>open the "Action" item list</strong> In order to add an Event to a campaign Ticket, <strong>open the "Action" item list</strong>
on top of the page and click on on top of the page and click on
<strong>“Create New Event”</strong> <strong>“Create New Event”</strong>
.
</p> </p>
</details> </details>
<test> <test>
...@@ -166,6 +167,11 @@ ...@@ -166,6 +167,11 @@
<td>//input[@name="field_your_title"]</td> <td>//input[@name="field_your_title"]</td>
<td>ZUITE-TEST-CREATE-EVENT-EVENT-001</td> <td>ZUITE-TEST-CREATE-EVENT-EVENT-001</td>
</tr> </tr>
<tr class="" style="opacity: 1; z-index: 0;">
<td>select</td>
<td>//select[@name="field_your_destination"]</td>
<td>functional_test_username</td>
</tr>
<tr> <tr>
<td>type</td> <td>type</td>
<td>//textarea[@name="field_your_text_content"]</td> <td>//textarea[@name="field_your_text_content"]</td>
...@@ -173,7 +179,7 @@ ...@@ -173,7 +179,7 @@
</tr> </tr>
<tr> <tr>
<td>click</td> <td>click</td>
<td>//input[@name="field_your_direction" and @value="outgoing"]</td> <td>//input[@name="field_your_event_workflow_action" and @value="plan"]</td>
<td></td> <td></td>
</tr> </tr>
<tr> <tr>
......
...@@ -96,6 +96,7 @@ ...@@ -96,6 +96,7 @@
<string>contributor/person_module/20121115-586BC0F</string> <string>contributor/person_module/20121115-586BC0F</string>
<string>contributor/person_module/510</string> <string>contributor/person_module/510</string>
<string>contributor/person_module/20130927-61A66CC</string> <string>contributor/person_module/20130927-61A66CC</string>
<string>contributor/person_module/20120402-3479F4E</string>
</tuple> </tuple>
</value> </value>
</item> </item>
...@@ -397,7 +398,7 @@ ...@@ -397,7 +398,7 @@
<value> <value>
<object> <object>
<klass> <klass>
<global name="DateTime" module="DateTime.DateTime"/> <global id="7.1" name="DateTime" module="DateTime.DateTime"/>
</klass> </klass>
<tuple> <tuple>
<none/> <none/>
...@@ -412,6 +413,96 @@ ...@@ -412,6 +413,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>ni.yan</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>952.45781.58961.36736</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="7.1"/> </klass>
<tuple>
<none/>
</tuple>
<state>
<tuple>
<float>1469115329.94</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>tristan</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>952.46183.38020.53566</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="7.1"/> </klass>
<tuple>
<none/>
</tuple>
<state>
<tuple>
<float>1469447411.47</float>
<string>UTC</string>
</tuple>
</state>
</object>
</value>
</item>
</dictionary>
</list> </list>
</tuple> </tuple>
</pickle> </pickle>
......
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