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
37c389c4
Commit
37c389c4
authored
Nov 13, 2018
by
Romain Courteaud
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[erp5_web_renderjs_ui_test] Update translation tests
parent
12853faa
Changes
5
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
12 additions
and
16 deletions
+12
-16
bt5/erp5_web_renderjs_ui_test/PathTemplateItem/portal_tests/renderjs_ui_translate_zuite/testPageLanguage.zpt
...al_tests/renderjs_ui_translate_zuite/testPageLanguage.zpt
+3
-1
bt5/erp5_web_renderjs_ui_test/PathTemplateItem/portal_tests/renderjs_ui_translate_zuite/testPageSearch.zpt
...rtal_tests/renderjs_ui_translate_zuite/testPageSearch.zpt
+1
-0
bt5/erp5_web_renderjs_ui_test/PathTemplateItem/portal_tests/renderjs_ui_translate_zuite/testPanel.zpt
...em/portal_tests/renderjs_ui_translate_zuite/testPanel.zpt
+4
-4
bt5/erp5_web_renderjs_ui_test/PathTemplateItem/portal_tests/renderjs_ui_translate_zuite/testRelationField.zpt
...l_tests/renderjs_ui_translate_zuite/testRelationField.zpt
+1
-7
bt5/erp5_web_renderjs_ui_test/SkinTemplateItem/portal_skins/erp5_web_renderjs_ui_test/Zuite_CommonTemplateForRenderjsUi.zpt
...eb_renderjs_ui_test/Zuite_CommonTemplateForRenderjsUi.zpt
+3
-4
No files found.
bt5/erp5_web_renderjs_ui_test/PathTemplateItem/portal_tests/renderjs_ui_translate_zuite/testPageLanguage.zpt
View file @
37c389c4
...
@@ -84,6 +84,7 @@
...
@@ -84,6 +84,7 @@
<td
colspan=
"3"
><p></p></td>
<td
colspan=
"3"
><p></p></td>
</tr>
</tr>
<tal:block
metal:use-macro=
"here/Zuite_CommonTemplateForRenderjsUi/macros/wait_for_app_loaded"
/>
<tr>
<tr>
<td>
waitForTextPresent
</td>
<td>
waitForTextPresent
</td>
...
@@ -144,7 +145,7 @@
...
@@ -144,7 +145,7 @@
<tr>
<tr>
<td>
waitForElementPresent
</td>
<td>
waitForElementPresent
</td>
<td>
//select[@name="field_language"]/option[@selected='selected' and @
data-i18n='English
']
</td>
<td>
//select[@name="field_language"]/option[@selected='selected' and @
value='en
']
</td>
<td></td>
<td></td>
</tr>
</tr>
<tr>
<tr>
...
@@ -171,6 +172,7 @@
...
@@ -171,6 +172,7 @@
<td
colspan=
"3"
><p></p></td>
<td
colspan=
"3"
><p></p></td>
</tr>
</tr>
<tal:block
metal:use-macro=
"here/Zuite_CommonTemplateForRenderjsUi/macros/wait_for_app_loaded"
/>
<tr>
<tr>
<td>
waitForTextPresent
</td>
<td>
waitForTextPresent
</td>
...
...
bt5/erp5_web_renderjs_ui_test/PathTemplateItem/portal_tests/renderjs_ui_translate_zuite/testPageSearch.zpt
View file @
37c389c4
...
@@ -20,6 +20,7 @@
...
@@ -20,6 +20,7 @@
<td></td>
<td></td>
</tr>
</tr>
<tal:block
metal:use-macro=
"here/Zuite_CommonTemplateForRenderjsUi/macros/wait_for_app_loaded"
/>
<tal:block
metal:use-macro=
"here/Zuite_CommonTemplateForRenderjsUi/macros/wait_for_listbox_loaded"
/>
<tal:block
metal:use-macro=
"here/Zuite_CommonTemplateForRenderjsUi/macros/wait_for_listbox_loaded"
/>
<tal:block
tal:define=
"search_query python: 'translated_portal_type: "Web Script"'"
>
<tal:block
tal:define=
"search_query python: 'translated_portal_type: "Web Script"'"
>
...
...
bt5/erp5_web_renderjs_ui_test/PathTemplateItem/portal_tests/renderjs_ui_translate_zuite/testPanel.zpt
View file @
37c389c4
...
@@ -37,14 +37,14 @@
...
@@ -37,14 +37,14 @@
<tr>
<tr>
<td>
verifyText
</td>
<td>
verifyText
</td>
<td>
//div[@data-gadget-scope='panel']//a[@
data-i18n="Worklist
s"]
</td>
<td>
//div[@data-gadget-scope='panel']//a[@
class="ui-btn-icon-left ui-icon-task
s"]
</td>
<td>
gongzhuoliebiao
</td>
<td>
gongzhuoliebiao
</td>
</tr>
</tr>
<tr>
<tr>
<td>
verifyText
</td>
<td>
verifyText
</td>
<td>
//div[@data-gadget-scope='panel']//a[@class="ui-btn-icon-left ui-icon-
tasks
"]
</td>
<td>
//div[@data-gadget-scope='panel']//a[@class="ui-btn-icon-left ui-icon-
history
"]
</td>
<td>
lishi
</td>
<td>
lishi
</td>
</tr>
</tr>
...
@@ -101,12 +101,12 @@
...
@@ -101,12 +101,12 @@
<tr>
<tr>
<td>
waitForElementPresent
</td>
<td>
waitForElementPresent
</td>
<td>
//div[@data-gadget-scope='panel']//dt[@
data-i18n="Views
"]
</td>
<td>
//div[@data-gadget-scope='panel']//dt[@
class="ui-btn-icon-left ui-icon-eye
"]
</td>
<td></td>
<td></td>
</tr>
</tr>
<tr>
<tr>
<td>
verifyText
</td>
<td>
verifyText
</td>
<td>
//div[@data-gadget-scope='panel']//dt[@
data-i18n="Views
"]
</td>
<td>
//div[@data-gadget-scope='panel']//dt[@
class="ui-btn-icon-left ui-icon-eye
"]
</td>
<td>
shitu
</td>
<td>
shitu
</td>
</tr>
</tr>
<tr>
<tr>
...
...
bt5/erp5_web_renderjs_ui_test/PathTemplateItem/portal_tests/renderjs_ui_translate_zuite/testRelationField.zpt
View file @
37c389c4
...
@@ -104,13 +104,7 @@
...
@@ -104,13 +104,7 @@
<tr>
<tr>
<td>
waitForElementPresent
</td>
<td>
waitForElementPresent
</td>
<td>
//li[text()='tianjia']
</td>
<td>
//li[text()='tianjia Foo_zhongwen: A new foo']
</td>
<td></td>
</tr>
<tr>
<td>
waitForElementPresent
</td>
<td>
//span[text()=' Foo_zhongwen: A new foo']
</td>
<td></td>
<td></td>
</tr>
</tr>
...
...
bt5/erp5_web_renderjs_ui_test/SkinTemplateItem/portal_skins/erp5_web_renderjs_ui_test/Zuite_CommonTemplateForRenderjsUi.zpt
View file @
37c389c4
...
@@ -214,9 +214,8 @@
...
@@ -214,9 +214,8 @@
<td>//div[contains(@data-gadget-url, 'gadget_erp5_pt_form_list.html')]//div[@data-gadget-scope='erp5_searchfield']//button[contains(@class, 'search_button')]</td>
<td>//div[contains(@data-gadget-url, 'gadget_erp5_pt_form_list.html')]//div[@data-gadget-scope='erp5_searchfield']//button[contains(@class, 'search_button')]</td>
<td></td>
<td></td>
</tr>
</tr>
<tal:block metal:use-macro="here/Zuite_CommonTemplateForRenderjsUi/macros/wait_for_content_loaded" />
<tr>
<tr>
<td>
assert
ElementPresent</td>
<td>
waitFor
ElementPresent</td>
<td>//div[contains(@data-gadget-url, 'gadget_erp5_field_listbox.html')]//h1//span[contains(@class, "ui-icon-spinner")]</td>
<td>//div[contains(@data-gadget-url, 'gadget_erp5_field_listbox.html')]//h1//span[contains(@class, "ui-icon-spinner")]</td>
<td></td>
<td></td>
</tr>
</tr>
...
@@ -451,12 +450,12 @@
...
@@ -451,12 +450,12 @@
</tr>
</tr>
<tr>
<tr>
<td>waitForElementPresent</td>
<td>waitForElementPresent</td>
<td>//div[contains(@data-gadget-url, 'gadget_erp5_field_listbox.html')]//nav//span[
contains(text(), "ecord")
]</td>
<td>//div[contains(@data-gadget-url, 'gadget_erp5_field_listbox.html')]//nav//span[
@class="ui-disabled"
]</td>
<td></td>
<td></td>
</tr>
</tr>
<tr>
<tr>
<td>assertElementPresent</td>
<td>assertElementPresent</td>
<td>//div[contains(@data-gadget-url, 'gadget_erp5_field_listbox.html')]//nav//span[
contains(text(), "ecord")
]</td>
<td>//div[contains(@data-gadget-url, 'gadget_erp5_field_listbox.html')]//nav//span[
@class="ui-disabled"
]</td>
<td></td>
<td></td>
</tr>
</tr>
<tr>
<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