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
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
alecs_myu
erp5
Commits
8a567725
Commit
8a567725
authored
Jan 11, 2018
by
Xiaowu Zhang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
erp5_web_renderjs_ui: no confirmation when form content is saved
/reviewed-on
nexedi/erp5!550
parent
4c9f95f7
Changes
15
Hide whitespace changes
Inline
Side-by-side
Showing
15 changed files
with
210 additions
and
110 deletions
+210
-110
bt5/erp5_web_renderjs_ui/PathTemplateItem/web_page_module/rjs_gadget_erp5_router_js.js
...TemplateItem/web_page_module/rjs_gadget_erp5_router_js.js
+1
-1
bt5/erp5_web_renderjs_ui/PathTemplateItem/web_page_module/rjs_gadget_erp5_router_js.xml
...emplateItem/web_page_module/rjs_gadget_erp5_router_js.xml
+2
-2
bt5/erp5_web_renderjs_ui_test/PathTemplateItem/portal_tests/renderjs_ui_notification_zuite/testNoConfirmationWhenFormContentSaved.xml
...fication_zuite/testNoConfirmationWhenFormContentSaved.xml
+58
-0
bt5/erp5_web_renderjs_ui_test/PathTemplateItem/portal_tests/renderjs_ui_notification_zuite/testNoConfirmationWhenFormContentSaved.zpt
...fication_zuite/testNoConfirmationWhenFormContentSaved.zpt
+149
-0
bt5/erp5_web_renderjs_ui_test/PathTemplateItem/portal_tests/renderjs_ui_relation_field_zuite/testBreadcrumbCanNotAccessRelationSearchPage.zpt
...ld_zuite/testBreadcrumbCanNotAccessRelationSearchPage.zpt
+0
-7
bt5/erp5_web_renderjs_ui_test/PathTemplateItem/portal_tests/renderjs_ui_relation_field_zuite/testMultiRelationFieldEmptySearchWithListbox.zpt
...ld_zuite/testMultiRelationFieldEmptySearchWithListbox.zpt
+0
-8
bt5/erp5_web_renderjs_ui_test/PathTemplateItem/portal_tests/renderjs_ui_relation_field_zuite/testMultiRelationFieldSearchWithListbox.zpt
...n_field_zuite/testMultiRelationFieldSearchWithListbox.zpt
+0
-8
bt5/erp5_web_renderjs_ui_test/PathTemplateItem/portal_tests/renderjs_ui_relation_field_zuite/testMultiRelationFieldUnknownIcon.zpt
...elation_field_zuite/testMultiRelationFieldUnknownIcon.zpt
+0
-6
bt5/erp5_web_renderjs_ui_test/PathTemplateItem/portal_tests/renderjs_ui_relation_field_zuite/testMultiRelationFieldWithNonSavedPageContent.zpt
...d_zuite/testMultiRelationFieldWithNonSavedPageContent.zpt
+0
-16
bt5/erp5_web_renderjs_ui_test/PathTemplateItem/portal_tests/renderjs_ui_relation_field_zuite/testProxyListBox.zpt
...sts/renderjs_ui_relation_field_zuite/testProxyListBox.zpt
+0
-14
bt5/erp5_web_renderjs_ui_test/PathTemplateItem/portal_tests/renderjs_ui_relation_field_zuite/testRelationFieldEmptySearchWithListbox.zpt
...n_field_zuite/testRelationFieldEmptySearchWithListbox.zpt
+0
-8
bt5/erp5_web_renderjs_ui_test/PathTemplateItem/portal_tests/renderjs_ui_relation_field_zuite/testRelationFieldSearchWithListbox.zpt
...lation_field_zuite/testRelationFieldSearchWithListbox.zpt
+0
-6
bt5/erp5_web_renderjs_ui_test/PathTemplateItem/portal_tests/renderjs_ui_relation_field_zuite/testRelationFieldUnknownIcon.zpt
..._ui_relation_field_zuite/testRelationFieldUnknownIcon.zpt
+0
-8
bt5/erp5_web_renderjs_ui_test/PathTemplateItem/portal_tests/renderjs_ui_relation_field_zuite/testRelationFieldWithNonSavedPageContent.zpt
..._field_zuite/testRelationFieldWithNonSavedPageContent.zpt
+0
-16
bt5/erp5_web_renderjs_ui_test/PathTemplateItem/portal_tests/renderjs_ui_translate_zuite/testRelationField.zpt
...l_tests/renderjs_ui_translate_zuite/testRelationField.zpt
+0
-10
No files found.
bt5/erp5_web_renderjs_ui/PathTemplateItem/web_page_module/rjs_gadget_erp5_router_js.js
View file @
8a567725
...
@@ -813,7 +813,7 @@
...
@@ -813,7 +813,7 @@
}
}
//execute an url command without saving
//execute an url command without saving
if
(
gadget
.
props
.
modified
&&
command
[
0
]
===
PREFIX_COMMAND
)
{
if
(
gadget
.
props
.
modified
&&
command
[
0
]
===
PREFIX_COMMAND
&&
!
gadget
.
props
.
form_content
)
{
if
(
!
window
.
confirm
(
gadget
.
props
.
warning_message
))
{
if
(
!
window
.
confirm
(
gadget
.
props
.
warning_message
))
{
//back to previous hash
//back to previous hash
gadget
.
props
.
hasUnsaved
=
true
;
gadget
.
props
.
hasUnsaved
=
true
;
...
...
bt5/erp5_web_renderjs_ui/PathTemplateItem/web_page_module/rjs_gadget_erp5_router_js.xml
View file @
8a567725
...
@@ -232,7 +232,7 @@
...
@@ -232,7 +232,7 @@
</item>
</item>
<item>
<item>
<key>
<string>
serial
</string>
</key>
<key>
<string>
serial
</string>
</key>
<value>
<string>
964.
36966.42383.29030
</string>
</value>
<value>
<string>
964.
44610.27477.10598
</string>
</value>
</item>
</item>
<item>
<item>
<key>
<string>
state
</string>
</key>
<key>
<string>
state
</string>
</key>
...
@@ -250,7 +250,7 @@
...
@@ -250,7 +250,7 @@
</tuple>
</tuple>
<state>
<state>
<tuple>
<tuple>
<float>
151
4970793.49
</float>
<float>
151
5687403.54
</float>
<string>
UTC
</string>
<string>
UTC
</string>
</tuple>
</tuple>
</state>
</state>
...
...
bt5/erp5_web_renderjs_ui_test/PathTemplateItem/portal_tests/renderjs_ui_notification_zuite/testNoConfirmationWhenFormContentSaved.xml
0 → 100644
View file @
8a567725
<?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>
testNoConfirmationWhenFormContentSaved
</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_web_renderjs_ui_test/PathTemplateItem/portal_tests/renderjs_ui_notification_zuite/testNoConfirmationWhenFormContentSaved.zpt
0 → 100644
View file @
8a567725
<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 RenderJS UI
</title>
</head>
<body>
<table
cellpadding=
"1"
cellspacing=
"1"
border=
"1"
>
<thead>
<tr><td
rowspan=
"1"
colspan=
"3"
>
Test RenderJS UI
</td></tr>
</thead><tbody>
<tal:block
metal:use-macro=
"here/Zuite_CommonTemplate/macros/init"
/>
<!-- Clean Up -->
<tr>
<td>
open
</td>
<td>
${base_url}/foo_module/ListBoxZuite_reset
</td>
<td></td>
</tr>
<tr>
<td>
assertTextPresent
</td>
<td>
Reset Successfully.
</td>
<td></td>
</tr>
<!-- Initialize -->
<tr>
<td>
open
</td>
<td>
${base_url}/web_site_module/renderjs_runner/#/foo_module
</td>
<td></td>
</tr>
<tr>
<td>
waitForElementPresent
</td>
<td>
//a[@data-i18n='Add']
</td>
<td></td>
</tr>
<tr>
<td>
click
</td>
<td>
link=Add
</td>
<td></td>
</tr>
<tal:block
metal:use-macro=
"here/Zuite_CommonTemplateForRenderjsUi/macros/submit_dialog"
/>
<tr>
<td>
waitForElementPresent
</td>
<td>
//a[@data-i18n="Views"]
</td>
<td></td>
</tr>
<tr>
<td>
click
</td>
<td>
//a[@data-i18n="Views"]
</td>
<td></td>
</tr>
<tr>
<td>
storeLocation
</td>
<td>
url
</td>
<td></td>
</tr>
<tal:block
metal:use-macro=
"here/Zuite_CommonTemplate/macros/wait_for_activities"
/>
<tr>
<td>
open
</td>
<td>
${url}
</td>
<td></td>
</tr>
<tr>
<td>
waitForElementPresent
</td>
<td>
//a[@data-i18n="Relation Fields"]
</td>
<td></td>
</tr>
<tr>
<td>
click
</td>
<td>
//a[@data-i18n="Relation Fields"]
</td>
<td></td>
</tr>
<tr>
<td>
waitForElementPresent
</td>
<td>
//input[@name="field_my_title"]
</td>
<td></td>
</tr>
<tr>
<td>
type
</td>
<td>
//input[@name="field_my_title"]
</td>
<td>
TEST
</td>
</tr>
<tr>
<td>
waitForElementPresent
</td>
<td>
//button[@data-i18n='Save'][contains(@class, 'ui-icon-warning')]
</td>
<td></td>
</tr>
<tr>
<td>
type
</td>
<td>
//input[@name="field_my_successor_title"]
</td>
<td>
search
</td>
</tr>
<tr>
<td>
fireEvent
</td>
<td>
//input[@name="field_my_successor_title"]
</td>
<td>
input
</td>
</tr>
<tr>
<td>
waitForElementPresent
</td>
<td>
//li[@data-explore="true"]
</td>
<td></td>
</tr>
<tr>
<td>
fireEvent
</td>
<td>
//input[@name="field_my_successor_title"]
</td>
<td>
blur
</td>
</tr>
<tr>
<td>
click
</td>
<td>
//li[@data-explore="true"]
</td>
<td></td>
</tr>
<tr>
<td>
verifyConfirmationNotPresent
</td>
<td>
This page contains unsaved changes, do you really want to leave the page ?
</td>
<td></td>
</tr>
</tbody></table>
</body>
</html>
\ No newline at end of file
bt5/erp5_web_renderjs_ui_test/PathTemplateItem/portal_tests/renderjs_ui_relation_field_zuite/testBreadcrumbCanNotAccessRelationSearchPage.zpt
View file @
8a567725
...
@@ -129,11 +129,6 @@
...
@@ -129,11 +129,6 @@
<td>
blur
</td>
<td>
blur
</td>
</tr>
</tr>
<tr>
<td>
chooseOkOnNextConfirmation
</td>
<td></td>
<td></td>
</tr>
<tr>
<tr>
<td>
click
</td>
<td>
click
</td>
...
@@ -141,8 +136,6 @@
...
@@ -141,8 +136,6 @@
<td></td>
<td></td>
</tr>
</tr>
<tal:block
metal:use-macro=
"here/Zuite_CommonTemplateForRenderjsUi/macros/wait_for_confirmation"
/>
<tal:block
metal:use-macro=
"here/Zuite_CommonTemplateForRenderjsUi/macros/clear_query"
/>
<tal:block
metal:use-macro=
"here/Zuite_CommonTemplateForRenderjsUi/macros/clear_query"
/>
<tr>
<tr>
...
...
bt5/erp5_web_renderjs_ui_test/PathTemplateItem/portal_tests/renderjs_ui_relation_field_zuite/testMultiRelationFieldEmptySearchWithListbox.zpt
View file @
8a567725
...
@@ -198,12 +198,6 @@
...
@@ -198,12 +198,6 @@
<td></td>
<td></td>
</tr>
</tr>
<tr>
<td>
chooseOkOnNextConfirmation
</td>
<td></td>
<td></td>
</tr>
<tr>
<tr>
<td
colspan=
"3"
><b>
Click on the search button of the empty multi relation field
</b></td>
<td
colspan=
"3"
><b>
Click on the search button of the empty multi relation field
</b></td>
</tr>
</tr>
...
@@ -213,8 +207,6 @@
...
@@ -213,8 +207,6 @@
<td></td>
<td></td>
</tr>
</tr>
<tal:block
metal:use-macro=
"here/Zuite_CommonTemplateForRenderjsUi/macros/wait_for_confirmation"
/>
<tal:block
metal:use-macro=
"here/Zuite_CommonTemplateForRenderjsUi/macros/triggle_filter_and"
/>
<tal:block
metal:use-macro=
"here/Zuite_CommonTemplateForRenderjsUi/macros/triggle_filter_and"
/>
<tal:block
tal:define=
"filter_section_configuration python: {'index': 0}"
>
<tal:block
tal:define=
"filter_section_configuration python: {'index': 0}"
>
...
...
bt5/erp5_web_renderjs_ui_test/PathTemplateItem/portal_tests/renderjs_ui_relation_field_zuite/testMultiRelationFieldSearchWithListbox.zpt
View file @
8a567725
...
@@ -225,20 +225,12 @@
...
@@ -225,20 +225,12 @@
<td>
blur
</td>
<td>
blur
</td>
</tr>
</tr>
<tr>
<td>
chooseOkOnNextConfirmation
</td>
<td></td>
<td></td>
</tr>
<tr>
<tr>
<td>
click
</td>
<td>
click
</td>
<td>
//li[@data-explore="true"]
</td>
<td>
//li[@data-explore="true"]
</td>
<td></td>
<td></td>
</tr>
</tr>
<tal:block
metal:use-macro=
"here/Zuite_CommonTemplateForRenderjsUi/macros/wait_for_confirmation"
/>
<tal:block
metal:use-macro=
"here/Zuite_CommonTemplateForRenderjsUi/macros/triggle_filter_and"
/>
<tal:block
metal:use-macro=
"here/Zuite_CommonTemplateForRenderjsUi/macros/triggle_filter_and"
/>
<tal:block
tal:define=
"filter_section_configuration python: {'index': 0}"
>
<tal:block
tal:define=
"filter_section_configuration python: {'index': 0}"
>
...
...
bt5/erp5_web_renderjs_ui_test/PathTemplateItem/portal_tests/renderjs_ui_relation_field_zuite/testMultiRelationFieldUnknownIcon.zpt
View file @
8a567725
...
@@ -117,11 +117,6 @@
...
@@ -117,11 +117,6 @@
</tr>
</tr>
<tr>
<td>
chooseOkOnNextConfirmation
</td>
<td></td>
<td></td>
</tr>
<tr>
<tr>
<td>
click
</td>
<td>
click
</td>
...
@@ -129,7 +124,6 @@
...
@@ -129,7 +124,6 @@
<td></td>
<td></td>
</tr>
</tr>
<tal:block
metal:use-macro=
"here/Zuite_CommonTemplateForRenderjsUi/macros/wait_for_confirmation"
/>
<tr>
<tr>
<td>
waitForElementPresent
</td>
<td>
waitForElementPresent
</td>
...
...
bt5/erp5_web_renderjs_ui_test/PathTemplateItem/portal_tests/renderjs_ui_relation_field_zuite/testMultiRelationFieldWithNonSavedPageContent.zpt
View file @
8a567725
...
@@ -216,20 +216,12 @@
...
@@ -216,20 +216,12 @@
<td>
blur
</td>
<td>
blur
</td>
</tr>
</tr>
<tr>
<td>
chooseOkOnNextConfirmation
</td>
<td></td>
<td></td>
</tr>
<tr>
<tr>
<td>
click
</td>
<td>
click
</td>
<td>
//li[@data-explore="true"]
</td>
<td>
//li[@data-explore="true"]
</td>
<td></td>
<td></td>
</tr>
</tr>
<tal:block
metal:use-macro=
"here/Zuite_CommonTemplateForRenderjsUi/macros/wait_for_confirmation"
/>
<tr>
<tr>
<td>
waitForElementPresent
</td>
<td>
waitForElementPresent
</td>
<td>
//button[contains(text(),'search')]
</td>
<td>
//button[contains(text(),'search')]
</td>
...
@@ -322,20 +314,12 @@
...
@@ -322,20 +314,12 @@
<td>
blur
</td>
<td>
blur
</td>
</tr>
</tr>
<tr>
<td>
chooseOkOnNextConfirmation
</td>
<td></td>
<td></td>
</tr>
<tr>
<tr>
<td>
click
</td>
<td>
click
</td>
<td>
//li[@data-explore="true"]
</td>
<td>
//li[@data-explore="true"]
</td>
<td></td>
<td></td>
</tr>
</tr>
<tal:block
metal:use-macro=
"here/Zuite_CommonTemplateForRenderjsUi/macros/wait_for_confirmation"
/>
<tr>
<tr>
<td>
waitForElementPresent
</td>
<td>
waitForElementPresent
</td>
<td>
//button[contains(text(),'search')]
</td>
<td>
//button[contains(text(),'search')]
</td>
...
...
bt5/erp5_web_renderjs_ui_test/PathTemplateItem/portal_tests/renderjs_ui_relation_field_zuite/testProxyListBox.zpt
View file @
8a567725
...
@@ -160,11 +160,6 @@
...
@@ -160,11 +160,6 @@
<td>
blur
</td>
<td>
blur
</td>
</tr>
</tr>
<tr>
<td>
chooseOkOnNextConfirmation
</td>
<td></td>
<td></td>
</tr>
<tr>
<tr>
<td>
click
</td>
<td>
click
</td>
...
@@ -172,8 +167,6 @@
...
@@ -172,8 +167,6 @@
<td></td>
<td></td>
</tr>
</tr>
<tal:block
metal:use-macro=
"here/Zuite_CommonTemplateForRenderjsUi/macros/wait_for_confirmation"
/>
<tr>
<tr>
<td>
waitForElementPresent
</td>
<td>
waitForElementPresent
</td>
<td>
//div[@data-gadget-url='${base_url}/web_site_module/renderjs_runner/gadget_erp5_pt_form_list.html']//input[@name="search"]
</td>
<td>
//div[@data-gadget-url='${base_url}/web_site_module/renderjs_runner/gadget_erp5_pt_form_list.html']//input[@name="search"]
</td>
...
@@ -238,11 +231,6 @@
...
@@ -238,11 +231,6 @@
<td>
blur
</td>
<td>
blur
</td>
</tr>
</tr>
<tr>
<td>
chooseOkOnNextConfirmation
</td>
<td></td>
<td></td>
</tr>
<tr>
<tr>
<td>
click
</td>
<td>
click
</td>
...
@@ -250,8 +238,6 @@
...
@@ -250,8 +238,6 @@
<td></td>
<td></td>
</tr>
</tr>
<tal:block
metal:use-macro=
"here/Zuite_CommonTemplateForRenderjsUi/macros/wait_for_confirmation"
/>
<tr>
<tr>
<td>
waitForTextPresent
</td>
<td>
waitForTextPresent
</td>
<td>
Select Template
</td>
<td>
Select Template
</td>
...
...
bt5/erp5_web_renderjs_ui_test/PathTemplateItem/portal_tests/renderjs_ui_relation_field_zuite/testRelationFieldEmptySearchWithListbox.zpt
View file @
8a567725
...
@@ -135,20 +135,12 @@
...
@@ -135,20 +135,12 @@
<td
colspan=
"3"
><b>
Click on the search button of the empty relation field
</b></td>
<td
colspan=
"3"
><b>
Click on the search button of the empty relation field
</b></td>
</tr>
</tr>
<tr>
<td>
chooseOkOnNextConfirmation
</td>
<td></td>
<td></td>
</tr>
<tr>
<tr>
<td>
click
</td>
<td>
click
</td>
<td>
//div[@data-gadget-scope="field_my_successor_title"]//button
</td>
<td>
//div[@data-gadget-scope="field_my_successor_title"]//button
</td>
<td></td>
<td></td>
</tr>
</tr>
<tal:block
metal:use-macro=
"here/Zuite_CommonTemplateForRenderjsUi/macros/wait_for_confirmation"
/>
<tal:block
metal:use-macro=
"here/Zuite_CommonTemplateForRenderjsUi/macros/triggle_filter_and"
/>
<tal:block
metal:use-macro=
"here/Zuite_CommonTemplateForRenderjsUi/macros/triggle_filter_and"
/>
<tal:block
tal:define=
"filter_section_configuration python: {'index': 0}"
>
<tal:block
tal:define=
"filter_section_configuration python: {'index': 0}"
>
<tal:block
metal:use-macro=
"here/Zuite_CommonTemplateForRenderjsUi/macros/remove_filter_section"
/>
<tal:block
metal:use-macro=
"here/Zuite_CommonTemplateForRenderjsUi/macros/remove_filter_section"
/>
...
...
bt5/erp5_web_renderjs_ui_test/PathTemplateItem/portal_tests/renderjs_ui_relation_field_zuite/testRelationFieldSearchWithListbox.zpt
View file @
8a567725
...
@@ -158,17 +158,11 @@
...
@@ -158,17 +158,11 @@
<td>
blur
</td>
<td>
blur
</td>
</tr>
</tr>
<tr>
<td>
chooseOkOnNextConfirmation
</td>
<td></td>
<td></td>
</tr>
<tr>
<tr>
<td>
click
</td>
<td>
click
</td>
<td>
//li[@data-explore="true"]
</td>
<td>
//li[@data-explore="true"]
</td>
<td></td>
<td></td>
</tr>
</tr>
<tal:block
metal:use-macro=
"here/Zuite_CommonTemplateForRenderjsUi/macros/wait_for_confirmation"
/>
<tal:block
metal:use-macro=
"here/Zuite_CommonTemplateForRenderjsUi/macros/triggle_filter_and"
/>
<tal:block
metal:use-macro=
"here/Zuite_CommonTemplateForRenderjsUi/macros/triggle_filter_and"
/>
<tal:block
tal:define=
"filter_section_configuration python: {'index': 0}"
>
<tal:block
tal:define=
"filter_section_configuration python: {'index': 0}"
>
...
...
bt5/erp5_web_renderjs_ui_test/PathTemplateItem/portal_tests/renderjs_ui_relation_field_zuite/testRelationFieldUnknownIcon.zpt
View file @
8a567725
...
@@ -87,20 +87,12 @@
...
@@ -87,20 +87,12 @@
<td>
blur
</td>
<td>
blur
</td>
</tr>
</tr>
<tr>
<td>
chooseOkOnNextConfirmation
</td>
<td></td>
<td></td>
</tr>
<tr>
<tr>
<td>
click
</td>
<td>
click
</td>
<td>
//li[@data-explore='true']
</td>
<td>
//li[@data-explore='true']
</td>
<td></td>
<td></td>
</tr>
</tr>
<tal:block
metal:use-macro=
"here/Zuite_CommonTemplateForRenderjsUi/macros/wait_for_confirmation"
/>
<tr>
<tr>
<td>
waitForElementPresent
</td>
<td>
waitForElementPresent
</td>
<td>
//button[contains(text(),'search')]
</td>
<td>
//button[contains(text(),'search')]
</td>
...
...
bt5/erp5_web_renderjs_ui_test/PathTemplateItem/portal_tests/renderjs_ui_relation_field_zuite/testRelationFieldWithNonSavedPageContent.zpt
View file @
8a567725
...
@@ -252,20 +252,12 @@
...
@@ -252,20 +252,12 @@
<td>
blur
</td>
<td>
blur
</td>
</tr>
</tr>
<tr>
<td>
chooseOkOnNextConfirmation
</td>
<td></td>
<td></td>
</tr>
<tr>
<tr>
<td>
click
</td>
<td>
click
</td>
<td>
//li[@data-explore="true"]
</td>
<td>
//li[@data-explore="true"]
</td>
<td></td>
<td></td>
</tr>
</tr>
<tal:block
metal:use-macro=
"here/Zuite_CommonTemplateForRenderjsUi/macros/wait_for_confirmation"
/>
<tr>
<tr>
<td>
waitForElementPresent
</td>
<td>
waitForElementPresent
</td>
<td>
//button[contains(text(),'search')]
</td>
<td>
//button[contains(text(),'search')]
</td>
...
@@ -368,20 +360,12 @@
...
@@ -368,20 +360,12 @@
<td>
blur
</td>
<td>
blur
</td>
</tr>
</tr>
<tr>
<td>
chooseOkOnNextConfirmation
</td>
<td></td>
<td></td>
</tr>
<tr>
<tr>
<td>
click
</td>
<td>
click
</td>
<td>
//li[@data-explore="true"]
</td>
<td>
//li[@data-explore="true"]
</td>
<td></td>
<td></td>
</tr>
</tr>
<tal:block
metal:use-macro=
"here/Zuite_CommonTemplateForRenderjsUi/macros/wait_for_confirmation"
/>
<tr>
<tr>
<td>
waitForElementPresent
</td>
<td>
waitForElementPresent
</td>
<td>
//button[contains(text(),'search')]
</td>
<td>
//button[contains(text(),'search')]
</td>
...
...
bt5/erp5_web_renderjs_ui_test/PathTemplateItem/portal_tests/renderjs_ui_translate_zuite/testRelationField.zpt
View file @
8a567725
...
@@ -125,11 +125,6 @@
...
@@ -125,11 +125,6 @@
<td>
blur
</td>
<td>
blur
</td>
</tr>
</tr>
<tr>
<td>
chooseOkOnNextConfirmation
</td>
<td></td>
<td></td>
</tr>
<tr>
<tr>
<td>
click
</td>
<td>
click
</td>
...
@@ -137,11 +132,6 @@
...
@@ -137,11 +132,6 @@
<td></td>
<td></td>
</tr>
</tr>
<tr>
<td>
waitForConfirmation
</td>
<td>
querenlikai?
</td>
<td></td>
</tr>
<tr>
<tr>
<td>
waitForTextPresent
</td>
<td>
waitForTextPresent
</td>
...
...
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