Commit 5d5a76ab authored by Xiaowu Zhang's avatar Xiaowu Zhang

erp5_officejs_eci_directory_test: update tests

parent 85b3622d
......@@ -42,7 +42,7 @@
</item>
<item>
<key> <string>id</string> </key>
<value> <string>testECIRenderjsListNavigation</string> </value>
<value> <string>testECIDirectory</string> </value>
</item>
<item>
<key> <string>output_encoding</string> </key>
......
......@@ -2,14 +2,15 @@
xmlns:metal="http://xml.zope.org/namespaces/metal">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Test List Navigation</title>
<title>Test ECI Basic Navigation</title>
</head>
<body>
<table cellpadding="1" cellspacing="1" border="1">
<thead>
<tr><td rowspan="1" colspan="3">Test List Navigation</td></tr>
<tr><td rowspan="1" colspan="3">Test ECI Basic Navigation</td></tr>
</thead><tbody>
<tal:block metal:use-macro="here/Zuite_CommonTemplate/macros/init"/>
<tal:block metal:use-macro="here/Zuite_CommonTemplate/macros/init" />
<!-- Initialize -->
<tr>
......@@ -18,119 +19,124 @@
<td></td>
</tr>
<!-- Basic Menu Navigation -->
<tr>
<td>waitForElementPresent</td>
<td>//button[@data-i18n='Menu']</td>
<td>waitForTextPresent</td>
<td>European Technology Directory</td>
<td></td>
</tr>
<tr>
<td>click</td>
<td>//button[@data-i18n='Menu']</td>
<td>waitForElementPresent</td>
<td>//h1[text()="Solutions"]</td>
<td></td>
</tr>
<tr>
<td>waitForElementPresent</td>
<td>//a[@data-i18n='Providers']</td>
<td>//a[@data-value='Application']</td>
<td></td>
</tr>
<tr>
<td>click</td>
<td>//a[@data-i18n='Providers']</td>
<td>verifyElementPresent</td>
<td>//h1[text()="Success cases"]</td>
<td></td>
</tr>
<tr>
<td>waitForElementPresent</td>
<td>//span[@data-i18n='Provider List']</td>
<td></td>
</tr>
<tal:block metal:use-macro="here/Zuite_CommonTemplateForRenderjsUi/macros/wait_for_listbox_loaded" />
<tr>
<td>assertElementPresent</td>
<td>//input[@id='search']</td>
<td>//a[@data-value='Education']</td>
<td></td>
</tr>
<tr>
<td>type</td>
<td>name=search</td>
<td>Nexedi</td>
</tr>
<tr>
<td>click</td>
<td>//button[@class='search_button ui-btn-icon-notext ui-icon-search']</td>
<td>verifyElementPresent</td>
<td>//h1[text()="Providers"]</td>
<td></td>
</tr>
<tr>
<td>waitForElementPresent</td>
<td>//span[text()='1 Records']</td>
<td>//a[@data-value='Austria']</td>
<td></td>
</tr>
<tr>
<td>click</td>
<td>//table/tbody/tr/td[1]/a</td>
<td>verifyElementPresent</td>
<td>//h1[text()="Similar solutions"]</td>
<td></td>
</tr>
<tr>
<td>waitForElementPresent</td>
<td>//div[@class='custom-software-profile-image-wrapper']</td>
<td>//a[@data-value='ABot']</td>
<td></td>
</tr>
<tr>
<td>waitForElementPresent</td>
<td>//button[@data-i18n='Menu']</td>
<td>//div[@class="map_container"]//div[@id='mapid']</td>
<td></td>
</tr>
<tr>
<td>click</td>
<td>//button[@data-i18n='Menu']</td>
<td>//a[@data-value='Application']</td>
<td></td>
</tr>
<tr>
<td>waitForElementPresent</td>
<td>//a[@data-i18n='Products']</td>
<td>//span[@data-i18n='Solution List']</td>
<td></td>
</tr>
<tal:block metal:use-macro="here/Zuite_CommonTemplateForRenderjsUi/macros/wait_for_listbox_loaded" />
<tr>
<tr>
<td>click</td>
<td>//a[@data-i18n='Products']</td>
<td>//button[@data-i18n='Menu']</td>
<td></td>
</tr>
<tr>
<td>waitForElementPresent</td>
<td>//span[@data-i18n='Product List']</td>
<td>//a[@data-i18n='Directory']</td>
<td></td>
</tr>
<tal:block metal:use-macro="here/Zuite_CommonTemplateForRenderjsUi/macros/wait_for_listbox_loaded" />
<tr>
<td>assertElementPresent</td>
<td>//input[@id='search']</td>
<td></td>
</tr>
<tr>
<td>type</td>
<td>name=search</td>
<td>ERP5</td>
</tr>
<tr>
<td>click</td>
<td>//button[@class='search_button ui-btn-icon-notext ui-icon-search']</td>
<td>//a[@data-i18n='Directory']</td>
<td></td>
</tr>
<tr>
<td>waitForElementPresent</td>
<td>//span[text()='1 Records']</td>
<td>//a[@data-value='Education']</td>
<td></td>
</tr>
<tr>
<td>click</td>
<td>//table/tbody/tr/td[1]/a</td>
<td>//a[@data-value='Education']</td>
<td></td>
</tr>
<tr>
<td>waitForElementPresent</td>
<td>//div[@class='custom-software-profile-image-wrapper']</td>
<td>//span[@data-i18n='Success case list']</td>
<td></td>
</tr>
<tal:block metal:use-macro="here/Zuite_CommonTemplateForRenderjsUi/macros/wait_for_listbox_loaded" />
<tr>
<tr>
<td>click</td>
<td>//button[@data-i18n='Menu']</td>
......@@ -138,75 +144,75 @@
</tr>
<tr>
<td>waitForElementPresent</td>
<td>//a[@data-i18n='Success Cases']</td>
<td>//a[@data-i18n='Directory']</td>
<td></td>
</tr>
<tr>
<td>click</td>
<td>//a[@data-i18n='Success Cases']</td>
<td>//a[@data-i18n='Directory']</td>
<td></td>
</tr>
<tr>
<td>waitForElementPresent</td>
<td>//span[@data-i18n='Success Story List']</td>
<td></td>
</tr>
<tal:block metal:use-macro="here/Zuite_CommonTemplateForRenderjsUi/macros/wait_for_listbox_loaded" />
<tr>
<td>assertElementPresent</td>
<td>//input[@id='search']</td>
<td>//a[@data-value='Austria']</td>
<td></td>
</tr>
<tr>
<td>type</td>
<td>name=search</td>
<td>Airbus</td>
</tr>
<tr>
<td>click</td>
<td>//button[@class='search_button ui-btn-icon-notext ui-icon-search']</td>
<td>//a[@data-value='Austria']</td>
<td></td>
</tr>
<tr>
<td>waitForElementPresent</td>
<td>//span[text()='2 Records']</td>
<td>//span[@data-i18n='Provider List']</td>
<td></td>
</tr>
<tal:block metal:use-macro="here/Zuite_CommonTemplateForRenderjsUi/macros/wait_for_listbox_loaded" />
<tr>
<tr>
<td>click</td>
<td>//table/tbody/tr/td[1]/a</td>
<td>//button[@data-i18n='Menu']</td>
<td></td>
</tr>
<tr>
<td>waitForElementPresent</td>
<td>//p[contains(@class, 'custom-success-story-description')]</td>
<td>//a[@data-i18n='Directory']</td>
<td></td>
</tr>
<tr>
<td>click</td>
<td>//button[@data-i18n='Menu']</td>
<td>//a[@data-i18n='Directory']</td>
<td></td>
</tr>
<tr>
<td>waitForElementPresent</td>
<td>//a[@data-i18n='Financial Data']</td>
<td>//a[@data-value='ABot']</td>
<td></td>
</tr>
<tr>
<td>click</td>
<td>//a[contains(@class, 'ui-icon-euro')]</td>
<td>//a[@data-value='ABot']</td>
<td></td>
</tr>
<tr>
<td>waitForElementPresent</td>
<td>//div[contains(@class, 'dygraph-title')]</td>
<td>//span[@data-i18n='Solution List']</td>
<td></td>
</tr>
<tal:block metal:use-macro="here/Zuite_CommonTemplateForRenderjsUi/macros/wait_for_listbox_loaded" />
<tr>
<td>assertTextPresent</td>
<td>Aggregate Financial Performance</td>
<td></td>
</tr>
</tbody></table>
</body>
......
......@@ -42,7 +42,7 @@
</item>
<item>
<key> <string>id</string> </key>
<value> <string>testECIRenderjsBasicNavigation</string> </value>
<value> <string>testECIFinancialData</string> </value>
</item>
<item>
<key> <string>output_encoding</string> </key>
......
<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 ECI Basic Navigation</title>
</head>
<body>
<table cellpadding="1" cellspacing="1" border="1">
<thead>
<tr><td rowspan="1" colspan="3">Test ECI Basic Navigation</td></tr>
</thead><tbody>
<tal:block metal:use-macro="here/Zuite_CommonTemplate/macros/init" />
<!-- Initialize -->
<tr>
<td>open</td>
<td>${base_url}/web_site_module/european_cloud_industry/</td>
<td></td>
</tr>
<tr>
<td>waitForTextPresent</td>
<td>European Technology Directory</td>
<td></td>
</tr>
<tr>
<td>click</td>
<td>//button[@data-i18n='Menu']</td>
<td></td>
</tr>
<tr>
<td>waitForElementPresent</td>
<td>//a[@data-i18n='Financial Data']</td>
<td></td>
</tr>
<tr>
<td>click</td>
<td>//a[@data-i18n='Financial Data']</td>
<td></td>
</tr>
<tr>
<td>waitForElementPresent</td>
<td>//span[@data-i18n='Financial Data']</td>
<td></td>
</tr>
<tal:block metal:use-macro="here/Zuite_CommonTemplateForRenderjsUi/macros/wait_for_listbox_loaded" />
<tr>
<tr>
<td>verifyElementPresent</td>
<td>//tbody//tr[1]//div[@class="editable_div"]//div[contains(@data-gadget-url, "gadget_erp5_eci_financial_widget.html")]</td>
<td></td>
</tr>
<tr>
<td>verifyElementPresent</td>
<td>//div[contains(@data-gadget-url, "gadget_erp5_eci_dygraph.html")]</td>
<td></td>
</tr>
</tbody></table>
</body>
</html>
\ No newline at end of file
<?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>testECIProvider</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>
......@@ -19,12 +19,13 @@
<td></td>
</tr>
<!-- Basic Menu Navigation -->
<tr>
<td>waitForElementPresent</td>
<td>//button[@data-i18n='Menu']</td>
<td>waitForTextPresent</td>
<td>European Technology Directory</td>
<td></td>
</tr>
<tr>
<td>click</td>
<td>//button[@data-i18n='Menu']</td>
......@@ -40,6 +41,7 @@
<td>//a[@data-i18n='Providers']</td>
<td></td>
</tr>
<tr>
<td>waitForElementPresent</td>
<td>//span[@data-i18n='Provider List']</td>
......@@ -47,69 +49,79 @@
</tr>
<tal:block metal:use-macro="here/Zuite_CommonTemplateForRenderjsUi/macros/wait_for_listbox_loaded" />
<tr>
<td>click</td>
<td>//button[@data-i18n='Menu']</td>
<tr>
<td>verifyElementPresent</td>
<td>//tbody//tr[1]//div[@class="editable_div"]//div[contains(@data-gadget-url, "gadget_erp5_eci_provider_widget.html")]</td>
<td></td>
</tr>
<tr>
<td>waitForElementPresent</td>
<td>//a[@data-i18n='Products']</td>
<td>//tbody//tr[1]//div[@class="editable_div"]//div[contains(@data-gadget-url, "gadget_erp5_eci_provider_widget.html")]//a[@class="provider-url"]</td>
<td></td>
</tr>
<tr>
<td>click</td>
<td>//a[@data-i18n='Products']</td>
<td>//tbody//tr[1]//div[@class="editable_div"]//div[contains(@data-gadget-url, "gadget_erp5_eci_provider_widget.html")]//a[@class="provider-url"]</td>
<td></td>
</tr>
<tr>
<td>waitForElementPresent</td>
<td>//span[@data-i18n='Product List']</td>
<td>//ul[@class="provider-profile"]</td>
<td></td>
</tr>
<tal:block metal:use-macro="here/Zuite_CommonTemplateForRenderjsUi/macros/wait_for_listbox_loaded" />
<tr>
<td>click</td>
<td>//button[@data-i18n='Menu']</td>
<td>//div[@class="ui-header"]//a[contains(@href, 'history_previous')]</td>
<td></td>
</tr>
<tr>
<td>waitForElementPresent</td>
<td>//a[@data-i18n='Success Cases']</td>
<td>//span[@data-i18n='Provider List']</td>
<td></td>
</tr>
<tal:block metal:use-macro="here/Zuite_CommonTemplateForRenderjsUi/macros/wait_for_listbox_loaded" />
<tr>
<td>click</td>
<td>//a[@data-i18n='Success Cases']</td>
<tr>
<td>verifyElementPresent</td>
<td>//tbody//tr[1]//div[@class="editable_div"]//div[contains(@data-gadget-url, "gadget_erp5_eci_provider_widget.html")]</td>
<td></td>
</tr>
<tr>
<td>waitForElementPresent</td>
<td>//span[@data-i18n='Success Story List']</td>
<td>//tbody//tr[1]//div[@class="editable_div"]//div[contains(@data-gadget-url, "gadget_erp5_eci_provider_widget.html")]//a[@class="provider-url"]</td>
<td></td>
</tr>
<tal:block metal:use-macro="here/Zuite_CommonTemplateForRenderjsUi/macros/wait_for_listbox_loaded" />
<tr>
<td>click</td>
<td>//button[@data-i18n='Menu']</td>
<td>//tbody//tr[1]//div[@class="editable_div"]//div[contains(@data-gadget-url, "gadget_erp5_eci_provider_widget.html")]//a[@class="provider-url"]</td>
<td></td>
</tr>
<tr>
<td>waitForElementPresent</td>
<td>//a[@data-i18n='Directory']</td>
<td>//ul[@class="provider-profile"]</td>
<td></td>
</tr>
<tr>
<td>click</td>
<td>//a[@data-i18n='Directory']</td>
<td></td>
</tr>
<tr>
<td>waitForElementPresent</td>
<td>//span[@data-i18n='European Cloud Technology Directory']</td>
<td>//div[@class="ui-header"]//a[contains(@href, 'selection_next')]</td>
<td></td>
</tr>
</tbody></table>
</body>
</html>
\ No newline at end of file
<?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>testECIReference</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 ECI Basic Navigation</title>
</head>
<body>
<table cellpadding="1" cellspacing="1" border="1">
<thead>
<tr><td rowspan="1" colspan="3">Test ECI Basic Navigation</td></tr>
</thead><tbody>
<tal:block metal:use-macro="here/Zuite_CommonTemplate/macros/init" />
<!-- Initialize -->
<tr>
<td>open</td>
<td>${base_url}/web_site_module/european_cloud_industry/</td>
<td></td>
</tr>
<tr>
<td>waitForTextPresent</td>
<td>European Technology Directory</td>
<td></td>
</tr>
<tr>
<td>click</td>
<td>//button[@data-i18n='Menu']</td>
<td></td>
</tr>
<tr>
<td>waitForElementPresent</td>
<td>//a[@data-i18n='References']</td>
<td></td>
</tr>
<tr>
<td>click</td>
<td>//a[@data-i18n='References']</td>
<td></td>
</tr>
<tr>
<td>waitForElementPresent</td>
<td>//span[@data-i18n='Reference list']</td>
<td></td>
</tr>
<tal:block metal:use-macro="here/Zuite_CommonTemplateForRenderjsUi/macros/wait_for_listbox_loaded" />
<tr>
<tr>
<td>verifyElementPresent</td>
<td>//tbody//tr[1]//div[@class="editable_div"]//div[contains(@data-gadget-url, "gadget_erp5_eci_reference_widget.html")]</td>
<td></td>
</tr>
<tr>
<td>verifyElementPresent</td>
<td>//div[@class="reference_similar_solution"]</td>
<td></td>
</tr>
</tbody></table>
</body>
</html>
\ No newline at end of file
<?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>testECISolution</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 ECI Basic Navigation</title>
</head>
<body>
<table cellpadding="1" cellspacing="1" border="1">
<thead>
<tr><td rowspan="1" colspan="3">Test ECI Basic Navigation</td></tr>
</thead><tbody>
<tal:block metal:use-macro="here/Zuite_CommonTemplate/macros/init" />
<!-- Initialize -->
<tr>
<td>open</td>
<td>${base_url}/web_site_module/european_cloud_industry/</td>
<td></td>
</tr>
<tr>
<td>waitForTextPresent</td>
<td>European Technology Directory</td>
<td></td>
</tr>
<tr>
<td>click</td>
<td>//button[@data-i18n='Menu']</td>
<td></td>
</tr>
<tr>
<td>waitForElementPresent</td>
<td>//a[@data-i18n='Solutions']</td>
<td></td>
</tr>
<tr>
<td>click</td>
<td>//a[@data-i18n='Solutions']</td>
<td></td>
</tr>
<tr>
<td>waitForElementPresent</td>
<td>//span[@data-i18n='Solution List']</td>
<td></td>
</tr>
<tal:block metal:use-macro="here/Zuite_CommonTemplateForRenderjsUi/macros/wait_for_listbox_loaded" />
<tr>
<tr>
<td>verifyElementPresent</td>
<td>//tbody//tr[1]//div[@class="editable_div"]//div[contains(@data-gadget-url, "gadget_erp5_eci_solution_widget.html")]</td>
<td></td>
</tr>
<tr>
<td>waitForElementPresent</td>
<td>//tbody//tr[1]//div[@class="editable_div"]//div[contains(@data-gadget-url, "gadget_erp5_eci_solution_widget.html")]//a[@class="full_profile"]</td>
<td></td>
</tr>
<tr>
<td>click</td>
<td>//tbody//tr[1]//div[@class="editable_div"]//div[contains(@data-gadget-url, "gadget_erp5_eci_solution_widget.html")]//a[@class="full_profile"]</td>
<td></td>
</tr>
<tr>
<td>waitForElementPresent</td>
<td>//div[contains(@data-gadget-url, "gadget_erp5_page_eci_solution.html")]</td>
<td></td>
</tr>
<tr>
<td>click</td>
<td>//div[@class="ui-header"]//a[contains(@href, 'history_previous')]</td>
<td></td>
</tr>
<tr>
<td>waitForElementPresent</td>
<td>//span[@data-i18n='Solution List']</td>
<td></td>
</tr>
<tal:block metal:use-macro="here/Zuite_CommonTemplateForRenderjsUi/macros/wait_for_listbox_loaded" />
<tr>
<tr>
<td>verifyElementPresent</td>
<td>//tbody//tr[1]//div[@class="editable_div"]//div[contains(@data-gadget-url, "gadget_erp5_eci_solution_widget.html")]</td>
<td></td>
</tr>
<tr>
<td>waitForElementPresent</td>
<td>//tbody//tr[1]//div[@class="editable_div"]//div[contains(@data-gadget-url, "gadget_erp5_eci_solution_widget.html")]//a[@class="full_profile"]</td>
<td></td>
</tr>
<tr>
<td>click</td>
<td>//tbody//tr[1]//div[@class="editable_div"]//div[contains(@data-gadget-url, "gadget_erp5_eci_solution_widget.html")]//a[@class="full_profile"]</td>
<td></td>
</tr>
<tr>
<td>waitForElementPresent</td>
<td>//div[contains(@data-gadget-url, "gadget_erp5_page_eci_solution.html")]</td>
<td></td>
</tr>
<tr>
<td>click</td>
<td>//div[@class="ui-header"]//a[contains(@href, 'selection_next')]</td>
<td></td>
</tr>
</tbody></table>
</body>
</html>
\ No newline at end of file
<?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>testECISuccessCase</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 ECI Basic Navigation</title>
</head>
<body>
<table cellpadding="1" cellspacing="1" border="1">
<thead>
<tr><td rowspan="1" colspan="3">Test ECI Basic Navigation</td></tr>
</thead><tbody>
<tal:block metal:use-macro="here/Zuite_CommonTemplate/macros/init" />
<!-- Initialize -->
<tr>
<td>open</td>
<td>${base_url}/web_site_module/european_cloud_industry/</td>
<td></td>
</tr>
<tr>
<td>waitForTextPresent</td>
<td>European Technology Directory</td>
<td></td>
</tr>
<tr>
<td>click</td>
<td>//button[@data-i18n='Menu']</td>
<td></td>
</tr>
<tr>
<td>waitForElementPresent</td>
<td>//a[@data-i18n='Success Cases']</td>
<td></td>
</tr>
<tr>
<td>click</td>
<td>//a[@data-i18n='Success Cases']</td>
<td></td>
</tr>
<tr>
<td>waitForElementPresent</td>
<td>//span[@data-i18n='Success case list']</td>
<td></td>
</tr>
<tal:block metal:use-macro="here/Zuite_CommonTemplateForRenderjsUi/macros/wait_for_listbox_loaded" />
<tr>
<tr>
<td>verifyElementPresent</td>
<td>//tbody//tr[1]//div[@class="editable_div"]//div[contains(@data-gadget-url, "gadget_erp5_eci_success_case_widget.html")]</td>
<td></td>
</tr>
<tr>
<td>verifyElementPresent</td>
<td>//div[@class="success_case_similar_solution"]</td>
<td></td>
</tr>
</tbody></table>
</body>
</html>
\ 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