Commit 1db5226c authored by Alexandra's avatar Alexandra Committed by Alain Takoudjou

Mynij Search UI Test: Test are now truly independent

parent 9939e89c
<?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>testCommon</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>
<html xmlns:tal="http://xml.zope.org/namespaces/tal"
xmlns:metal="http://xml.zope.org/namespaces/metal">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Test Mynij - Build RSS Index</title>
</head>
<body>
<table cellpadding="1" cellspacing="1" border="1">
<thead>
<tr><td rowspan="1" colspan="3">My Module Zuite</td></tr>
</thead><tbody>
<tal:block metal:use-macro="here/Zuite_CommonTemplate/macros/init" />
<tal:block tal:define="web_site_name python: 'mynij_search'">
<tal:block metal:use-macro="here/Zuite_CommonTemplateForOfficejsUi/macros/install_offline_and_redirect" />
</tal:block>
<tal:block metal:define-macro="init_search">
<tr>
<td colspan="3"><b>Init Mynij Search</b></td>
</tr>
<tr>
<td>open</td>
<td>https://softinst132402.host.vifib.net/erp5/web_site_module/mynij_search/app#/?page=ojs_local_controller&editable=true</td>
<td></td>
</tr>
<tr>
<td>waitForElementPresent</td>
<td>//a[@data-i18n="Add"]</td>
<td></td>
</tr>
<tr>
<td>click</td>
<td>//a[@data-i18n="Add"]</td>
<td> </td>
</tr>
<tr>
<td>waitForElementPresent</td>
<td>//input[@id="title"]</td>
<td></td>
</tr>
<tr>
<td>type</td>
<td>//input[@id="title"]</td>
<td>Test RSS index</td>
</tr>
<tr>
<td>type</td>
<td>//textarea[@id="links"]</td>
<td>https://softinst115787.host.vifib.net/public/test_rss.rss</td>
</tr>
<tr>
<td>click</td>
<td>//button[@data-i18n="Save"]</td>
<td></td>
</tr>
<tr>
<td>waitForElementPresent</td>
<td>//button[@class="success"]</td>
<td></td>
</tr>
</tal:block>
</tbody></table>
</body></html>
\ No newline at end of file
......@@ -10,46 +10,12 @@
<tr><td rowspan="1" colspan="3">My Module Zuite</td></tr>
</thead><tbody>
<tal:block metal:use-macro="here/Zuite_CommonTemplate/macros/init" />
<tr>
<td>open</td>
<td>https://softinst132402.host.vifib.net/erp5/web_site_module/mynij_search/app#/?page=ojs_local_controller&editable=true</td>
<td></td>
</tr>
<tr>
<td>waitForElementPresent</td>
<td>//a[@data-i18n="Add"]</td>
<td></td>
</tr>
<tr>
<td>click</td>
<td>//a[@data-i18n="Add"]</td>
<td> </td>
</tr>
<tr>
<td>waitForElementPresent</td>
<td>//input[@id="title"]</td>
<td></td>
</tr>
<tr>
<td>type</td>
<td>//input[@id="title"]</td>
<td>Test RSS index</td>
</tr>
<tr>
<td>type</td>
<td>//textarea[@id="links"]</td>
<td>https://softinst115787.host.vifib.net/public/test_rss.rss</td>
</tr>
<tr>
<td>click</td>
<td>//button[@data-i18n="Save"]</td>
<td></td>
</tr>
<tr>
<td>waitForElementPresent</td>
<td>//button[@class="success"]</td>
<td></td>
</tr>
<tal:block tal:define="web_site_name python: 'mynij_search'">
<tal:block metal:use-macro="here/Zuite_CommonTemplateForOfficejsUi/macros/install_offline_and_redirect" />
</tal:block>
<tal:block tal:define="web_site_name python: 'mynij_search'">
<tal:block metal:use-macro="here/testCommon/macros/init_search"/>
</tal:block>
<tr>
<td>click</td>
<td>//a[@data-i18n="Actions"]</td>
......
......@@ -10,11 +10,12 @@
<tr><td rowspan="1" colspan="3">My Module Zuite</td></tr>
</thead><tbody>
<tal:block metal:use-macro="here/Zuite_CommonTemplate/macros/init" />
<tr>
<td>open</td>
<td>https://softinst132402.host.vifib.net/erp5/web_site_module/mynij_search/app#/?page=ojs_local_controller&editable=true</td>
<td></td>
</tr>
<tal:block tal:define="web_site_name python: 'mynij_search'">
<tal:block metal:use-macro="here/Zuite_CommonTemplateForOfficejsUi/macros/install_offline_and_redirect" />
</tal:block>
<tal:block tal:define="web_site_name python: 'mynij_search'">
<tal:block metal:use-macro="here/testCommon/macros/init_search"/>
</tal:block>
<tr>
<td>waitForElementPresent</td>
<td>//a[@data-i18n="Home"]</td>
......@@ -27,7 +28,7 @@
</tr>
<tr>
<td>waitForElementPresent</td>
<td>//select[@id="select_index"]/option[@value="Test index"]</td>
<td>//select[@id="select_index"]/option[@value="Test RSS index"]</td>
<td></td>
</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