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
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Sven Franck
erp5
Commits
1280d87d
Commit
1280d87d
authored
Nov 27, 2018
by
Romain Courteaud
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[erp5_web_renderjs_ui_test] Fixes
parent
f8843d7e
Changes
10
Hide whitespace changes
Inline
Side-by-side
Showing
10 changed files
with
46 additions
and
43 deletions
+46
-43
bt5/erp5_web_renderjs_ui_test/PathTemplateItem/portal_tests/renderjs_ui_list_field_zuite/testDisabledOptionListField.zpt
...derjs_ui_list_field_zuite/testDisabledOptionListField.zpt
+1
-1
bt5/erp5_web_renderjs_ui_test/PathTemplateItem/portal_tests/renderjs_ui_listbox_zuite/testFilter.zpt
...tem/portal_tests/renderjs_ui_listbox_zuite/testFilter.zpt
+7
-5
bt5/erp5_web_renderjs_ui_test/PathTemplateItem/portal_tests/renderjs_ui_logout_zuite/testRenderjsLogout.zpt
...tal_tests/renderjs_ui_logout_zuite/testRenderjsLogout.zpt
+4
-4
bt5/erp5_web_renderjs_ui_test/PathTemplateItem/portal_tests/renderjs_ui_page_templates_zuite/testReportViewDisplayWorkflowTitle.zpt
...ge_templates_zuite/testReportViewDisplayWorkflowTitle.zpt
+5
-5
bt5/erp5_web_renderjs_ui_test/PathTemplateItem/portal_tests/renderjs_ui_recover_password_zuite/testRenderjsRecoverPassword.zpt
...ui_recover_password_zuite/testRenderjsRecoverPassword.zpt
+3
-3
bt5/erp5_web_renderjs_ui_test/PathTemplateItem/portal_tests/renderjs_ui_router_zuite/testCommandSelectionNextJumpToNextDocument.zpt
...uter_zuite/testCommandSelectionNextJumpToNextDocument.zpt
+1
-1
bt5/erp5_web_renderjs_ui_test/PathTemplateItem/portal_tests/renderjs_ui_translate_zuite/testPageFront.zpt
...ortal_tests/renderjs_ui_translate_zuite/testPageFront.zpt
+2
-2
bt5/erp5_web_renderjs_ui_test/PathTemplateItem/portal_tests/renderjs_ui_translate_zuite/testPageLanguage.zpt
...al_tests/renderjs_ui_translate_zuite/testPageLanguage.zpt
+9
-9
bt5/erp5_web_renderjs_ui_test/PathTemplateItem/portal_tests/renderjs_ui_translate_zuite/testPanel.zpt
...em/portal_tests/renderjs_ui_translate_zuite/testPanel.zpt
+9
-13
bt5/erp5_web_renderjs_ui_test/SkinTemplateItem/portal_skins/erp5_web_renderjs_ui_test/Zuite_CommonTemplateForRenderjsUi.zpt
...eb_renderjs_ui_test/Zuite_CommonTemplateForRenderjsUi.zpt
+5
-0
No files found.
bt5/erp5_web_renderjs_ui_test/PathTemplateItem/portal_tests/renderjs_ui_list_field_zuite/testDisabledOptionListField.zpt
View file @
1280d87d
...
...
@@ -72,12 +72,12 @@
<td
colspan=
"3"
><b>
Trying to save disabled option
</b></td>
</tr>
<tal:block
metal:use-macro=
"here/Zuite_CommonTemplateForRenderjsUi/macros/click_save"
/>
<tal:block
metal:use-macro=
"here/Zuite_CommonTemplateForRenderjsUi/macros/wait_for_content_loaded"
/>
<tal:block
tal:define=
"notification_configuration python: {'class': 'error',
'text': 'Input data has errors.'}"
>
<tal:block
metal:use-macro=
"here/Zuite_CommonTemplateForRenderjsUi/macros/wait_for_notification"
/>
</tal:block>
<tal:block
metal:use-macro=
"here/Zuite_CommonTemplateForRenderjsUi/macros/wait_for_content_loaded"
/>
<tr>
<td>
assertTextPresent
</td>
...
...
bt5/erp5_web_renderjs_ui_test/PathTemplateItem/portal_tests/renderjs_ui_listbox_zuite/testFilter.zpt
View file @
1280d87d
...
...
@@ -78,9 +78,10 @@
<tal:block
metal:use-macro=
"here/Zuite_CommonTemplateForRenderjsUi/macros/submit_filter"
/>
<tal:block
metal:use-macro=
"here/Zuite_CommonTemplateForRenderjsUi/macros/wait_for_content_loaded"
/>
<tal:block
metal:use-macro=
"here/Zuite_CommonTemplateForRenderjsUi/macros/wait_for_listbox_loaded"
/>
<tr>
<td>
verify
ElementPresent
</td>
<td>
assert
ElementPresent
</td>
<td>
link=Title 0
</td>
<td></td>
</tr>
...
...
@@ -98,28 +99,29 @@
<tal:block
metal:use-macro=
"here/Zuite_CommonTemplateForRenderjsUi/macros/submit_filter"
/>
<tal:block
metal:use-macro=
"here/Zuite_CommonTemplateForRenderjsUi/macros/wait_for_content_loaded"
/>
<tal:block
metal:use-macro=
"here/Zuite_CommonTemplateForRenderjsUi/macros/wait_for_listbox_loaded"
/>
<tr>
<td>
verify
ElementPresent
</td>
<td>
assert
ElementPresent
</td>
<td>
link=Title 9
</td>
<td></td>
</tr>
<tr>
<td>
verify
ElementPresent
</td>
<td>
assert
ElementPresent
</td>
<td>
link=Title 8
</td>
<td></td>
</tr>
<tr>
<td>
verify
ElementPresent
</td>
<td>
assert
ElementPresent
</td>
<td>
link=Title 7
</td>
<td></td>
</tr>
<tr>
<td>
verify
ElementNotPresent
</td>
<td>
assert
ElementNotPresent
</td>
<td>
link=Title 0
</td>
<td></td>
</tr>
...
...
bt5/erp5_web_renderjs_ui_test/PathTemplateItem/portal_tests/renderjs_ui_logout_zuite/testRenderjsLogout.zpt
View file @
1280d87d
...
...
@@ -60,12 +60,12 @@
</tr>
<tr>
<td>
waitForElementPresent
</td>
<td>
//a[
@data-i18n
='Logout']
</td>
<td>
//a[
text()
='Logout']
</td>
<td></td>
</tr>
<tr>
<td>
click
</td>
<td>
//a[
@data-i18n
='Logout']
</td>
<td>
//a[
text()
='Logout']
</td>
<td></td>
</tr>
<tr>
...
...
@@ -127,12 +127,12 @@
</tr>
<tr>
<td>
waitForElementPresent
</td>
<td>
//a[
@data-i18n
='Logout']
</td>
<td>
//a[
text()
='Logout']
</td>
<td></td>
</tr>
<tr>
<td>
click
</td>
<td>
//a[
@data-i18n
='Logout']
</td>
<td>
//a[
text()
='Logout']
</td>
<td></td>
</tr>
<tr>
...
...
bt5/erp5_web_renderjs_ui_test/PathTemplateItem/portal_tests/renderjs_ui_page_templates_zuite/testReportViewDisplayWorkflowTitle.zpt
View file @
1280d87d
...
...
@@ -53,14 +53,14 @@
<tr>
<td>
verifyElementPresent
</td>
<td>
//h1[
@data-i18n='Edit Workflow'
]
</td>
<td>
//h1[
contains(text(), 'Edit Workflow')
]
</td>
<td></td>
</tr>
<tr>
<td>
verifyElementPresent
</td>
<td>
//h1[
@data-i18n='Foo Workflow'
]
</td>
<td>
//h1[
contains(text(), 'Foo Workflow')
]
</td>
<td></td>
</tr>
...
...
@@ -93,7 +93,7 @@
<tr>
<td>
waitForElementPresent
</td>
<td>
//h1[
@data-i18n='External Processing Workflow'
]
</td>
<td>
//h1[
contains(text(), 'External Processing Workflow')
]
</td>
<td></td>
</tr>
...
...
@@ -101,14 +101,14 @@
<tr>
<td>
verifyElementPresent
</td>
<td>
//h1[
@data-i18n='Document Publication Workflow'
]
</td>
<td>
//h1[
contains(text(), 'Document Publication Workflow')
]
</td>
<td></td>
</tr>
<tr>
<td>
verifyElementPresent
</td>
<td>
//h1[
@data-i18n='Edit Workflow'
]
</td>
<td>
//h1[
contains(text(), 'Edit Workflow')
]
</td>
<td></td>
</tr>
...
...
bt5/erp5_web_renderjs_ui_test/PathTemplateItem/portal_tests/renderjs_ui_recover_password_zuite/testRenderjsRecoverPassword.zpt
View file @
1280d87d
...
...
@@ -71,12 +71,12 @@
</tr>
<tr>
<td>
waitForElementPresent
</td>
<td>
//a[
@data-i18n
='Logout']
</td>
<td>
//a[
text()
='Logout']
</td>
<td></td>
</tr>
<tr>
<td>
click
</td>
<td>
//a[
@data-i18n
='Logout']
</td>
<td>
//a[
text()
='Logout']
</td>
<td></td>
</tr>
<tr>
...
...
@@ -235,7 +235,7 @@
</tr>
<tr>
<td>
waitForElementPresent
</td>
<td>
//h1//a[
@data-i18n
='Worklist']
</td>
<td>
//h1//a[
text()
='Worklist']
</td>
<td></td>
</tr>
...
...
bt5/erp5_web_renderjs_ui_test/PathTemplateItem/portal_tests/renderjs_ui_router_zuite/testCommandSelectionNextJumpToNextDocument.zpt
View file @
1280d87d
...
...
@@ -102,7 +102,7 @@
</tr>
<tal:block
metal:use-macro=
"here/Zuite_CommonTemplateForRenderjsUi/macros/wait_for_content_loaded"
/>
<tal:block
metal:use-macro=
"here/Zuite_CommonTemplateForRenderjsUi/macros/wait_for_listbox_loaded"
/>
<!-- Go to the first element -->
<tr>
...
...
bt5/erp5_web_renderjs_ui_test/PathTemplateItem/portal_tests/renderjs_ui_translate_zuite/testPageFront.zpt
View file @
1280d87d
...
...
@@ -22,7 +22,7 @@
<tr>
<td>
waitForElementPresent
</td>
<td>
//a[
@data-i18n="Modules
"]
</td>
<td>
//a[
text()="mokuai
"]
</td>
<td></td>
</tr>
...
...
@@ -30,7 +30,7 @@
<tr>
<td>
click
</td>
<td>
//a[
@data-i18n="Modules
"]
</td>
<td>
//a[
text()="mokuai
"]
</td>
<td></td>
</tr>
...
...
bt5/erp5_web_renderjs_ui_test/PathTemplateItem/portal_tests/renderjs_ui_translate_zuite/testPageLanguage.zpt
View file @
1280d87d
...
...
@@ -35,14 +35,14 @@
<!-- default has two language -->
<tr>
<td>
assertElementPresent
</td>
<td>
//option[
@data-i18n
='Wolof']
</td>
<td>
//option[
text()
='Wolof']
</td>
<td></td>
</tr>
<tr>
<td>
verifyElementPresent
</td>
<td>
//option[
@data-i18n
='English']
</td>
<td>
//option[
text()
='English']
</td>
<td></td>
</tr>
...
...
@@ -95,48 +95,48 @@
<tr>
<td>
verifyText
</td>
<td>
//a[@
data-i18n="H
ome"]
</td>
<td>
//a[@
class="ui-btn-icon-left ui-icon-h
ome"]
</td>
<td>
Home
</td>
</tr>
<tr>
<td>
verifyText
</td>
<td>
//a[@
data-i18n="Modules
"]
</td>
<td>
//a[@
class="ui-btn-icon-left ui-icon-puzzle-piece
"]
</td>
<td>
Modules
</td>
</tr>
<tr>
<td>
verifyText
</td>
<td>
//a[@
data-i18n="Worklist
s"]
</td>
<td>
//a[@
class="ui-btn-icon-left ui-icon-task
s"]
</td>
<td>
Worklists
</td>
</tr>
<tr>
<td>
verifyText
</td>
<td>
//a[@
data-i18n="H
istory"]
</td>
<td>
//a[@
class="ui-btn-icon-left ui-icon-h
istory"]
</td>
<td>
History
</td>
</tr>
<tr>
<td>
verifyText
</td>
<td>
//a[@
data-i18n="S
earch"]
</td>
<td>
//a[@
class="ui-btn-icon-left ui-icon-s
earch"]
</td>
<td>
Search
</td>
</tr>
<tr>
<td>
verifyText
</td>
<td>
//a[@
data-i18n="Preference
s"]
</td>
<td>
//a[@
class="ui-btn-icon-left ui-icon-slider
s"]
</td>
<td>
Preferences
</td>
</tr>
<tr>
<td>
verifyText
</td>
<td>
//a[@
data-i18n="Logout
"]
</td>
<td>
//a[@
class="ui-btn-icon-left ui-icon-power-off
"]
</td>
<td>
Logout
</td>
</tr>
...
...
bt5/erp5_web_renderjs_ui_test/PathTemplateItem/portal_tests/renderjs_ui_translate_zuite/testPanel.zpt
View file @
1280d87d
...
...
@@ -19,23 +19,19 @@
<td></td>
</tr>
<tr>
<td>
waitForElementPresent
</td>
<td>
//a[@data-i18n="Home"]
</td>
<td></td>
</tr>
<tal:block
metal:use-macro=
"here/Zuite_CommonTemplateForRenderjsUi/macros/wait_for_app_loaded"
/>
<tr>
<td>
verifyText
</td>
<td>
//div[@data-gadget-scope='panel']//a[@
data-i18n="H
ome"]
</td>
<td>
//div[@data-gadget-scope='panel']//a[@
class="ui-btn-icon-left ui-icon-h
ome"]
</td>
<td>
zhuye
</td>
</tr>
<tr>
<td>
verifyText
</td>
<td>
//div[@data-gadget-scope='panel']//a[@
data-i18n="Modules
"]
</td>
<td>
//div[@data-gadget-scope='panel']//a[@
class="ui-btn-icon-left ui-icon-puzzle-piece
"]
</td>
<td>
mokuai
</td>
</tr>
...
...
@@ -48,28 +44,28 @@
<tr>
<td>
verifyText
</td>
<td>
//div[@data-gadget-scope='panel']//a[@
data-i18n="History
"]
</td>
<td>
//div[@data-gadget-scope='panel']//a[@
class="ui-btn-icon-left ui-icon-tasks
"]
</td>
<td>
lishi
</td>
</tr>
<tr>
<td>
verifyText
</td>
<td>
//div[@data-gadget-scope='panel']//a[@
data-i18n="S
earch"]
</td>
<td>
//div[@data-gadget-scope='panel']//a[@
class="ui-btn-icon-left ui-icon-s
earch"]
</td>
<td>
soushuo
</td>
</tr>
<tr>
<td>
verifyText
</td>
<td>
//div[@data-gadget-scope='panel']//a[@
data-i18n="Preference
s"]
</td>
<td>
//div[@data-gadget-scope='panel']//a[@
class="ui-btn-icon-left ui-icon-slider
s"]
</td>
<td>
pianai
</td>
</tr>
<tr>
<td>
verifyText
</td>
<td>
//div[@data-gadget-scope='panel']//a[@
data-i18n="Logout
"]
</td>
<td>
//div[@data-gadget-scope='panel']//a[@
class="ui-btn-icon-left ui-icon-power-off
"]
</td>
<td>
tuichu
</td>
</tr>
...
...
bt5/erp5_web_renderjs_ui_test/SkinTemplateItem/portal_skins/erp5_web_renderjs_ui_test/Zuite_CommonTemplateForRenderjsUi.zpt
View file @
1280d87d
...
...
@@ -440,6 +440,11 @@
<td>//div[contains(@data-gadget-url, 'gadget_erp5_field_listbox.html')]//nav//span[contains(text(), "ecord")]</td>
<td></td>
</tr>
<tr>
<td>assertElementPresent</td>
<td>//div[contains(@data-gadget-url, 'gadget_erp5_field_listbox.html')]//nav//span[contains(text(), "ecord")]</td>
<td></td>
</tr>
<tr>
<td colspan="3"><p></p></td>
</tr>
...
...
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