Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
M
mynij
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
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
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Mynij
mynij
Commits
3adb2624
Commit
3adb2624
authored
Aug 17, 2020
by
Alexandra
Committed by
Alain Takoudjou
Apr 12, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Mynij Search UI Test: UI tests for building and searching an RSS-based index
parent
b12b5614
Changes
9
Hide whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
300 additions
and
0 deletions
+300
-0
bt5/Mynij Search UI Test/PathTemplateItem/portal_tests/officejs_ui_mynij_search_zuite.xml
...plateItem/portal_tests/officejs_ui_mynij_search_zuite.xml
+26
-0
bt5/Mynij Search UI Test/PathTemplateItem/portal_tests/officejs_ui_mynij_search_zuite/testMynijBuildRSSIndex.xml
...officejs_ui_mynij_search_zuite/testMynijBuildRSSIndex.xml
+58
-0
bt5/Mynij Search UI Test/PathTemplateItem/portal_tests/officejs_ui_mynij_search_zuite/testMynijBuildRSSIndex.zpt
...officejs_ui_mynij_search_zuite/testMynijBuildRSSIndex.zpt
+89
-0
bt5/Mynij Search UI Test/PathTemplateItem/portal_tests/officejs_ui_mynij_search_zuite/testMynijSearchRSSIndex.xml
...fficejs_ui_mynij_search_zuite/testMynijSearchRSSIndex.xml
+58
-0
bt5/Mynij Search UI Test/PathTemplateItem/portal_tests/officejs_ui_mynij_search_zuite/testMynijSearchRSSIndex.zpt
...fficejs_ui_mynij_search_zuite/testMynijSearchRSSIndex.zpt
+64
-0
bt5/Mynij Search UI Test/bt/dependency_list
bt5/Mynij Search UI Test/bt/dependency_list
+1
-0
bt5/Mynij Search UI Test/bt/template_format_version
bt5/Mynij Search UI Test/bt/template_format_version
+1
-0
bt5/Mynij Search UI Test/bt/template_path_list
bt5/Mynij Search UI Test/bt/template_path_list
+2
-0
bt5/Mynij Search UI Test/bt/title
bt5/Mynij Search UI Test/bt/title
+1
-0
No files found.
bt5/Mynij Search UI Test/PathTemplateItem/portal_tests/officejs_ui_mynij_search_zuite.xml
0 → 100644
View file @
3adb2624
<?xml version="1.0"?>
<ZopeData>
<record
id=
"1"
aka=
"AAAAAAAAAAE="
>
<pickle>
<global
name=
"Zuite"
module=
"Products.Zelenium.zuite"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
_objects
</string>
</key>
<value>
<tuple/>
</value>
</item>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
officejs_ui_mynij_search_zuite
</string>
</value>
</item>
<item>
<key>
<string>
title
</string>
</key>
<value>
<string>
officejs_ui_mynij_search
</string>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
bt5/Mynij Search UI Test/PathTemplateItem/portal_tests/officejs_ui_mynij_search_zuite/testMynijBuildRSSIndex.xml
0 → 100644
View file @
3adb2624
<?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>
testMynijBuildRSSIndex
</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/Mynij Search UI Test/PathTemplateItem/portal_tests/officejs_ui_mynij_search_zuite/testMynijBuildRSSIndex.zpt
0 → 100644
View file @
3adb2624
<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"
/>
<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>
<tr>
<td>
click
</td>
<td>
//a[@data-i18n="Actions"]
</td>
<td></td>
</tr>
<tr>
<td>
waitForElementPresent
</td>
<td>
//a[@data-i18n="Build Index"]
</td>
<td></td>
</tr>
<tr>
<td>
click
</td>
<td>
//a[@data-i18n="Build Index"]
</td>
<td></td>
</tr>
<tr>
<td>
waitForElementPresent
</td>
<td>
//input[@name="action_confirm"]
</td>
<td></td>
</tr>
<tr>
<td>
click
</td>
<td>
//input[@name="action_confirm"]
</td>
<td></td>
</tr>
<tr>
<td>
waitForElementPresent
</td>
<td>
//div[@data-gadget-scope="notification" and @class="visible"]
</td>
<td></td>
</tr>
<tr>
<td>
assertTextPresent
</td>
<td>
Index built : 37 item(s) added.
</td>
<td></td>
</tr>
</tbody></table>
</body></html>
\ No newline at end of file
bt5/Mynij Search UI Test/PathTemplateItem/portal_tests/officejs_ui_mynij_search_zuite/testMynijSearchRSSIndex.xml
0 → 100644
View file @
3adb2624
<?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>
testMynijSearchRSSIndex
</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/Mynij Search UI Test/PathTemplateItem/portal_tests/officejs_ui_mynij_search_zuite/testMynijSearchRSSIndex.zpt
0 → 100644
View file @
3adb2624
<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"
/>
<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="Home"]
</td>
<td></td>
</tr>
<tr>
<td>
click
</td>
<td>
//a[@data-i18n="Home"]
</td>
<td>
</td>
</tr>
<tr>
<td>
waitForElementPresent
</td>
<td>
//select[@id="select_index"]/option[@value="Test index"]
</td>
<td></td>
</tr>
<tr>
<td>
select
</td>
<td>
//select[@id="select_index"]
</td>
<td>
value=Test RSS index
</td>
</tr>
<tr>
<td>
waitForElementPresent
</td>
<td>
//form[@id="search_bar"]/input
</td>
<td></td>
</tr>
<tr>
<td>
type
</td>
<td>
//form[@id="search_bar"]/input
</td>
<td>
Election
</td>
</tr>
<tr>
<td>
fireEvent
</td>
<td>
//div[@role="main"]/*[1]
</td>
<td>
submit
</td>
</tr>
<tr>
<td>
waitForElementPresent
</td>
<td>
//div[@id="mynij"]/ul/li[1]
</td>
<td></td>
</tr>
<tr>
<td>
assertTextPresent
</td>
<td>
US politics: virtual Democratic convention to start amid coronavirus crisis – live updates
</td>
<td></td>
</tr>
</tbody></table>
</body></html>
\ No newline at end of file
bt5/Mynij Search UI Test/bt/dependency_list
0 → 100644
View file @
3adb2624
erp5_ui_test
\ No newline at end of file
bt5/Mynij Search UI Test/bt/template_format_version
0 → 100644
View file @
3adb2624
1
\ No newline at end of file
bt5/Mynij Search UI Test/bt/template_path_list
0 → 100644
View file @
3adb2624
portal_tests/officejs_ui_mynij_search_zuite
portal_tests/officejs_ui_mynij_search_zuite/**
\ No newline at end of file
bt5/Mynij Search UI Test/bt/title
0 → 100644
View file @
3adb2624
Mynij Search UI Test
\ 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