Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
E
erp5_rtl_support
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
Romain Courteaud
erp5_rtl_support
Commits
072ec753
Commit
072ec753
authored
Jan 15, 2018
by
Ali Hallaji
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add ui test for RTL style
parent
e02f268a
Changes
7
Show whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
217 additions
and
0 deletions
+217
-0
bt5/erp5_rtl_support/PathTemplateItem/portal_tests/erp5_rtl_ui_zuite.xml
...pport/PathTemplateItem/portal_tests/erp5_rtl_ui_zuite.xml
+26
-0
bt5/erp5_rtl_support/PathTemplateItem/portal_tests/erp5_rtl_ui_zuite/testRTL.xml
...thTemplateItem/portal_tests/erp5_rtl_ui_zuite/testRTL.xml
+58
-0
bt5/erp5_rtl_support/PathTemplateItem/portal_tests/erp5_rtl_ui_zuite/testRTL.zpt
...thTemplateItem/portal_tests/erp5_rtl_ui_zuite/testRTL.zpt
+124
-0
bt5/erp5_rtl_support/bt/change_log
bt5/erp5_rtl_support/bt/change_log
+5
-0
bt5/erp5_rtl_support/bt/copyright_list
bt5/erp5_rtl_support/bt/copyright_list
+1
-0
bt5/erp5_rtl_support/bt/license
bt5/erp5_rtl_support/bt/license
+1
-0
bt5/erp5_rtl_support/bt/template_path_list
bt5/erp5_rtl_support/bt/template_path_list
+2
-0
No files found.
bt5/erp5_rtl_support/PathTemplateItem/portal_tests/erp5_rtl_ui_zuite.xml
0 → 100644
View file @
072ec753
<?xml version="1.0"?>
<ZopeData>
<record
id=
"1"
aka=
"AAAAAAAAAAE="
>
<pickle>
<global
name=
"Zuite"
module=
"Products.Zelenium.zuite"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
_objects
</string>
</key>
<value>
<tuple/>
</value>
</item>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
erp5_rtl_ui_zuite
</string>
</value>
</item>
<item>
<key>
<string>
title
</string>
</key>
<value>
<string>
ERP5 RTL UI test
</string>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
bt5/erp5_rtl_support/PathTemplateItem/portal_tests/erp5_rtl_ui_zuite/testRTL.xml
0 → 100644
View file @
072ec753
<?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>
testRTL
</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>
RTL Test
</unicode>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
bt5/erp5_rtl_support/PathTemplateItem/portal_tests/erp5_rtl_ui_zuite/testRTL.zpt
0 → 100644
View file @
072ec753
<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 RTL
</title>
</head>
<body>
<table
cellpadding=
"1"
cellspacing=
"1"
border=
"1"
>
<thead>
<tr><td
rowspan=
"1"
colspan=
"3"
>
RTL Zuite | تست آرایش وبگاه
</td></tr>
</thead><tbody>
<tal:block
metal:use-macro=
"here/Zuite_CommonTemplate/macros/init"
/>
<tr>
<td>
open
</td>
<td>
${base_url}
</td>
<td></td>
</tr>
<tr>
<td>
select
</td>
<td>
name=select_language
</td>
<td>
فارسی
</td>
</tr>
<tr>
<td>
clickAndWait
</td>
<td>
Base_doLanguage:method
</td>
<td></td>
</tr>
<tr>
<td>
assertTextPresent
</td>
<td>
حسابداری
</td>
<td></td>
</tr>
<tr>
<td>
click
</td>
<td>
id=document_creation_tab
</td>
<td></td>
</tr>
<tr>
<td>
open
</td>
<td
tal:content=
"string: ${here/portal_url}/person_module/view"
>
/erp5/person_module/view
</td>
<td></td>
</tr>
<tr>
<td>
assertTextPresent
</td>
<td>
مدرک
</td>
<td></td>
</tr>
<tr>
<td>
selectAndWait
</td>
<td>
select_action
</td>
<td>
شخص را اضافه کنید
</td>
</tr>
<tr>
<td>
verifyPortalStatusMessage
</td>
<td>
Object ایجاد شد.
</td>
<td></td>
</tr>
<tr>
<td>
type
</td>
<td>
field_my_first_name
</td>
<td>
علی (آزمایشی)
</td>
</tr>
<tr>
<td>
type
</td>
<td>
field_my_last_name
</td>
<td>
حلاجی
</td>
</tr>
<tr>
<td>
type
</td>
<td>
field_my_default_email_coordinate_text
</td>
<td>
ali.hallaji1@gmail.com
</td>
</tr>
<tr>
<td>
type
</td>
<td>
field_my_career_subordination_title
</td>
<td>
Nexedi
</td>
</tr>
<tr>
<td>
type
</td>
<td>
field_mobile_telephone_my_mobile_telephone_coordinate_text
</td>
<td>
+98 939 550 8721
</td>
</tr>
<tr>
<td>
clickAndWait
</td>
<td>
Base_edit:method
</td>
<td></td>
</tr>
<tr>
<td>
verifyPortalStatusMessage
</td>
<td>
دیتا به روز شد.
</td>
<td></td>
</tr>
<tr>
<td>
selectAndWait
</td>
<td>
select_action
</td>
<td>
تأئید
</td>
</tr>
<tr>
<td>
type
</td>
<td>
field_your_comment
</td>
<td>
کاربر جدید تایید گردد.
</td>
</tr>
<tr>
<td>
clickAndWait
</td>
<td>
//button[@id='dialog_submit_button']
</td>
<td></td>
</tr>
<tr>
<td>
verifyPortalStatusMessage
</td>
<td>
موقعیت تغییر کرد.
</td>
<td></td>
</tr>
<tr>
<td>
open
</td>
<td
tal:content=
"string: ${here/portal_url}/person_module/view"
>
/erp5/person_module/view
</td>
<td></td>
</tr>
<tr>
<td>
assertTextPresent
</td>
<td>
علی (آزمایشی)
</td>
<td></td>
</tr>
</tbody></table>
</body></html>
\ No newline at end of file
bt5/erp5_rtl_support/bt/change_log
0 → 100644
View file @
072ec753
2018-01-04
* Add RTL support
2018-01-15
* Add UI test for RTL
\ No newline at end of file
bt5/erp5_rtl_support/bt/copyright_list
0 → 100644
View file @
072ec753
Copyright (C) 2018 Nexedi SA
\ No newline at end of file
bt5/erp5_rtl_support/bt/license
0 → 100644
View file @
072ec753
GPL
\ No newline at end of file
bt5/erp5_rtl_support/bt/template_path_list
0 → 100644
View file @
072ec753
portal_tests/erp5_rtl_ui_zuite
portal_tests/erp5_rtl_ui_zuite/**
\ No newline at end of file
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