Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
erp5
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Labels
Merge Requests
139
Merge Requests
139
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Jobs
Commits
Open sidebar
nexedi
erp5
Commits
5d5a76ab
Commit
5d5a76ab
authored
Sep 13, 2022
by
Xiaowu Zhang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
erp5_officejs_eci_directory_test: update tests
parent
85b3622d
Changes
12
Hide whitespace changes
Inline
Side-by-side
Showing
12 changed files
with
690 additions
and
100 deletions
+690
-100
bt5/erp5_officejs_eci_directory_test/PathTemplateItem/portal_tests/eci_ui_zuite/testECIDirectory.xml
...mplateItem/portal_tests/eci_ui_zuite/testECIDirectory.xml
+1
-1
bt5/erp5_officejs_eci_directory_test/PathTemplateItem/portal_tests/eci_ui_zuite/testECIDirectory.zpt
...mplateItem/portal_tests/eci_ui_zuite/testECIDirectory.zpt
+81
-75
bt5/erp5_officejs_eci_directory_test/PathTemplateItem/portal_tests/eci_ui_zuite/testECIFinancialData.xml
...teItem/portal_tests/eci_ui_zuite/testECIFinancialData.xml
+1
-1
bt5/erp5_officejs_eci_directory_test/PathTemplateItem/portal_tests/eci_ui_zuite/testECIFinancialData.zpt
...teItem/portal_tests/eci_ui_zuite/testECIFinancialData.zpt
+72
-0
bt5/erp5_officejs_eci_directory_test/PathTemplateItem/portal_tests/eci_ui_zuite/testECIProvider.xml
...emplateItem/portal_tests/eci_ui_zuite/testECIProvider.xml
+58
-0
bt5/erp5_officejs_eci_directory_test/PathTemplateItem/portal_tests/eci_ui_zuite/testECIProvider.zpt
...emplateItem/portal_tests/eci_ui_zuite/testECIProvider.zpt
+35
-23
bt5/erp5_officejs_eci_directory_test/PathTemplateItem/portal_tests/eci_ui_zuite/testECIReference.xml
...mplateItem/portal_tests/eci_ui_zuite/testECIReference.xml
+58
-0
bt5/erp5_officejs_eci_directory_test/PathTemplateItem/portal_tests/eci_ui_zuite/testECIReference.zpt
...mplateItem/portal_tests/eci_ui_zuite/testECIReference.zpt
+71
-0
bt5/erp5_officejs_eci_directory_test/PathTemplateItem/portal_tests/eci_ui_zuite/testECISolution.xml
...emplateItem/portal_tests/eci_ui_zuite/testECISolution.xml
+58
-0
bt5/erp5_officejs_eci_directory_test/PathTemplateItem/portal_tests/eci_ui_zuite/testECISolution.zpt
...emplateItem/portal_tests/eci_ui_zuite/testECISolution.zpt
+126
-0
bt5/erp5_officejs_eci_directory_test/PathTemplateItem/portal_tests/eci_ui_zuite/testECISuccessCase.xml
...lateItem/portal_tests/eci_ui_zuite/testECISuccessCase.xml
+58
-0
bt5/erp5_officejs_eci_directory_test/PathTemplateItem/portal_tests/eci_ui_zuite/testECISuccessCase.zpt
...lateItem/portal_tests/eci_ui_zuite/testECISuccessCase.zpt
+71
-0
No files found.
bt5/erp5_officejs_eci_directory_test/PathTemplateItem/portal_tests/eci_ui_zuite/testECI
RenderjsListNavigation
.xml
→
bt5/erp5_officejs_eci_directory_test/PathTemplateItem/portal_tests/eci_ui_zuite/testECI
Directory
.xml
View file @
5d5a76ab
...
...
@@ -42,7 +42,7 @@
</item>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
testECI
RenderjsListNavigation
</string>
</value>
<value>
<string>
testECI
Directory
</string>
</value>
</item>
<item>
<key>
<string>
output_encoding
</string>
</key>
...
...
bt5/erp5_officejs_eci_directory_test/PathTemplateItem/portal_tests/eci_ui_zuite/testECI
RenderjsListNavigation
.zpt
→
bt5/erp5_officejs_eci_directory_test/PathTemplateItem/portal_tests/eci_ui_zuite/testECI
Directory
.zpt
View file @
5d5a76ab
...
...
@@ -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>
waitFor
Elemen
tPresent
</td>
<td>
//button[@data-i18n='Menu']
</td>
<td>
waitFor
Tex
tPresent
</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>
...
...
bt5/erp5_officejs_eci_directory_test/PathTemplateItem/portal_tests/eci_ui_zuite/testECI
RenderjsBasicNavigation
.xml
→
bt5/erp5_officejs_eci_directory_test/PathTemplateItem/portal_tests/eci_ui_zuite/testECI
FinancialData
.xml
View file @
5d5a76ab
...
...
@@ -42,7 +42,7 @@
</item>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
testECI
RenderjsBasicNavigation
</string>
</value>
<value>
<string>
testECI
FinancialData
</string>
</value>
</item>
<item>
<key>
<string>
output_encoding
</string>
</key>
...
...
bt5/erp5_officejs_eci_directory_test/PathTemplateItem/portal_tests/eci_ui_zuite/testECIFinancialData.zpt
0 → 100644
View file @
5d5a76ab
<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
bt5/erp5_officejs_eci_directory_test/PathTemplateItem/portal_tests/eci_ui_zuite/testECIProvider.xml
0 → 100644
View file @
5d5a76ab
<?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>
bt5/erp5_officejs_eci_directory_test/PathTemplateItem/portal_tests/eci_ui_zuite/testECI
RenderjsBasicNavigation
.zpt
→
bt5/erp5_officejs_eci_directory_test/PathTemplateItem/portal_tests/eci_ui_zuite/testECI
Provider
.zpt
View file @
5d5a76ab
...
...
@@ -19,12 +19,13 @@
<td></td>
</tr>
<!-- Basic Menu Navigation -->
<tr>
<td>
waitFor
Elemen
tPresent
</td>
<td>
//button[@data-i18n='Menu']
</td>
<td>
waitFor
Tex
tPresent
</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
bt5/erp5_officejs_eci_directory_test/PathTemplateItem/portal_tests/eci_ui_zuite/testECIReference.xml
0 → 100644
View file @
5d5a76ab
<?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>
bt5/erp5_officejs_eci_directory_test/PathTemplateItem/portal_tests/eci_ui_zuite/testECIReference.zpt
0 → 100644
View file @
5d5a76ab
<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
bt5/erp5_officejs_eci_directory_test/PathTemplateItem/portal_tests/eci_ui_zuite/testECISolution.xml
0 → 100644
View file @
5d5a76ab
<?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>
bt5/erp5_officejs_eci_directory_test/PathTemplateItem/portal_tests/eci_ui_zuite/testECISolution.zpt
0 → 100644
View file @
5d5a76ab
<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
bt5/erp5_officejs_eci_directory_test/PathTemplateItem/portal_tests/eci_ui_zuite/testECISuccessCase.xml
0 → 100644
View file @
5d5a76ab
<?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>
bt5/erp5_officejs_eci_directory_test/PathTemplateItem/portal_tests/eci_ui_zuite/testECISuccessCase.zpt
0 → 100644
View file @
5d5a76ab
<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
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment