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
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
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
Boxiang Sun
erp5
Commits
dfc49a2e
Commit
dfc49a2e
authored
Apr 07, 2021
by
Boxiang Sun
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
erp5_user_tutorial: Update user-HowTo.Use.FullText.Search-TESTONLY
parent
1fa030f2
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
468 additions
and
387 deletions
+468
-387
bt5/erp5_user_tutorial/PathTemplateItem/test_page_module/user-HowTo.Use.FullText.Search-TESTONLY.html
..._page_module/user-HowTo.Use.FullText.Search-TESTONLY.html
+42
-61
bt5/erp5_user_tutorial/PathTemplateItem/test_page_module/user-HowTo.Use.FullText.Search-TESTONLY.xml
...t_page_module/user-HowTo.Use.FullText.Search-TESTONLY.xml
+426
-326
No files found.
bt5/erp5_user_tutorial/PathTemplateItem/test_page_module/user-HowTo.Use.FullText.Search-TESTONLY.html
View file @
dfc49a2e
...
...
@@ -28,84 +28,65 @@
<td
colspan=
"3"
>
<
span metal:use-macro=
"
container/Zuite_viewTestMacroLibrary/macros/login_as_functional_test_user
">
Login As Functional Test User
<
/span
>
</td>
</tr>
<!-- Search with empty string -->
<tr>
<td>
type
</td>
<td>
field_your_search_text
</td>
<td><
br
/><
/td>
<td>
click
</td>
<td>
//button[contains(@class, "search_button")]
</td>
<td></td>
</tr>
<tr>
<td>
clickAndWait
</td>
<td>
ERP5Site_viewQuickSearchResultList:method
</td>
<td><br
/></td>
<td
colspan=
"3"
>
<
tal:block metal:use-macro=
"
here/Zuite_CommonTemplateForRenderjsUi/macros/wait_for_content_loaded
">
<
/tal:block
>
</td>
</tr>
<tr>
<td>
verifyTextNotPresent
</td>
<td>
Search Results
</td>
<td><br
/></td>
</tr>
<tr>
<td>
verifyElementPresent
</td>
<td>
id=transition_message
</td>
<td><br
/></td>
</tr>
<!-- Search persons by full name -->
<tr>
<td>
openAndWait
</td>
<td>
${base_url}/view
</td>
<td><br
/></td>
<td>
waitForElementPresent
</td>
<td>
//input[@id="search"]
</td>
<td></td>
</tr>
<!-- Search persons by full name -->
<tr>
<td>
type
</td>
<td>
field_your_search_text
</td>
<td>
//input[@id="search"]
</td>
<td>
ZUITE_TEST_FULL_TEXT_PERSON_TITLE_001
</td>
</tr>
<tr>
<td>
click
AndWait
</td>
<td>
ERP5Site_viewQuickSearchResultList:method
</td>
<td><
br
/><
/td>
<td>
click
</td>
<td>
//input[@id="search"]/../following-sibling::button
</td>
<td></td>
</tr>
<tr>
<td>
verifyTextPresent
</td>
<td>
Search Results
</td>
<td><br
/></td>
<td
colspan=
"3"
>
<
tal:block metal:use-macro=
"
here/Zuite_CommonTemplateForRenderjsUi/macros/wait_for_listbox_loaded
"
/
>
</td>
</tr>
<tr>
<td>
verifyTextPresent
</td>
<td>
ZUITE_TEST_FULL_TEXT_PERSON_TITLE_001
</td>
<td>
<br
/></td>
<td>
waitForElementPresent
</td>
<td>
//a[contains(text(),
"
ZUITE_TEST_FULL_TEXT_PERSON_TITLE_001
"
)]
</td>
<td>
</td>
</tr>
<tr>
<td>
verifyTextPresent
</td>
<td>
ZUITE_TEST_FULL_TEXT_PERSON_REFERENCE_001
</td>
<td><br
/></td>
</tr>
<tr>
<td>
verifyTextPresent
</td>
<td>
Person
</td>
<td><
br
/><
/td>
<td>
waitForElementPresent
</td>
<td>
//a[contains(text(),
"
Person
"
)]
</td>
<td></td>
</tr>
<!-- Search Organisation -->
<tr>
<td>
type
</td>
<td>
field_your_search_text
</td>
<td>
//input[@id="search"]
</td>
<td>
ZUITE_TEST_FULL_TEXT_ORGANISATION_TITLE_001
</td>
</tr>
<tr>
<td>
click
AndWait
</td>
<td>
ERP5Site_viewQuickSearchResultList:method
</td>
<td>
click
</td>
<td>
//input[@id="search"]/../following-sibling::button
</td>
<td><br
/></td>
</tr>
<tr>
<td>
verifyTextPresent
</td>
<td>
Search Results
</td>
<td><br
/></td>
<td
colspan=
"3"
>
<
tal:block metal:use-macro=
"
here/Zuite_CommonTemplateForRenderjsUi/macros/wait_for_listbox_loaded
"
/
>
</td>
</tr>
<tr>
<td>
verifyTextPresent
</td>
<td>
ZUITE_TEST_FULL_TEXT_ORGANISATION_TITLE_001
</td>
<td>
<br
/></td>
<td>
waitForElementPresent
</td>
<td>
//a[contains(text(),
"
ZUITE_TEST_FULL_TEXT_ORGANISATION_TITLE_001
"
)]
</td>
<td>
</td>
</tr>
<tr>
<td>
verifyTextPresent
</td>
<td>
Organisation
</td>
<td><
br
/><
/td>
<td>
waitForElementPresent
</td>
<td>
//a[contains(text(),
"
Organisation
"
)]
</td>
<td></td>
</tr>
<tr
style=
"opacity: 1;"
>
<td
colspan=
"3"
>
<
span metal:use-macro=
"
container/Zuite_viewTestMacroLibrary/macros/login_as_manager
">
Login As Manager
<
/span
>
</td>
...
...
bt5/erp5_user_tutorial/PathTemplateItem/test_page_module/user-HowTo.Use.FullText.Search-TESTONLY.xml
View file @
dfc49a2e
...
...
@@ -77,7 +77,9 @@
</item>
<item>
<key>
<string>
content_md5
</string>
</key>
<value>
<string>
1df3c39ebaff1ac2b0f2d243489dd559
</string>
</value>
<value>
<none/>
</value>
</item>
<item>
<key>
<string>
content_type
</string>
</key>
...
...
@@ -264,11 +266,13 @@
</record>
<record
id=
"4"
aka=
"AAAAAAAAAAQ="
>
<pickle>
<global
name=
"WorkflowHistoryList"
module=
"Products.ERP5Type.
patches.WorkflowTool
"
/>
<global
name=
"WorkflowHistoryList"
module=
"Products.ERP5Type.
Workflow
"
/>
</pickle>
<pickle>
<tuple>
<none/>
<dictionary>
<item>
<key>
<string>
_log
</string>
</key>
<value>
<list>
<dictionary>
<item>
...
...
@@ -450,17 +454,111 @@
</value>
</item>
</dictionary>
</list>
<dictionary>
<item>
<key>
<string>
action
</string>
</key>
<value>
<string>
edit
</string>
</value>
</item>
<item>
<key>
<string>
actor
</string>
</key>
<value>
<string>
zope
</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>
990.17444.48467.46967
</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>
1617826789.07
</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>
zope
</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>
991.14883.53603.35840
</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>
1617827132.0
</float>
<string>
UTC
</string>
</tuple>
</state>
</object>
</value>
</item>
</dictionary>
</list>
</value>
</item>
</dictionary>
</pickle>
</record>
<record
id=
"5"
aka=
"AAAAAAAAAAU="
>
<pickle>
<global
name=
"WorkflowHistoryList"
module=
"Products.ERP5Type.
patches.WorkflowTool
"
/>
<global
name=
"WorkflowHistoryList"
module=
"Products.ERP5Type.
Workflow
"
/>
</pickle>
<pickle>
<tuple>
<none/>
<dictionary>
<item>
<key>
<string>
_log
</string>
</key>
<value>
<list>
<dictionary>
<item>
...
...
@@ -596,7 +694,9 @@
</item>
</dictionary>
</list>
</tuple>
</value>
</item>
</dictionary>
</pickle>
</record>
<record
id=
"6"
aka=
"AAAAAAAAAAY="
>
...
...
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