Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
slapos.core
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
Léo-Paul Géneau
slapos.core
Commits
8476a04b
Commit
8476a04b
authored
Apr 28, 2020
by
Rafael Monnerat
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
slapos_jio_zh_ui_test: Update Test for Chinese translation on Person View
New fields where added
parent
c1aeddbb
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
109 additions
and
3 deletions
+109
-3
master/bt5/slapos_jio_zh_ui_test/PathTemplateItem/portal_tests/slaposjs_zh_zuite/testSlapOSJSAccount.zpt
...em/portal_tests/slaposjs_zh_zuite/testSlapOSJSAccount.zpt
+109
-3
No files found.
master/bt5/slapos_jio_zh_ui_test/PathTemplateItem/portal_tests/slaposjs_zh_zuite/testSlapOSJSAccount.zpt
View file @
8476a04b
...
...
@@ -44,6 +44,38 @@
<td></td>
</tr>
<tr>
<td>
assertElementPresent
</td>
<td>
//label[text()="电话号码"]
</td>
<td></td>
</tr>
<tr>
<td>
assertElementPresent
</td>
<td>
//label[text()="地址"]
</td>
<td></td>
</tr>
<tr>
<td>
assertElementPresent
</td>
<td>
//label[text()="邮编"]
</td>
<td></td>
</tr>
<tr>
<td>
assertElementPresent
</td>
<td>
//label[text()="城市"]
</td>
<td></td>
</tr>
<tr>
<td>
assertElementPresent
</td>
<td>
//label[text()="国家"]
</td>
<td></td>
</tr>
<tr>
<td
colspan=
"3"
><b>
Rename user to DEMO A
</b></td>
</tr>
...
...
@@ -66,13 +98,87 @@
<td>
demoA@nexedi.com
</td>
</tr>
<tal:block
metal:use-macro=
"here/Zuite_SlapOSZHCommonTemplate/macros/save"
/>
<!-- Perform an intermediate save to ensure we can edit partial values -->
<tal:block
metal:use-macro=
"here/Zuite_SlapOSCommonTemplate/macros/save"
/>
<tr>
<td>
type
</td>
<td>
//textarea[@id="default_address_street_address"]
</td>
<td>
My New Address
</td>
</tr>
<tr>
<td>
type
</td>
<td>
//input[@id="default_address_city"]
</td>
<td>
My New City
</td>
</tr>
<tr>
<td>
type
</td>
<td>
//input[@id="default_address_zip_code"]
</td>
<td>
99999
</td>
</tr>
<tr>
<td>
type
</td>
<td>
//input[@id="default_telephone_coordinate_text"]
</td>
<td>
+55 0192182812
</td>
</tr>
<tr>
<td>
select
</td>
<td>
//select[@id="default_address_region"]
</td>
<td>
Brazil
</td>
</tr>
<tal:block
metal:use-macro=
"here/Zuite_SlapOSCommonTemplate/macros/save"
/>
<!-- access somewhere else -->
<tal:block
define=
"menu_item python: 'Sites'; header menu_item"
>
<tal:block
metal:use-macro=
"here/Zuite_SlapOSCommonTemplate/macros/access_menu_item"
/>
</tal:block>
<tal:block
define=
"person_name python: 'DEMO A DEMO B'"
>
<tal:block
metal:use-macro=
"here/Zuite_SlapOS
ZH
CommonTemplate/macros/access_menu_item_account"
/>
<tal:block
metal:use-macro=
"here/Zuite_SlapOSCommonTemplate/macros/access_menu_item_account"
/>
</tal:block>
<tal:block
metal:use-macro=
"here/Zuite_SlapOSZHCommonTemplate/macros/slapos_logout"
/>
<tr>
<td>
waitForElementPresent
</td>
<td>
//input[@id="default_address_city" and @value="My New City"]
</td>
<td></td>
</tr>
<tr>
<td>
verifyValue
</td>
<td>
//textarea[@id="default_address_street_address"]
</td>
<td>
My New Address
</td>
</tr>
<tr>
<td>
assertElementPresent
</td>
<td>
//input[@id="default_address_city" and @value="My New City"]
</td>
<td></td>
</tr>
<tr>
<td>
assertElementPresent
</td>
<td>
//input[@id="default_address_zip_code" and @value="99999"]
</td>
<td></td>
</tr>
<tr>
<td>
assertElementPresent
</td>
<td>
//input[@id="default_telephone_coordinate_text" and @value="+55 0192182812"]
</td>
<td></td>
</tr>
<tr>
<td>
assertElementPresent
</td>
<td>
//select[@id="default_address_region"]/option[text()="Brazil" and @selected="selected"]
</td>
<td></td>
</tr>
<tal:block
metal:use-macro=
"here/Zuite_SlapOSCommonTemplate/macros/slapos_logout"
/>
</tbody></table>
</body>
...
...
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